YOWO7 API
Websites

POST

/api/v1/workspaces/{workspaceId}/websites/{websiteId}/pages/{pageId}/duplicate

Scope websites:write

Duplicate a website page, including its draft document.

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.
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.
400ApiProblemThe request is invalid.
401ApiProblemThe private app token is missing or invalid.
403ApiProblemThe token is missing the required scope, or this action is not allowed.
404ApiProblemThe workspace or resource was not found.
defaultApiProblemError response.
Duplicate a website page · YOWO7 API