NAV
HTTP

Introduction

Welcome to the LeadPages Mandrel API documentation.

This API adheres to the LeadPages HTTP API Standards document.

Endpoints

/template/v2

Ping

/template/v2/ping

A no-op endpoint that can be used to check what the currently-deployed version of the API is.

Request

GET /template/v2/ping

Body
Empty

Response

Body
_meta._version String
The current internal version number of the API.
_meta Dictionary
Responses
200 OK
Errors
Empty


Leadbars

/template/v2/leadbars

Request

GET /template/v2/leadbars

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Leadbar]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/leadbars

Body
kind Enum('LeadbarTemplate')
template CreateLeadbarTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Leadbartemplate

/template/v2/leadbars/{uuid}

Request

GET /template/v2/leadbars/{uuid}

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Request

PUT /template/v2/leadbars/{uuid}

Body
kind Enum('LeadbarTemplate')
template CreateLeadbarTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Request

DELETE /template/v2/leadbars/{uuid}

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Previewhtml

/template/v2/leadbars/{uuid}/preview.html

Request

GET /template/v2/leadbars/{uuid}/preview.html

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Editions

/template/v2/leadbars/{uuid}/editions

This endpoint is used to publish the given Leadbar.

Request

GET /template/v2/leadbars/{uuid}/editions

Enumerate all of the given Leadbar's editions. This can be treated as a publication history for the Leadbar.

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Edition]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/leadbars/{uuid}/editions

Publish a new edition of the given Leadbar.

Body
source Dictionary
The source JSON for the edition (i.e. a 'Page JSON' structure).
previewOnly Boolean?
If this is provided and true, then the new Edition will only publish its preview to GCS, leaving its associated content unchanged.

Response

Body
_meta Meta
Meta information about the resource.
template String
The UUID of the template resource to which the edition belongs.
status Enum('pending', 'failure', 'success')
The status of the edition's publication. This is not an indication of whether or not the edition is currently published, but the status of its initial publication.
previewUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
screenshotUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
tags List[String]
children List?[String]
routes List?[SiteRoute]
editor Email?
Responses
200 OK
Errors
Empty


Request

DELETE /template/v2/leadbars/{uuid}/editions

Delete all of the specified Leadbar's editions. This method exists purely for convenience during development and will be removed before general release.

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Sourcejson

/template/v2/leadbars/{uuid}/source.json

Request

GET /template/v2/leadbars/{uuid}/source.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Draftjson

/template/v2/leadbars/{uuid}/draft.json

Request

GET /template/v2/leadbars/{uuid}/draft.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Templatejson

/template/v2/leadbars/{uuid}/template.json

Request

GET /template/v2/leadbars/{uuid}/template.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Request

PUT /template/v2/leadbars/{uuid}/template.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Screenshot

/template/v2/leadbars/{uuid}/screenshot.png

Request

PATCH /template/v2/leadbars/{uuid}/screenshot.png

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Leadboxes

/template/v2/leadboxes

Request

GET /template/v2/leadboxes

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Leadbox]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/leadboxes

Body
kind Enum('LeadboxTemplate')
template CreateLeadboxTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Leadboxtemplate

/template/v2/leadboxes/{uuid}

Request

GET /template/v2/leadboxes/{uuid}

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Request

PUT /template/v2/leadboxes/{uuid}

Body
kind Enum('LeadboxTemplate')
template CreateLeadboxTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Request

DELETE /template/v2/leadboxes/{uuid}

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Previewhtml

/template/v2/leadboxes/{uuid}/preview.html

Request

GET /template/v2/leadboxes/{uuid}/preview.html

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Editions

/template/v2/leadboxes/{uuid}/editions

This endpoint is used to publish the given Leadbox.

Request

GET /template/v2/leadboxes/{uuid}/editions

Enumerate all of the given Leadbox's editions. This can be treated as a publication history for the Leadbox.

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Edition]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/leadboxes/{uuid}/editions

Publish a new edition of the given Leadbox.

Body
source Dictionary
The source JSON for the edition (i.e. a 'Page JSON' structure).
previewOnly Boolean?
If this is provided and true, then the new Edition will only publish its preview to GCS, leaving its associated content unchanged.

Response

