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.