/v2/api/spImage/{siteId}/status (GET) - BlueCat DNS Edge

DNS Edge API Guide

Locale
English
Product name
BlueCat DNS Edge

Retrieves the status of image generation.

GET https://api-<DNS.Edge.URL>/v2/api/spImage/{siteId}/status
Authorization: Bearer authorization token
Content-type: application/JSON

Successful response

200 OK
Content-type: application/JSON
{ 
status:< COMPLETE/IN_PROGRESS/FAILED >
revision:< Revision of the site that was generated >
link:< If there is a generated image for the site, the link appears here >
timeOfExpiry:< Long UTC timestamp of when the image expires in milliseconds >,
timeToExpiry:< Time until the link, if it exists, expires, in seconds >
},
Possible error codes
  • 401 UNAUTHORIZED
  • 500 INTERNAL SERVER ERROR