Skip to content

Article

idintegerrequired

article ID

defaultSectionIdinteger

article section ID

sectionIdsArray of integers or null

array of section IDs

titlestringrequired

article title

languagestring

Article language. Available only if module foreignLanguages is active and initialized.

indexNamestring or nullrequired

ending part of article URL

urlstring

article URL

urlsArray of objects(articleUrls)

array of section IDs and their URLs

redirectUrlstring or nullrequired

canonical URL for redirecting

contentstring or nullrequired

article content

metaTitlestring or nullrequired

article meta title

metaDescriptionstring or nullrequired

article meta description

publishDatestring or null(typeDateTimeNullable)^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0...required

article date of publishing

changeDatestring or null(typeDateTimeNullable)^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0...required

article date of the last modification

visiblebooleanrequired

flag whether the article is visible on web

accessanyrequired

flag indicating, whether the article can be viewed by everyone (value of the flag is: all), by logged in users only ('logged-in'), or by logged out users only ('logged-out'), or by administrators only ('admin-only')

Enum:"all""logged-in""logged-out""admin-only"
imagestring or null

article image

ogImagestring or null

article og:image

metaKeywordsstring or nullrequireddeprecated

article keywords

{ "id": 1, "defaultSectionId": 682, "sectionIds": [ 682 ], "title": "Test", "language": "cs", "indexName": "new-article", "url": "https://www.some-eshop-url.com/blog/new-article", "urls": [ {} ], "redirectUrl": "https://www.someurl.com", "content": "<p>Content of the article</p>", "metaTitle": "Test article\"", "metaKeywords": "test", "metaDescription": "Test article", "publishDate": "2018-05-29T09:02:27+0200", "changeDate": "2018-05-29T09:02:27+0200", "visible": true, "access": "logged-in", "image": "https://www.some-eshop-url.com/image.jpg", "ogImage": "https://www.some-eshop-url.com/image.jpg" }