Skip to content

Commit c5464fa

Browse files
authored
Merge pull request #2825 from fedspendingtransparency/qat
Sprint 117 Production Deploy
2 parents 04cf96a + 5573e87 commit c5464fa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1652
-568
lines changed

usaspending_api/api_contracts/contracts/v2/awards/funding.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ Lists federal account financial data for the requested award
4242
+ Members
4343
+ `asc`
4444
+ `desc`
45+
+ Body
46+
47+
{
48+
"award_id":"CONT_AWD_N0001902C3002_9700_-NONE-_-NONE-",
49+
"page":1,
50+
"sort":"reporting_fiscal_date",
51+
"order":"asc",
52+
"limit":15
53+
}
4554

4655
+ Response 200 (application/json)
4756
+ Attributes

usaspending_api/api_contracts/contracts/v2/awards/funding_rollup.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ This endpoint returns the total transaction obligations and count of awarding ag
1010
+ Request (application/json)
1111
+ Attributes (object)
1212
+ `award_id`: `CONT_AWD_DEAC5206NA25396_8900_-NONE-_-NONE-` (required, string)
13+
+ Body
14+
15+
{
16+
"award_id":"CONT_AWD_N0001902C3002_9700_-NONE-_-NONE-",
17+
"page":1,
18+
"sort":"reporting_fiscal_date",
19+
"order":"asc",
20+
"limit":15
21+
}
1322
+ Response 200 (application/json)
1423
+ Attributes
1524
+ `total_transaction_obligated_amount` (required, number)

usaspending_api/api_contracts/contracts/v2/bulk_download/list_agencies.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ requests it returns a list of all user selectable flagged subtier agencies.
1717
+ `account_agencies`
1818
+ `award_agencies`
1919
+ `agency` (optional, number)
20+
+ Body
21+
22+
23+
{
24+
"type": "award_agencies",
25+
"agency": 0
26+
}
2027

2128
+ Response 200 (application/json)
2229
+ Attributes (object)

usaspending_api/api_contracts/contracts/v2/disaster/agency/loans.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,22 @@ Returns loan spending details of Agencies receiving supplemental funding budgeta
2020
+ Attributes
2121
+ `filter` (required, Filter, fixed-type)
2222
+ `pagination` (optional, Pagination, fixed-type)
23+
+ Body
24+
25+
26+
{
27+
"filter": {
28+
"def_codes": ["L", "M", "N", "O", "P"],
29+
"award_type_codes": ["07", "08"]
30+
},
31+
"pagination": {
32+
"limit": 10,
33+
"page": 1,
34+
"sort": "award_count",
35+
"order": "desc"
36+
},
37+
"spending_type": "total"
38+
}
2339

2440
+ Response 200 (application/json)
2541
+ Attributes (object)
@@ -29,6 +45,7 @@ Returns loan spending details of Agencies receiving supplemental funding budgeta
2945

3046
+ Body
3147

