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
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.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidcoding_repository_id*stringFormat
uuidRequest fulfilled, document follows
application/json- response
collections*array<>deploy_points*array<>undo_restore?|nullcurl -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" }}