get https://api.localizejs.com/v2.0/projects//resources/export/
Download a previously requested export file.
You can create and view your API Private Key here.
This endpoint is useful for larger files that may time out when using the Export content endpoint.
Instructions for using this endpoint:
- Call the Export content endpoint with the
deferred
parameter set totrue
. - Grab the returned
exportId
to use with this endpoint. - Make the call to this endpoint providing the
projectKey
andexportId
on the query string. - If the
status
is set tocompleted
in the response then a signed link will be provided.- Navigate to the signed link to retrieve the file.
- The link will expire in 30 minutes after the file is created.
- Navigate to the signed link to retrieve the file.
- If the
status
showsin-progress
in the response then continue to call the endpoint until it is set tocompleted
. - If the
status
showsfailed
in the response then an error occurred and will be noted.
Try it
To test this endpoint using the Try It feature:
- Copy your Localize API Key into the Header field in the AUTHENTICATION section on the right.
- Fill in all required fields below, and any optional fields as needed.
- Click the Try it button.
- View the results and any error returns on the right side of the screen.
Feel free to copy the sample code provided on the right side of the screen into your source code project to get a start on using this endpoint.
Note that using the Try It feature will affect the data in your Localize dashboard!