Order the steps
Order the lifecycle of an export request.
- Client POSTs /exports with an Idempotency-Key
- Worker picks the job and updates status to running
- Worker writes the file and sets status succeeded with a result link
- Client polling /exports/{id} sees succeeded and downloads
- Server stores a pending operation, enqueues a job, returns 202 + Location
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A E B C D
- Client POSTs /exports with an Idempotency-Key Retries can't start two exports.
- Server stores a pending operation, enqueues a job, returns 202 + Location Request ends in milliseconds.
- Worker picks the job and updates status to running Progress is visible on the operation.
- Worker writes the file and sets status succeeded with a result link The link can be a short-lived presigned URL.
- Client polling /exports/{id} sees succeeded and downloads Polling used Retry-After as its interval.