YOWO7 API
Websites

GET

/api/v1/workspaces/{workspaceId}/websites/{websiteId}

Scope websites:read

Read one marketing website by id.

Pfad

websiteIdPflicht
string (uuid)
Website identifier.
workspaceIdPflicht
string
Workspace that owns the resource.

Antworten

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

Website.

id
string (uuid)
Identifier.
name
string
Display name.
publicSlug
string
Public slug.
isEnabled
boolean
Whether this is enabled.
styleSetId
string (uuid)
Identifier of the style set.
preferredHostnameId
string (uuid)
Identifier of the preferred hostname.
defaultLocale
string
Default locale.
locales
string[]
Language codes this item is available in.
headerJson
string
JSON for the header.
footerJson
string
JSON for the footer.
consentJson
string
JSON for the consent.
googleAnalyticsId
string
Identifier of the google analytics.
googleTagManagerId
string
Identifier of the google tag manager.
faviconFileId
string (uuid)
Identifier of the favicon file.
bodyFontFileId
string (uuid)
Identifier of the body font file.
headingFontFileId
string (uuid)
Identifier of the heading font file.
notFoundPageId
string (uuid)
Identifier of the not found page.
fallbackHostname
string
Fallback hostname.
fallbackHostnameStatus
createdAt
string (date-time)
When this was created.
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.
Get a website · YOWO7 API