Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update /links API endpoints to account for different types of links #105

Open
egiurleo opened this issue Jan 18, 2021 · 0 comments
Open
Assignees

Comments

@egiurleo
Copy link

I believe that this endpoint should be updated to take a type parameter. Depending on the type (resource_link, honorable_mention, or innovative_policy_idea), a different type of Link is created.

We may also want to update the PUT /links/_id endpoint to not allow changing the type of Link (not sure if that's even possible in the first place).

Otherwise, I believe that the links endpoints can be left alone. We may want to introduce type-specific APIs but I think that can be a separate ticket.

@egiurleo egiurleo changed the title Update POST /links API endpoint to account for different types of links Update /links API endpoints to account for different types of links Jan 18, 2021
@DanielKim1 DanielKim1 self-assigned this Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants