Websites
POST
/api/v1/workspaces/{workspaceId}/websites/{websiteId}/pages/{pageId}/publish
Scope websites:write
Publish the draft of a website page.
Pfad
websiteIdPflicht
string (uuid)
Website identifier.
pageIdPflicht
string (uuid)
Page identifier.
workspaceIdPflicht
string
Workspace that owns the resource.
Antworten
200WebsitePageDtoThe request succeeded. The JSON body contains url, data, and meta. The linked schema is data.
Website page.
id
string (uuid)
Identifier.
websiteId
string (uuid)
Identifier of the website.
locale
string
Language code.
title
string
Title.
path
string
Path.
isHome
boolean
Whether this is home.
status
pageType
draftDocumentJson
string
JSON for the draft document.
publishedDocumentJson
string
JSON for the published document.
draftSeoTitle
string
Draft seo title.
draftSeoDescription
string
Draft seo description.
draftCanonicalPath
string
Draft canonical path.
draftOgImageFileId
string (uuid)
Identifier of the draft og image file.
draftNoIndex
boolean
Whether draft no index is set.
publishedSeoTitle
string
Published seo title.
publishedSeoDescription
string
Published seo description.
publishedCanonicalPath
string
Published canonical path.
publishedOgImageFileId
string (uuid)
Identifier of the published og image file.
publishedNoIndex
boolean
Whether published no index is set.
previewToken
string
Preview token.
publishedAt
string (date-time)
When the published was recorded.
updatedAt
string (date-time)
When this was last updated.