Description
Retrieve a specific key-value pair from the metadata of a case.
Request
HTTP Method: GET
Parameter | Description |
---|---|
case_id | The ID of the case containing metadata. |
key | The key of the key-value pair. |
curl -X GET \
https://<<META.tenant.domain>>/api/v2/cases/<<case_id>>/metadata/<<key>> \
-H 'content-type: application/json' \
-H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'
Response
A successful request will return a JSON object with the specific metadata key-value pair.
Field description
Parameter | Description |
---|---|
case_id | The ID of the case. |
metadata | The case related metadata only including the specific key-value pair. |
Sample response
{
"case_id": 42,
"metadata": {
"key": "value"
}
}