-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2088 from fedspendingtransparency/staging
Sprint 92 Production Deploy
- Loading branch information
Showing
64 changed files
with
2,875 additions
and
1,687 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
usaspending_api/api_contracts/contracts/v2/award_spending/recipient.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
FORMAT: 1A | ||
HOST: https://api.usaspending.gov | ||
|
||
# Recipient List [/api/v2/award_spending/recipient/{?awarding_agency_id,fiscal_year,limit,page}] | ||
|
||
This endpoint lists all all award spending for a given fiscal year and agency id | ||
|
||
## GET | ||
|
||
This endpoint returns a list of recipients and their amounts. | ||
|
||
+ Parameters | ||
+ `awarding_agency_id`: 183 (required, number) | ||
Internal award id of the recipient you are looking for | ||
+ `fiscal_year`: 2017 (required, number) | ||
Fiscal Year | ||
+ `limit`: 10 (optional, number) | ||
The maximum number of results to return in the response. | ||
+ `page`: 1 (optional, number) | ||
The response page to return (the record offset is (`page` - 1) * `limit`). | ||
|
||
+ Response 200 (application/json) | ||
+ Attributes | ||
+ `page_metadata` (PageMetadataObject) | ||
+ `results` (array[RecipientListing], fixed-type) | ||
|
||
# Data Structures | ||
|
||
## PageMetadataObject (object) | ||
+ `count`: 100 (required, number) | ||
+ `page`: 1 (required, number) | ||
+ `has_next_page`: true (required, boolean) | ||
+ `has_previous_page`: false (required, boolean) | ||
+ `next` (required, string, nullable) | ||
+ `current` (required, string, nullable) | ||
+ `previous` (required, string, nullable) | ||
|
||
## RecipientListing (object) | ||
+ `award_category`: `contracts` (required, string, nullable) | ||
+ `obligated_amount`: 1000000.01 (required, string) | ||
+ `recipient` (RecipientObject) | ||
|
||
## RecipientObject (object) | ||
+ `recipient_id`: 346 (required, number) | ||
+ `recipient_name`: `Company Inc.` (required, string) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
usaspending_api/api_docs/api_documentation/award_spending/recipient.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.