YOWO7 API
Websites

POST

/api/v1/workspaces/{workspaceId}/website-modules

Scope websites:write

Create a reusable website module from markup, styles, and fields.

Pfad

workspaceIdPflicht
string
Workspace that owns the resource.

Request

application/json · CreateWebsiteModuleRequestDto

name
string
Display name.
html
string
HTML for the value.
css
string
Css.
fieldsJson
string
JSON for the fields.

Antworten

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

Website module.

id
string (uuid)
Identifier.
name
string
Display name.
key
string
Key.
html
string
HTML for the value.
css
string
Css.
fieldsJson
string
JSON for the fields.
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.
Create a website module · YOWO7 API