Skip to content

What creating an article from stories offers

GET
/cms/print/v2/subpages/{id}/article-draft
curl --request GET \
--url 'https://api.example.com/cms/print/v2/subpages/1/article-draft?stories=example' \
--header 'API-Key: <API-Key>' \
--header 'Token-User: <Token-User>'

The content types with their text fields (value is what POST /subpages/{id}/articles takes: the field type, or option:<key> for a custom field; role is the wb- tag the story gets, null when the field is not written back from the page), the issue sections the article can be filed in (the publication’s pinned category first), and each story’s latest text (plain, excerpt cut at 400 characters) with a suggested field: from its wb- tag, else by length (shortest the title, longest the contents, second-longest the summary).

id
required
integer
stories
required
string

Comma-separated story ids of the page

Types, sections and stories