PPylon Developers
ApiPublic Sites

Resolve site page

Resolves a domain + path to a rendered page with site context, theme, and symbols.

GET
/api/v1/sites/resolve
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Query Parameters

domain*string
path*string
locale?string

Response Body

application/json

application/problem+json

curl -X GET "https://loading/api/v1/sites/resolve?domain=string&path=string"
{
  "site": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string",
    "slug": "string",
    "defaultLocale": "string",
    "enabledLocales": [
      "string"
    ],
    "theme": {
      "primaryColor": "string",
      "secondaryColor": "string",
      "accentColor": "string",
      "fontFamily": null,
      "logoUrl": null,
      "faviconUrl": null,
      "customCss": null
    },
    "navigation": {
      "items": [
        {
          "label": "string",
          "href": "string",
          "openInNewTab": true,
          "children": [
            {
              "label": "string",
              "href": "string",
              "openInNewTab": true,
              "children": []
            }
          ]
        }
      ]
    },
    "headerSymbolId": null,
    "footerSymbolId": null
  },
  "page": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "title": "string",
    "slug": "string",
    "content": "string",
    "locale": "string",
    "seo": null
  },
  "symbols": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "slug": "string",
      "content": "string"
    }
  ]
}
{
  "code": "string",
  "message": "string"
}