Syndai Docs

Live page texts

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/coding/customers/{customer_id}/repositories/{repository_id}/publication/page

A live page of the site, whether it can be edited (and why not), and its editable texts. Owners and admins.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid
repository_id*string
Formatuuid

Query Parameters

path?string
Default"/"

Response Body

Request fulfilled, document follows

application/json
  1. response
blocked?|null
editable*boolean
head_sha?string|null
html?string|null
live_sha?string|null
path*string
reason?string|null
texts*array<>
url?string|null
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/repositories/497f6eca-6276-4993-bfeb-53cbbbba6f08/publication/page'
Example Response
{  "blocked": {    "code": "string",    "run_id": "string"  },  "editable": true,  "head_sha": "string",  "html": "string",  "live_sha": "string",  "path": "string",  "reason": "string",  "texts": [    {      "count": 0,      "shared": true,      "source_en": "string",      "value": "string"    }  ],  "url": "string"}
Was this page helpful?