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 POST endpoints with location info to accept only location id #563

Open
maxachis opened this issue Dec 14, 2024 · 0 comments
Open
Labels
api back-end documentation Improvements or additions to documentation tests Adds or updates tests

Comments

@maxachis
Copy link
Contributor

Context

Several POST endpoints take location information to immediately associate the resource with a given location.
However, per the developments in #559, we probably want to switch these to taking just the location ids, rather than the full string matches.

These include:

  • /agencies POST
  • /data-requests POST

Requirements

  • Update the following endpoints, as well as their documentation and related tests, to accept only location ids, rather than all the information.

Tests

  • Tests will need updated

Docs

  • Documentation will need updated

Open questions

@maxachis maxachis added documentation Improvements or additions to documentation tests Adds or updates tests api back-end labels Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api back-end documentation Improvements or additions to documentation tests Adds or updates tests
Projects
None yet
Development

No branches or pull requests

1 participant