Skip to content

Get publication details

GET
/cms/publication/{publication_id}
publication_id
required
integer

Publication

Publication

API representation of a publication

object
id

Publication ID

integer format: int64
layoutTemplate
One of:
PageTemplateMatch

The page builder template to render a category, publication, article, author or keyword with (the layoutTemplate field of their views). Fetch the layout with GET /cms/layout/key/{key}, or GET /cms/layout/{id} when key is null.

object
id

Layout ID of the template

integer format: int64
Example
31
key

Stable key of the template; null when not set

string
nullable
Example
opinion-article
name

Template name

string
Example
Opinion article
matchedBy

Why this template applies, most specific first: the content type (article templates only), the category itself, a parent category, or the publication; for author and keyword templates, the author or keyword itself

string
Allowed values: article_type category parent_category publication author keyword
Example
category
targetType

What the template is used for

string
Allowed values: article_type category publication author keyword
Example
category
targetId

ID of the content type, category, publication, author or keyword

integer format: int64
Example
14
name

Name

string
slug

Slug

string
shortened_domain

Shortened domain

string
stylesheetClass

Stylesheet class

string
locale

Locale

string
domain

Domain

string
articleUrlPrefix

Article URL prefix

string