Body
_meta Meta
Meta information about the resource.
template String
The UUID of the template resource to which the edition belongs.
status Enum('pending', 'failure', 'success')
The status of the edition's publication. This is not an indication of whether or not the edition is currently published, but the status of its initial publication.
previewUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
screenshotUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
tags List[String]
children List?[String]
routes List?[SiteRoute]
editor Email?
Responses
200 OK
Errors
Empty


Request

DELETE /template/v2/leadboxes/{uuid}/editions

Delete all of the specified Leadbox's editions. This method exists purely for convenience during development and will be removed before general release.

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Sourcejson

/template/v2/leadboxes/{uuid}/source.json

Request

GET /template/v2/leadboxes/{uuid}/source.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Draftjson

/template/v2/leadboxes/{uuid}/draft.json

Request

GET /template/v2/leadboxes/{uuid}/draft.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Templatejson

/template/v2/leadboxes/{uuid}/template.json

Request

GET /template/v2/leadboxes/{uuid}/template.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Request

PUT /template/v2/leadboxes/{uuid}/template.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Screenshot

/template/v2/leadboxes/{uuid}/screenshot.png

Request

PATCH /template/v2/leadboxes/{uuid}/screenshot.png

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Leadpages

/template/v2/leadpages

Request

GET /template/v2/leadpages

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Leadpage]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/leadpages

Body
kind Enum('LeadpageTemplate')
template CreateLeadpageTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Leadpagetemplate

/template/v2/leadpages/{uuid}

Request

GET /template/v2/leadpages/{uuid}

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Request

PATCH /template/v2/leadpages/{uuid}

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Request

PUT /template/v2/leadpages/{uuid}

Body
kind Enum('LeadpageTemplate')
template CreateLeadpageTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Request

DELETE /template/v2/leadpages/{uuid}

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Editions

/template/v2/leadpages/{uuid}/editions

This endpoint is used to publish the given Leadpage.

Request

GET /template/v2/leadpages/{uuid}/editions

Enumerate all of the given Leadpage's editions. This can be treated as a publication history for the Leadpage.

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Edition]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/leadpages/{uuid}/editions

Publish a new edition of the given Leadpage.

Body
source Dictionary
The source JSON for the edition (i.e. a 'Page JSON' structure).
previewOnly Boolean?
If this is provided and true, then the new Edition will only publish its preview to GCS, leaving its associated content unchanged.
children List?[String]

Response

Body
_meta Meta
Meta information about the resource.
template String
The UUID of the template resource to which the edition belongs.
status Enum('pending', 'failure', 'success')
The status of the edition's publication. This is not an indication of whether or not the edition is currently published, but the status of its initial publication.
previewUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
screenshotUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
tags List[String]
children List?[String]
routes List?[SiteRoute]
editor Email?
Responses
200 OK
Errors
Empty


Request

DELETE /template/v2/leadpages/{uuid}/editions

Delete all of the specified Leadpage's editions. This method exists purely for convenience during development and will be removed before general release.

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Children

/template/v2/leadpages/{uuid}/children

Request

GET /template/v2/leadpages/{uuid}/children

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Template]
Responses
200 OK
Errors
Empty


Leadbars

/template/v2/leadpages/{uuid}/leadbars

Request

GET /template/v2/leadpages/{uuid}/leadbars

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Leadbar]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/leadpages/{uuid}/leadbars

Body
kind Enum('LeadbarTemplate')
template CreateLeadbarTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Leadboxes

/template/v2/leadpages/{uuid}/leadboxes

Request

GET /template/v2/leadpages/{uuid}/leadboxes

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Leadbox]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/leadpages/{uuid}/leadboxes

Body
kind Enum('LeadboxTemplate')
template CreateLeadboxTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Previewhtml

/template/v2/leadpages/{uuid}/preview.html

Request

GET /template/v2/leadpages/{uuid}/preview.html

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Sourcejson

/template/v2/leadpages/{uuid}/source.json

Request

GET /template/v2/leadpages/{uuid}/source.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Templatejson

/template/v2/leadpages/{uuid}/template.json

Request

GET /template/v2/leadpages/{uuid}/template.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Request

PUT /template/v2/leadpages/{uuid}/template.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Draftjson

/template/v2/leadpages/{uuid}/draft.json

Request

GET /template/v2/leadpages/{uuid}/draft.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Screenshot

/template/v2/leadpages/{uuid}/screenshot.png

Request

