v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13101321.0 KB
platforms

Creates a site for a specified account.

post/v1/{+parent}/sites

Path parameters

parentstring required

Required. Account to create site. Format: platforms/{platform}/accounts/{account_id}

Request body

domainstring

Domain/sub-domain of the site. Must be a valid domain complying with RFC 1035 and formatted as punycode RFC 3492 in case the domain contains unicode characters.

state'STATE_UNSPECIFIED' | 'REQUIRES_REVIEW' | 'GETTING_READY' | 'READY' | 'NEEDS_ATTENTION'

Output only. State of a site.

namestring

Output only. Resource name of a site. Format: platforms/{platform}/accounts/{account}/sites/{site}

Response

Successful response