Create a new changelog event
curl --request POST \
--url 'https://api-(organization).gable.ai/v0/changelog' \
--header 'Content-Type: application/json' \
--data '{
"contractId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contractVersion": "<string>",
"contractFieldName": "<string>",
"contractName": "<string>",
"contractDomain": "<string>",
"dataAssetFieldProfileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entityType": "DATA_CONTRACT",
"eventType": "VIOLATION",
"violationType": "MISSING_REQUIRED_PROPERTY",
"dataAssetResourceName": "<string>",
"expectedValue": "<string>",
"actualValue": "<string>",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prLink": "<string>"
}'
{
"changelogEventIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
Changelog event to create
The body is of type object
.
Changelog event(s) was successfully created
The response is of type object
.
curl --request POST \
--url 'https://api-(organization).gable.ai/v0/changelog' \
--header 'Content-Type: application/json' \
--data '{
"contractId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contractVersion": "<string>",
"contractFieldName": "<string>",
"contractName": "<string>",
"contractDomain": "<string>",
"dataAssetFieldProfileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entityType": "DATA_CONTRACT",
"eventType": "VIOLATION",
"violationType": "MISSING_REQUIRED_PROPERTY",
"dataAssetResourceName": "<string>",
"expectedValue": "<string>",
"actualValue": "<string>",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prLink": "<string>"
}'
{
"changelogEventIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}