Docs
Skip to Content
API referenceGet the site
cmsSite

Get the site

Title, images, navigation, language and locales, URL patterns and enabled features.

GET
/v1/cms/projects/{projectId}/site

Authorization

apiKey
headerAuthorizationBearer <token>

A project API key: pk_... (public, read published content) or sk_... (secret, the actions it was given).

Path Parameters

projectId*string

Response Body

The site.

application/json
  1. response
title*string
description*string|null
logo*|null
icon*|null
socialImage*|null
themeColor*string|null
navigation*array<>
socialLinks*
language*string
Match^[a-z]{2,3}(-[A-Z][a-z]{3})?(-([A-Z]{2}|[0-9]{3}))?$
Lengthlength <= 16
locales*array<>
timezone*string
url*string|null
urlPatterns*
features*
Example Request
curl -X GET 'https://api.tintage.com/v1/cms/projects/string/site'
Example Response
{  "title": "string",  "description": "string",  "logo": {    "file": "string",    "version": 1,    "url": "string",    "alt": "string",    "crop": {      "x": 0,      "y": 0,      "w": 1,      "h": 1    },    "width": 1,    "height": 1,    "thumbhash": "string",    "color": "string",    "textColor": "string",    "tone": "light",    "transparent": true,    "kind": "photo",    "focalPoint": {      "x": 0,      "y": 0    }  },  "icon": {    "file": {      "file": "string",      "version": 1,      "url": "string",      "alt": "string",      "crop": {        "x": 0,        "y": 0,        "w": 1,        "h": 1      },      "width": 1,      "height": 1,      "thumbhash": "string",      "color": "string",      "textColor": "string",      "tone": "light",      "transparent": true,      "kind": "photo",      "focalPoint": {        "x": 0,        "y": 0      }    },    "icons": {      "svg": "string",      "ico": "string",      "png32": "string",      "appleTouch": "string",      "png192": "string",      "png512": "string",      "maskable512": "string"    }  },  "socialImage": {    "file": "string",    "version": 1,    "url": "string",    "alt": "string",    "crop": {      "x": 0,      "y": 0,      "w": 1,      "h": 1    },    "width": 1,    "height": 1,    "thumbhash": "string",    "color": "string",    "textColor": "string",    "tone": "light",    "transparent": true,    "kind": "photo",    "focalPoint": {      "x": 0,      "y": 0    }  },  "themeColor": "string",  "navigation": [    {      "label": "string",      "url": "string"    }  ],  "socialLinks": {    "property1": "string",    "property2": "string"  },  "language": "string",  "locales": [    "string"  ],  "timezone": "string",  "url": "string",  "urlPatterns": {    "post": "string"  },  "features": {    "tags": true,    "authors": true,    "pages": true  }}
Was this page helpful?