Syndai Docs

Save an app's row

PUT
/api/v1/external/coding/customers/{customer_id}/repositories/{coding_repository_id}/publication/data/{collection}/rows/{row_id}

Saves one row (creating it under row_id when new) through the app's rules, as its owner, and answers the row as stored. 422 DATA_REFUSED carries the rule's message and changes nothing. 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}$
row_id*string
Length1 <= length <= 128

Request Body

application/json
  1. body
key?string|null
row*

Response Body

Request fulfilled, document follows

application/json
  1. response
row?|null
Example Request
curl -X PUT 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/repositories/497f6eca-6276-4993-bfeb-53cbbbba6f08/publication/data/string/rows/string' \  -H 'Content-Type: application/json' \  -d '{  "row": {}}'
Example Response
{  "row": {}}
Was this page helpful?