PATCH /template/v2/leadpages/{uuid}/screenshot.png

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Sites

/template/v2/sites

Request

GET /template/v2/sites

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Site]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/sites

Body
kind Enum('SiteTemplate')
template CreateSiteTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Sitetemplate

/template/v2/sites/{uuid}

Request

GET /template/v2/sites/{uuid}

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Request

PUT /template/v2/sites/{uuid}

Body
kind Enum('SiteTemplate')
template CreateSiteTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Request

DELETE /template/v2/sites/{uuid}

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Editions

/template/v2/sites/{uuid}/editions

This endpoint is used to publish the given Site.

Request

GET /template/v2/sites/{uuid}/editions

Enumerate all of the given Site's editions. This can be treated as a publication history for the Site.

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Edition]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/sites/{uuid}/editions

Publish a new edition of the given Site.

Body
source Dictionary
The source JSON for the edition (i.e. a 'Page JSON' structure).
previewOnly Boolean?
If this is provided and true, then the new Edition will only publish its preview to GCS, leaving its associated content unchanged.
children List?[String]
routes List[SiteRoute]

Response

Body
_meta Meta
Meta information about the resource.
template String
The UUID of the template resource to which the edition belongs.
status Enum('pending', 'failure', 'success')
The status of the edition's publication. This is not an indication of whether or not the edition is currently published, but the status of its initial publication.
previewUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
screenshotUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
tags List[String]
children List?[String]
routes List?[SiteRoute]
editor Email?
Responses
200 OK
Errors
Empty


Request

DELETE /template/v2/sites/{uuid}/editions

Delete all of the specified Site's editions. This method exists purely for convenience during development and will be removed before general release.

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Children

/template/v2/sites/{uuid}/children

Request

GET /template/v2/sites/{uuid}/children

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Template]
Responses
200 OK
Errors
Empty


Leadbars

/template/v2/sites/{uuid}/leadbars

Request

GET /template/v2/sites/{uuid}/leadbars

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Leadbar]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/sites/{uuid}/leadbars

Body
kind Enum('LeadbarTemplate')
template CreateLeadbarTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Leadboxes

/template/v2/sites/{uuid}/leadboxes

Request

GET /template/v2/sites/{uuid}/leadboxes

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Leadbox]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/sites/{uuid}/leadboxes

Body
kind Enum('LeadboxTemplate')
template CreateLeadboxTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Previewhtml

/template/v2/sites/{uuid}/preview.html

Request

GET /template/v2/sites/{uuid}/preview.html

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Sourcejson

/template/v2/sites/{uuid}/source.json

Request

GET /template/v2/sites/{uuid}/source.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Templatejson

/template/v2/sites/{uuid}/template.json

Request

GET /template/v2/sites/{uuid}/template.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Request

PUT /template/v2/sites/{uuid}/template.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Draftjson

/template/v2/sites/{uuid}/draft.json

Request

GET /template/v2/sites/{uuid}/draft.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Screenshot

/template/v2/sites/{uuid}/screenshot.png

Request

PATCH /template/v2/sites/{uuid}/screenshot.png

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Sections

/template/v2/sections

Request

GET /template/v2/sections

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Section]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/sections

Body
kind Enum('SectionTemplate')
template CreateSectionTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Sectiontemplate

/template/v2/sections/{uuid}

Request

GET /template/v2/sections/{uuid}

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Request

PATCH /template/v2/sections/{uuid}

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Request

PUT /template/v2/sections/{uuid}

Body
kind Enum('SectionTemplate')
template CreateSectionTemplate

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Request

DELETE /template/v2/sections/{uuid}

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Editions

/template/v2/sections/{uuid}/editions

This endpoint is used to publish the given Section.

Request

GET /template/v2/sections/{uuid}/editions

Enumerate all of the given Section's editions. This can be treated as a publication history for the Section.

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Edition]
Responses
200 OK
Errors
Empty


Request

POST /template/v2/sections/{uuid}/editions

Publish a new edition of the given Section.

Body
source Dictionary
The source JSON for the edition (i.e. a 'Page JSON' structure).
previewOnly Boolean?
If this is provided and true, then the new Edition will only publish its preview to GCS, leaving its associated content unchanged.

Response

