Syndai Docs

Site languages

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/languages

The site's added languages and each one's state. Any member reads it.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid
repository_id*string
Formatuuid

Response Body

Request fulfilled, document follows

application/json
  1. response
available*array<string>
languages*array<>
limit*integer
supported*boolean
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/languages'
Example Response
{  "available": [    "string"  ],  "languages": [    {      "code": "string",      "englishShare": 0,      "missingCount": 0,      "state": "string",      "url": "string"    }  ],  "limit": 0,  "supported": true}
Was this page helpful?