curl --request PATCH \
--url https://api-dev.narrative.io/data-shop/{data_shop_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"hostname": "<string>",
"fe_manifest": {}
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"hostname": "<string>",
"created_by": 123,
"created_at": "2021-06-24T00:54:40.029056Z",
"updated_by": 123,
"updated_at": "2021-06-24T00:54:40.029056Z",
"compan_id": 345,
"manifest": {}
}Update a new data-shop.
Note: Not passing a fe_manifest will remove the fe_manifest from the data-shop manifest.
Only a user belonging to the company can update a data-shop.
curl --request PATCH \
--url https://api-dev.narrative.io/data-shop/{data_shop_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"hostname": "<string>",
"fe_manifest": {}
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"hostname": "<string>",
"created_by": 123,
"created_at": "2021-06-24T00:54:40.029056Z",
"updated_by": 123,
"updated_at": "2021-06-24T00:54:40.029056Z",
"compan_id": 345,
"manifest": {}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier for a data-shop.
OK
A shops hostname.
1ISO-8601 instant.
"2021-06-24T00:54:40.029056Z"
ISO-8601 instant.
"2021-06-24T00:54:40.029056Z"
The id of an existing company
345
A valid json object. This is partially governed by the passed fe_manifest.