Body
_meta Meta
Meta information about the resource.
template String
The UUID of the template resource to which the edition belongs.
status Enum('pending', 'failure', 'success')
The status of the edition's publication. This is not an indication of whether or not the edition is currently published, but the status of its initial publication.
previewUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
screenshotUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
tags List[String]
children List?[String]
routes List?[SiteRoute]
editor Email?
Responses
200 OK
Errors
Empty


Request

DELETE /template/v2/sections/{uuid}/editions

Delete all of the specified Section's editions. This method exists purely for convenience during development and will be removed before general release.

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Previewhtml

/template/v2/sections/{uuid}/preview.html

Request

GET /template/v2/sections/{uuid}/preview.html

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Sourcejson

/template/v2/sections/{uuid}/source.json

Request

GET /template/v2/sections/{uuid}/source.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Templatejson

/template/v2/sections/{uuid}/template.json

Request

GET /template/v2/sections/{uuid}/template.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Request

PUT /template/v2/sections/{uuid}/template.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Draftjson

/template/v2/sections/{uuid}/draft.json

Request

GET /template/v2/sections/{uuid}/draft.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Screenshot

/template/v2/sections/{uuid}/screenshot.png

Request

PATCH /template/v2/sections/{uuid}/screenshot.png

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Templates

/template/v2/templates

Request

GET /template/v2/templates

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Template]
Responses
200 OK
Errors
Empty


Request

PATCH /template/v2/templates

Rebuild the index for the template listing from scratch. This needs to be done if we ever add a new property to the list of indexed fields. Requires Super Admin credentials, and returns all indexed templates.

Body
Empty

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Template]
Responses
200 OK
Errors
Empty


Template

/template/v2/templates/{uuid}

Request

GET /template/v2/templates/{uuid}

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]
Responses
200 OK
Errors
Empty


Previewhtml

/template/v2/templates/{uuid}/preview.html

Request

GET /template/v2/templates/{uuid}/preview.html

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Sourcejson

/template/v2/templates/{uuid}/source.json

Request

GET /template/v2/templates/{uuid}/source.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Templatejson

/template/v2/templates/{uuid}/template.json

Request

GET /template/v2/templates/{uuid}/template.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Draftjson

/template/v2/templates/{uuid}/draft.json

Request

GET /template/v2/templates/{uuid}/draft.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Editions

/template/v2/templates/{uuid}/editions

This endpoint is used to publish the given Template.

Request

GET /template/v2/templates/{uuid}/editions

Enumerate all of the given Template's editions. This can be treated as a publication history for the Template.

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Edition]
Responses
200 OK
Errors
Empty


Children

/template/v2/templates/{uuid}/children

Request

GET /template/v2/templates/{uuid}/children

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Template]
Responses
200 OK
Errors
Empty


Leadbars

/template/v2/templates/{uuid}/leadbars

Request

GET /template/v2/templates/{uuid}/leadbars

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Leadbar]
Responses
200 OK
Errors
Empty


Leadboxes

/template/v2/templates/{uuid}/leadboxes

Request

GET /template/v2/templates/{uuid}/leadboxes

Enumerate all templates

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Leadbox]
Responses
200 OK
Errors
Empty


Taxonomy

/template/v2/taxonomy

Fetch all categories/tags with labels

Request

GET /template/v2/taxonomy

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"
id Or?[Regexp, List]
name String?
kind Or?[String, List]
legacy_id Or?[Regexp, List]
deleted Or?[DateTime, Number]
release_date Or?[DateTime, Number]
conversion_rate Number?
categories Or?[String, List]
tags Or?[String, List]
order_by Or?[String, List]
schema_version Integer?
allowed_groups String?

Response

Body
taxons List[Taxon]
The list of available taxons with the given filters.
Responses
200 OK
Errors
Empty


Editions

/template/v2/editions

Editions provide the publishing model for Foundry API. An edition represents the publication of a given piece of Content. To publish something, you just create a new edition of it. Editions also provide a simple mechanism for un-publishing things, or reverting to previously published editions.

The top level editions endpoints are considered view-only.

Request

GET /template/v2/editions

Enumerate all editions. This is probably not all that interesting for most clients, since having a list of all editions generally doesn't provide enough context to do anything useful.

Body
Empty
Query string
limit Regexp?(\d+)
The maximum number of items to return in the response.
cursor String?
A string representing where a previous request "left off"

Response

