YOWO7 API
Knowledge

POST

/api/v1/workspaces/{workspaceId}/knowledge/sites/{siteId}/pages/publish

Scope knowledge:write

Publish knowledge page drafts on a site. Pages that are already live without changes are skipped.

Pfad

siteIdPflicht
string (uuid)
Knowledge site identifier.
workspaceIdPflicht
string
Workspace that owns the resource.

Request

application/json · PublishKnowledgePagesRequestDto

pageIds
string (uuid)[]
Page identifiers.
changeNote
string
Change note.

Antworten

200PublishKnowledgePagesResponseDtoThe request succeeded. The JSON body contains url, data, and meta. The linked schema is data.

Publish knowledge pages response.

publishedCount
integer (int32)
Number of pages published.
skippedCount
integer (int32)
Number of pages skipped because they were already live.
failed
PublishKnowledgePageFailureDto[]
Pages that could not be published.
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.
Publish pages · YOWO7 API