Skip to content

Restore a Blueprint
Deprecated

Request

Returns the Blueprint instance restored to the requested Blueprint Revision.

⚠️ Deprecation Notice: This endpoint will soon be deprecated. Use Blueprints API instead.

Security
esper_cloud_api_apiKey
Path
enterprise_idstring, (uuid)required

Enterprise ID

group_idstring, (uuid)required

Device Group ID

Bodyapplication/jsonrequired
revision_idstring, (uuid)
cURL
curl -i -X POST \
  'https://api.esper.io/_mock/openapi/enterprise/{enterprise_id}/devicegroup/{group_id}/blueprint/restore/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "revision_id": "f8f7f022-982b-4bef-ba7d-4bb808fdbe2a"
  }'

Responses

Restored

Bodyapplication/json
idstring, (uuid)read-only
namestring
descriptionstring
lockedboolean
groupstring, (uuid)
latest_revisionobject(Blueprint)
created_onstring, (date-time)read-only
updated_onstring, (date-time)read-only
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "locked": true, "group": "fbd899a6-8a66-4f51-a95d-68668de198ae", "latest_revision": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": "string", "created_by": "string", "current": true, "type": "Independent", "comments": "string", "locked": true, "connectivity": { … }, "sound": { … }, "display_branding": { … }, "hardware_settings": { … }, "date_time": { … }, "settings_app": { … }, "system_updates": { … }, "google_services": { … }, "security": { … }, "application": { … }, "content": { … }, "created_on": "2019-08-24T14:15:22Z" }, "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z" }