Comments (6)
bump?
from usaspending-api.
The API /download/status/ endpoint is a GET request. Here is an example call:
https://api.usaspending.gov/api/v2/download/status/?file_name=file_name.zip&type=awards
To get the status for a specific file generation, simply replace "file_name.zip" above with the name of the ZIP file being generated. Currently, "type" will always be "awards". Different "type" vales are planned future functionality.
Thank you for letting us know that this endpoint's documentation does not have a GET example or list all the required query parameters. We have informed our technical team so that they can update the documentation.
from usaspending-api.
Ahh, ok. Thanks!
from usaspending-api.
Umm, actually, this didn't work either. The download status endpoint is still telling me:
from usaspending-api.
This is one of the rare cases where the USAspending API uses a GET request.
The /download/status/ endpoint only accepts GET requests. To receive a valid response, please change the drop down call option from POST to GET.
from usaspending-api.
from usaspending-api.
Related Issues (20)
- v2/search/spending_by_award: time_period.end_date Filter Is Not Being Applied HOT 1
- Why is annual revenue field only in transactions?
- Docker Build Fails when Downloading Postgres
- Principal Investigators on Grant Awards
- [/api/v2/search/spending_by_category/county/] state missing HOT 1
- /api/v2/subawards/ and others do not provide Subawardee Recipient Details HOT 1
- Ability to filter using office names/codes
- Ability to query /api/v2/download/awards/ using BASE action date
- Missing Office Code in /api/v2/search/spending_by_award
- Custom Account Data /api/v2/download/accounts/ generates files with wrong or missing agency data
- recipient_duns, recipient_unique_id field always null in /awards HOT 1
- IMLS sub-agency appears twice
- Agency IDs under https://api.usaspending.gov/api/v2/references/agency/
- API Filters not returning all PRIME Awards and Subawards
- `broker_subaward_id` in Custom Award Data HOT 5
- Error Running Migrations
- endpoints `search/spending_by_award/` and `search/spending_by_transaction/` include DUNS but not UEI
- HTTP schema returns status code 405, message "Method \\"GET\\" not allowed." (for multiple endpoints including `/search/spending_by_award/`)
- Keyword Search Error
- Update the PSC API?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usaspending-api.