question

Upvotes
Accepted
1 1 0 3

DSS REST: When does a response with status code 202 an a location expire?

Through DSS RERSTful API when posting an extraction request it may be replied with statuscode 202, status: InProgress, and a location of where to fetch the data. When does this location expire? In addition, when it does, what response will I receive when sending a get request to the expired location?

dss-rest-apidatascope-selectdssstatusexpiration
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
Accepted
465 3 5 3
  1. Scheduled Extractions are automatically cleaned up after 45 days or sooner if the number of extracted files exceeds 1000. This includes scheduled extractions initiated using ExtractNow. It is also possible to manually clean up these results by deleting the Extracted Files.
  2. On Demand Extractions (which I assuming you are referring to) will be cleaned up / removed after 7 days.
  3. A GET request to the monitor url when the results have been cleaned up will return a 404 (Not Found) or 410 (Gone).
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

In the 202 there is a URL. If you do a GET on that URL, and receive the data, subsequent requests to that same URL will also return a 404.

Upvotes
86.2k 292 53 79

For the first question, it states in DataScope Select User Guide that "All extractions older than 45 calendar days are automatically deleted from the DataScope Select database."

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.