Body
_meta ListingMeta
Meta information about the response.
_items List[Edition]
Responses
200 OK
Errors
Empty


Request

DELETE /template/v2/editions

This method exists purely for convenience during development and will be removed before general release.

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Edition

/template/v2/editions/{uuid}

This endpoint is used to get a single specific edition by ID. You'll probably use this mainly to poll an edition's status while publishing.

Request

GET /template/v2/editions/{uuid}

Body
Empty

Response

Body
_meta Meta
Meta information about the resource.
template String
The UUID of the template resource to which the edition belongs.
status Enum('pending', 'failure', 'success')
The status of the edition's publication. This is not an indication of whether or not the edition is currently published, but the status of its initial publication.
previewUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
screenshotUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
tags List[String]
children List?[String]
routes List?[SiteRoute]
editor Email?
Responses
200 OK
Errors
Empty


Request

DELETE /template/v2/editions/{uuid}

This method will most likely be removed prior to general release.

Body
Empty

Response

Body
Empty
Responses
204 No Content
Errors
Empty


Sourcejson

/template/v2/editions/{uuid}/source.json

Request

GET /template/v2/editions/{uuid}/source.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
404 Not Found source for edition '{}' not found


Templatejson

/template/v2/editions/{uuid}/template.json

Request

GET /template/v2/editions/{uuid}/template.json

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
Empty


Screenshot

/template/v2/editions/{uuid}/screenshot.png

Request

GET /template/v2/editions/{uuid}/screenshot.png

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
404 Not Found screenshot for edition '{}' not found


Previewhtml

/template/v2/editions/{uuid}/preview.html

Request

GET /template/v2/editions/{uuid}/preview.html

Body
Empty

Response

Body
Empty
Responses
200 OK
Errors
404 Not Found preview for edition '{}' not found


Definitions

ListingMeta

ListingMeta
limit Integer
The requested limit on the number of items.
total Integer?
The number of items in the database.
count Integer
The total number of items in the response.
cursor String?
This is used in conjunction with limit to paginate through lists of items.

Edition

Edition
_meta Meta
Meta information about the resource.
template String
The UUID of the template resource to which the edition belongs.
status Enum('pending', 'failure', 'success')
The status of the edition's publication. This is not an indication of whether or not the edition is currently published, but the status of its initial publication.
previewUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
screenshotUrl URI?
The public URL to which the preview was published. Only available for Editions created with previewOnly set to true.
tags List[String]
children List?[String]
routes List?[SiteRoute]
editor Email?

Meta

Meta
id String
The resource's unique identifier.
uri String
The resource's absolute URI.
created DateTime
When the resource was created.
updated DateTime
When the resource was last updated.

SiteRoute

SiteRoute
slug String
A URL-safe string used as the public path for the route.
id String
The ID for the route.

LeadbarTemplate

LeadbarTemplate
name String
conversionRate Number?
uses Number?
tags List?[String]
categories List?[String]
releaseDate DateTime?
sortKey Integer?(0 < n < 999999)
enabled Boolean
Whether or not the template is visible to normal users.
bundles List?[Regexp]
currentEdition String?
previewUrl URI?
thumbnailUrl URI?
thumbnailUrlWebp URI?
fullPageScreenshotUrlWebp URI?
thumbnailAspect Number?
parent String?

LeadboxTemplate

LeadboxTemplate
name String
conversionRate Number?
uses Number?
tags List?[String]
categories List?[String]
releaseDate DateTime?
sortKey Integer?(0 < n < 999999)
enabled Boolean
Whether or not the template is visible to normal users.
bundles List?[Regexp]
currentEdition String?
previewUrl URI?
thumbnailUrl URI?
thumbnailUrlWebp URI?
fullPageScreenshotUrlWebp URI?
thumbnailAspect Number?
parent String?

LeadpageTemplate

LeadpageTemplate
name String
conversionRate Number?
uses Number?
tags List?[String]
categories List?[String]
releaseDate DateTime?
sortKey Integer?(0 < n < 999999)
enabled Boolean
Whether or not the template is visible to normal users.
bundles List?[Regexp]
currentEdition String?
previewUrl URI?
thumbnailUrl URI?
thumbnailUrlWebp URI?
fullPageScreenshotUrlWebp URI?
thumbnailAspect Number?
legacyId String?

SectionTemplate

