Syndai Docs

Get an app's data tables

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

GET
/api/v1/external/coding/customers/{customer_id}/repositories/{coding_repository_id}/publication/data

The live app's collections, each with its declared fields (name to kind), the indexed fields it filters and sorts on and the searched ones (from the live deployment's schema.json; empty for an app published before it), plus the restore offers: undo_restore (the latest restore's undo) and deploy_points (each data deploy within 30 days). Needs coding:apps:publish.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid
coding_repository_id*string
Formatuuid

Response Body

Request fulfilled, document follows

application/json
  1. response
collections*array<>
deploy_points*array<>
undo_restore?|null
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/repositories/497f6eca-6276-4993-bfeb-53cbbbba6f08/publication/data'
Example Response
{  "collections": [    {      "fields": {},      "index": [        "string"      ],      "name": "string",      "search": [        "string"      ]    }  ],  "deploy_points": [    {      "at": "string",      "id": "string"    }  ],  "undo_restore": {    "at": "string",    "id": "string"  }}
Was this page helpful?