For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

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.

Hi mhh, If this is the correct one can you accept the answer? Thanks

@mhh

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,
AHS

@mhh

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

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
78.8k 250 52 74

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.