Transformation notifications let users know when a job fails if subscribed.
Required capabilities:
transformationsAcl:READ
Response with paged list of notification subscriptions.
The response for a failed request.
The response for a forbidden request.
notifications_list = client.transformations.notifications.list() notifications_list = client.transformations.notifications.list(transformation_id = 1)
{- "items": [
- {
- "id": 0,
- "createdTime": 0,
- "lastUpdatedTime": 0,
- "transformationId": 0,
- "destination": "string"
}
], - "nextCursor": "string"
}Required capabilities:
transformationsAcl:WRITE
Subscribe for notifications on the transformation errors.
List of the notifications for new subscriptions. Must be up to a maximum of 1000 items.
Array of NotificationCreateWithExternalId (object) or NotificationCreateWithId (object) <= 1000 items |
Response with list of created notification subscriptions.
The response for a failed request.
The response for a forbidden request.
The response for a conflict.
{- "items": [
- {
- "destination": "string",
- "transformationExternalId": "string"
}
]
}{- "items": [
- {
- "id": 0,
- "createdTime": 0,
- "lastUpdatedTime": 0,
- "transformationId": 0,
- "destination": "string"
}
]
}Required capabilities:
transformationsAcl:WRITE
Deletes the specified notification subscriptions on the transformation. Requests to delete non-existing subscriptions do nothing, but do not throw an error.
List of IDs to be deleted.
Array of objects (TransformationCogniteInternalId) |
Empty response.
The response for a failed request.
The response for a forbidden request.
The response for a conflict.
{- "items": [
- {
- "id": 0
}
]
}{ }