Templates

Pin a version (null unpins)

post/v1/templates/{id}/pin

Request

  • Base URL: https://api.castpdf.com
  • URL: https://api.castpdf.com/v1/templates/{id}/pin
  • Auth: HTTP bearer

Path parameters

idstring uuid required

The id (UUID).

Request body

versioninteger nullable required

Response

OK

idstring uuid
namestring
current_versioninteger
pinned_versioninteger nullable
updated_atstring date-time
thumbnail_urlstring uri

Signed PNG of the current version first page (480 px wide, rendered with its sample data); made on first request, the url changes with each version.

versioninteger
htmlstring
cssstring nullable
sample_dataobject nullable
settingsobject

Changes

No recorded changes to this operation across all 1 revision of this API.