Skip to content

discover_public_url

Discover the visitor browserUrl, public API url, and custom domain.

Use browserUrl for visitors and as the base for page navigation. Links use the application’s own host (custom domain or platform subdomain); /app/<slug> on the platform host is not a serving path.

{
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
}
},
"required": [
"application_id"
],
"title": "discover_public_urlArguments",
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"applicationId": {
"format": "uuid",
"type": "string"
},
"browserUrl": {
"description": "Visitor URL. Preserve its path prefix in page navigation links.",
"format": "uri",
"type": "string"
},
"domain": {
"type": [
"string",
"null"
]
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"applicationId",
"domain",
"url",
"browserUrl"
],
"type": "object"
}