Status

From Safe Creative API
Revision as of 09:50, 19 April 2016 by w>Jguillo (Created page with 'This operation returns the status of a certification job. == URL == <nowiki>https://web.safestamper.com/api/status/<JOB_ID></nowiki> ''<JOB_ID>'' is the job identifier returned…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This operation returns the status of a certification job.

URL

https://web.safestamper.com/api/status/<JOB_ID>

<JOB_ID> is the job identifier returned by the stamp operation.

Returns

A JSON object with the following fields:

  • jobId: Job identifier
  • results: Array of JSON objects with the status of each URL included in the certification job
    • url: URL to be certified
    • status: URL status, can be one of the following:
      • INPROGRESS: The URL has not been certificated yet
      • ERROR: The URL could not be certified
      • READY: The URL certificate is ready for download
    • error: Error description (for ERROR status)
    • certificateId: Certificate code (for READY status)
    • certificateUrl: Certificate download URL (for READY status)

HTTP errors

Example