48+
3249
{
3350
"totals": {
3451
"award_count": 4574,

usaspending_api/api_contracts/contracts/v2/disaster/agency/spending.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,23 @@ Returns spending details of Agencies receiving supplemental funding budgetary re
2626
+ `award`
2727
+ `pagination` (optional, Pagination, fixed-type)
2828

29+
+ Body
30+
31+
32+
{
33+
"filter": {
34+
"def_codes": ["L", "M", "N", "O", "P"],
35+
"award_type_codes": ["02", "03", "04", "05", "07", "08", "10", "06", "09", "11", "A", "B", "C", "D", "IDV_A", "IDV_B", "IDV_B_A", "IDV_B_B", "IDV_B_C", "IDV_C", "IDV_D", "IDV_E"]
36+
},
37+
"pagination": {
38+
"limit": 10,
39+
"page": 1,
40+
"sort": "award_count",
41+
"order": "desc"
42+
},
43+
"spending_type": "total"
44+
}
45+
2946
+ Response 200 (application/json)
3047
+ Attributes (object)
3148
+ `totals` (required, Totals, fixed-type)
@@ -34,6 +51,7 @@ Returns spending details of Agencies receiving supplemental funding budgetary re
3451

3552
+ Body
3653

54+
3755
{
3856
"totals": {
3957
"award_count": 4574,

usaspending_api/api_contracts/contracts/v2/disaster/award/amount.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,33 @@ This endpoint provides the Account obligation and outlay aggregations of Awards
1919

2020
+ Attributes
2121
+ `filter` (required, Filter, fixed-type)
22+
+ Body
23+
24+
25+
{
26+
"filter": {
27+
"def_codes": ["L", "M", "N", "O", "P"],
28+
"award_type_codes": ["02", "03", "04", "05", "07", "08", "10", "06", "09", "11", "A", "B", "C", "D", "IDV_A", "IDV_B", "IDV_B_A", "IDV_B_B", "IDV_B_C", "IDV_C", "IDV_D", "IDV_E"]
29+
},
30+
"pagination": {
31+
"limit": 10,
32+
"page": 1,
33+
"sort": "award_count",
34+
"order": "desc"
35+
},
36+
"spending_type": "total"
37+
}
2238

2339
+ Response 200 (application/json)
2440
+ Attributes (object)
2541
+ `award_count` (required, number)
2642
+ `face_value_of_loan` (optional, number)
2743
+ `obligation` (required, number)
2844
+ `outlay` (required, number)
29-
45+
3046
+ Body
3147

48+
3249
{
3350
"award_count": 42,
3451
"face_value_of_loan": 984563875,

usaspending_api/api_contracts/contracts/v2/disaster/cfda/loans.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,31 @@ Returns loan spending details of CFDA Programs receiving supplemental funding bu
2020
+ Attributes
2121
+ `filter` (required, Filter, fixed-type)
2222
+ `pagination` (optional, Pagination, fixed-type)
23+
+ Body
24+
25+
26+
{
27+
"filter": {
28+
"def_codes": ["L", "M", "N", "O", "P"],
29+
"award_type_codes": ["07", "08"]
30+
},
31+
"pagination": {
32+
"limit": 10,
33+
"page": 1,
34+
"sort": "award_count",
35+
"order": "desc"
36+
},
37+
"spending_type": "total"
38+
}
2339

2440
+ Response 200 (application/json)
2541
+ Attributes (object)
2642
+ `totals` (required, Totals, fixed-type)
2743
+ `results` (required, array[Result], fixed-type)
2844
+ `page_metadata` (required, PageMetadata, fixed-type)
29-
3045
+ Body
3146

47+
3248
{
3349
"totals": {
3450
"award_count": 4574,

usaspending_api/api_contracts/contracts/v2/disaster/cfda/spending.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,22 @@ Returns spending details of CFDA receiving supplemental funding budgetary resour
2525
+ `total`
2626
+ `award`
2727
+ `pagination` (optional, Pagination, fixed-type)
28+
+ Body
29+
30+
31+
{
32+
"filter": {
33+
"def_codes": ["L", "M", "N", "O", "P"],
34+
"award_type_codes": ["02", "03", "04", "05", "07", "08", "10", "06", "09", "11"]
35+
},
36+
"pagination": {
37+
"limit": 10,
38+
"page": 1,
39+
"sort": "award_count",
40+
"order": "desc"
41+
},
42+
"spending_type": "total"
43+
}
2844

2945
+ Response 200 (application/json)
3046
+ Attributes (object)
@@ -34,6 +50,7 @@ Returns spending details of CFDA receiving supplemental funding budgetary resour
3450

3551
+ Body
3652

53+
3754
{
3855
"totals": {
3956
"award_count": 4574,

usaspending_api/api_contracts/contracts/v2/disaster/federal_account/loans.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,31 @@ Returns loan spending details of Federal Accounts receiving supplemental funding
2020
+ Attributes
2121
+ `filter` (required, Filter, fixed-type)
2222
+ `pagination` (optional, Pagination, fixed-type)
23+
+ Body
24+
25+
26+
{
27+
"filter": {
28+
"def_codes": ["L", "M", "N", "O", "P"],
29+
"award_type_codes": ["07", "08"]
30+
},
31+
"pagination": {
32+
"limit": 10,
33+
"page": 1,
34+
"sort": "award_count",
35+
"order": "desc"
36+
},
37+
"spending_type": "total"
38+
}
2339

2440
+ Response 200 (application/json)
2541
+ Attributes (object)
2642
+ `totals` (required, Totals, fixed-type)
2743
+ `results` (required, array[Result], fixed-type)
2844
+ `page_metadata` (required, PageMetadata, fixed-type)
29-
3045
+ Body
3146

47+
3248
{
3349
"totals": {
3450
"award_count": 4574,

usaspending_api/api_contracts/contracts/v2/disaster/federal_account/spending.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ Returns spending details of Federal Account and TAS receiving supplemental fundi
2525
+ `total`
2626
+ `award`
2727
+ `pagination` (optional, Pagination, fixed-type)
28-
2928
+ Body
3029

30+
3131
{
3232
"filter": {
3333
"def_codes": [
@@ -48,9 +48,9 @@ Returns spending details of Federal Account and TAS receiving supplemental fundi
4848
+ `totals` (required, Totals, fixed-type)
4949
+ `results` (required, array[Result], fixed-type)
5050
+ `page_metadata` (required, PageMetadata, fixed-type)
51-
5251
+ Body
5352

53+
5454
{
5555
"totals": {
5656
"award_count": 4574,

0 commit comments

Comments
 (0)