Skip to content
BolderBolder Developers
Esc
↑↓navigate↵open⌘Jpreview

Get a template version

One version, with its body.

GET/themes/{theme_id}/templates/{template_id}/versions/{id}
Authorization
AuthorizationBearer token (JWT) · headerrequired
Path parameters
theme_idstringrequired
template_idstringrequired
idstringrequired
Responses
200

The version

_linksHalLinks
idstring
saved_onstring<date-time>
labelstring | null
lines_addedinteger
lines_removedinteger
content_hashstring

SHA-256 of the body

bodystring

Only in GET .../versions/{id}

404

Version not found for that template

Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.onbolder.com/v2/themes/string/templates/string/versions/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "_links": {
    "property1": {
      "href": "string",
      "templated": true,
      "method": "get",
      "title": "string",
      "type": "string"
    },
    "property2": {
      "href": "string",
      "templated": true,
      "method": "get",
      "title": "string",
      "type": "string"
    }
  },
  "id": "string",
  "saved_on": "2019-08-24T14:15:22Z",
  "label": "before restore to 2026-11-24T10:00:00Z",
  "lines_added": 0,
  "lines_removed": 0,
  "content_hash": "string",
  "body": "string"
}

Was this page helpful?