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

Add API endpoint for list of agencies #3057

Closed
1 task
mxk0 opened this issue Nov 26, 2024 · 1 comment · Fixed by #3065
Closed
1 task

Add API endpoint for list of agencies #3057

mxk0 opened this issue Nov 26, 2024 · 1 comment · Fixed by #3065
Assignees

Comments

@mxk0
Copy link
Collaborator

mxk0 commented Nov 26, 2024

Summary

To ensure we hit our Quad 1 AC of the search API having feature parity with the search UI, we need an API endpoint that returns the list of agencies in the database.

Acceptance criteria

  • Endpoint is live in PROD and returns available agencies
@mxk0 mxk0 moved this from Icebox to Todo in Simpler.Grants.gov Product Backlog Nov 26, 2024
@mxk0 mxk0 moved this from Todo to In Review in Simpler.Grants.gov Product Backlog Dec 3, 2024
mikehgrantsgov added a commit that referenced this issue Dec 5, 2024
## Summary
Fixes #3057

### Time to review: 30 mins

## Changes proposed
Add agencies API supporting pagination and basic filtering (future
requirements around shape TBD)

## Context for reviewers
Open question: What should the schema return? Right now we are returning
all Agency model fields. Maybe we should make this payload smaller
depending on the frontend needs.

## Additional information
See attached unit test
@mxk0
Copy link
Collaborator Author

mxk0 commented Dec 6, 2024

Nice work @mikehgrantsgov, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

2 participants