SectionTemplate
name String
conversionRate Number?
uses Number?
tags List?[String]
categories List?[String]
releaseDate DateTime?
sortKey Integer?(0 < n < 999999)
enabled Boolean
Whether or not the template is visible to normal users.
bundles List?[Regexp]
currentEdition String?
previewUrl URI?
thumbnailUrl URI?
thumbnailUrlWebp URI?
fullPageScreenshotUrlWebp URI?
thumbnailAspect Number?

SiteTemplate

SiteTemplate
name String
conversionRate Number?
uses Number?
tags List?[String]
categories List?[String]
releaseDate DateTime?
sortKey Integer?(0 < n < 999999)
enabled Boolean
Whether or not the template is visible to normal users.
bundles List?[Regexp]
currentEdition String?
previewUrl URI?
thumbnailUrl URI?
thumbnailUrlWebp URI?
fullPageScreenshotUrlWebp URI?
thumbnailAspect Number?

CreateLeadbarTemplate

CreateLeadbarTemplate
name String
conversionRate Number?
uses Number?
tags List?[String]
categories List?[String]
releaseDate DateTime?
sortKey Integer?(0 < n < 999999)
enabled Boolean
Whether or not the template is visible to normal users.
bundles List?[Regexp]
currentEdition String?
sourceId String?
sourceEdition String?
parent String?

Leadbar

Leadbar
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate')
template LeadbarTemplate

CreateLeadboxTemplate

CreateLeadboxTemplate
name String
conversionRate Number?
uses Number?
tags List?[String]
categories List?[String]
releaseDate DateTime?
sortKey Integer?(0 < n < 999999)
enabled Boolean
Whether or not the template is visible to normal users.
bundles List?[Regexp]
currentEdition String?
sourceId String?
sourceEdition String?
parent String?

Leadbox

Leadbox
_meta Meta
Meta information about the resource.
kind Enum('LeadboxTemplate')
template LeadboxTemplate

Template

Template
_meta Meta
Meta information about the resource.
kind Enum('LeadbarTemplate', 'LeadboxTemplate', 'LeadpageTemplate', 'SectionTemplate', 'SiteTemplate')
template Or[LeadbarTemplate, LeadboxTemplate, LeadpageTemplate, SectionTemplate, SiteTemplate]

CreateLeadpageTemplate

CreateLeadpageTemplate
name String
conversionRate Number?
uses Number?
tags List?[String]
categories List?[String]
releaseDate DateTime?
sortKey Integer?(0 < n < 999999)
enabled Boolean
Whether or not the template is visible to normal users.
bundles List?[Regexp]
currentEdition String?
sourceId String?
sourceEdition String?
legacyId String?

Leadpage

Leadpage
_meta Meta
Meta information about the resource.
kind Enum('LeadpageTemplate')
template LeadpageTemplate

CreateSiteTemplate

CreateSiteTemplate
name String
conversionRate Number?
uses Number?
tags List?[String]
categories List?[String]
releaseDate DateTime?
sortKey Integer?(0 < n < 999999)
enabled Boolean
Whether or not the template is visible to normal users.
bundles List?[Regexp]
currentEdition String?
sourceId String?
sourceEdition String?

Site

Site
_meta Meta
Meta information about the resource.
kind Enum('SiteTemplate')
template SiteTemplate

CreateSectionTemplate

CreateSectionTemplate
name String
conversionRate Number?
uses Number?
tags List?[String]
categories List?[String]
releaseDate DateTime?
sortKey Integer?(0 < n < 999999)
enabled Boolean
Whether or not the template is visible to normal users.
bundles List?[Regexp]
currentEdition String?
sourceId String?
sourceEdition String?

Section

Section
_meta Meta
Meta information about the resource.
kind Enum('SectionTemplate')
template SectionTemplate

Taxon

Taxon
label String
A human-friendly label for the taxon, suitable for showing to end users.
value String
The underlying value for the taxon, which should be used when constructing filters.
collection Enum('categories', 'tags', 'id')
The underlying property for the taxon, on which one would filter for the relevant value.
section Enum('Content', 'Industries', 'Collections', 'Layouts', 'Page Elements', 'Page Types', 'Section Types', 'Templates')
If segregating taxons into logical groups, the human-friendly title for the section to which the taxon belongs
count Integer?
The number of templates matching all applied filters and and this taxon.