YOWO7 API
Websites

POST

/api/v1/workspaces/{workspaceId}/website-saved-sections

Scope websites:write

Save a website section so it can be reused on pages.

Pfad

workspaceIdPflicht
string
Workspace that owns the resource.

Request

application/json · CreateWebsiteSavedSectionRequestDto

name
string
Display name.
sectionJson
string
JSON for the section.

Antworten

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

Website saved section.

id
string (uuid)
Identifier.
name
string
Display name.
sectionJson
string
JSON for the section.
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.
Save a section · YOWO7 API