Syndai Docs

Export an app's table as CSV

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/{collection}/export.csv

Every row of one collection the owner sees, as a text/csv attachment: id then each declared field (cells guarded against spreadsheet formulas). The whole app is GET .../publication/data.json. 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
collection*string
Match^[A-Za-z0-9_-]{1,64}$

Response Body

Stream Response

response?unknowntext/csv
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/string/export.csv'
Example Response
null
Was this page helpful?