cmsSite
Get the site
Title, images, navigation, language and locales, URL patterns and enabled features.
GET
apiKeyheader
AuthorizationBearer <token>A project API key: pk_... (public, read published content) or sk_... (secret, the actions it was given).
projectId*stringThe site.
application/json- response
title*stringdescription*string|nulllogo*|nullicon*|nullsocialImage*|nullthemeColor*string|nullnavigation*array<>socialLinks*language*stringMatch
^[a-z]{2,3}(-[A-Z][a-z]{3})?(-([A-Z]{2}|[0-9]{3}))?$Length
length <= 16locales*array<>timezone*stringurl*string|nullurlPatterns*features*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?