cURL
curl --request POST \ --url https://api.oneofnone.io/v1/collections/{slug}/data/{rowId}/assign \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "short_url": "<string>" } '
{ "id": "<string>", "collection_id": "<string>", "source_id": 123, "row_index": 123, "status": "AVAILABLE", "created_at": "<string>", "data": {}, "short_url_id": 123, "assigned_at": "<string>", "updated_at": "<string>" }
1
Successful response
AVAILABLE
ASSIGNED
Show child attributes