fedspendingtransparency / usaspending-api

Server application to serve U.S. federal spending data via a RESTful API
https://www.usaspending.gov
Creative Commons Zero v1.0 Universal
310 stars 113 forks source link

[DEV-11209] create spending-by-category/defc endpoint #4174

Closed ronaldongbah closed 2 months ago

ronaldongbah commented 3 months ago

Description:

A new endpoint added called spending_by_category/defc in order to support the Top 5 section in the State Profile Page as well as the Advanced Search Spending by Category section.

Technical details: The technical details for the knowledge of other developers. Any detailed caveats or specific deployment steps should be outlined here.

Requirements for PR merge:

  1. [x] Unit & integration tests updated
  2. [x] API documentation updated
  3. [x] Necessary PR reviewers:
    • [x] Backend
  4. [x] Jira Ticket DEV-11209:
    • [x] Link to this Pull-Request

Area for explaining above N/A when needed:

4. Matview impact assessment completed.
No matviews were affected by this change.

5. Frontend impact assessment completed
The frontend is not affected by this change.

6. Data validation completed
No data validation is needed by this change.

8. Appropriate Operations ticket(s) created
No operation tickets needed for these changes.