Skip to content

Notifications

The platform supports sending notifications to a customer when an ingest completes with a status (such as DONE or FAILED). Please contact us to set-up notifications for your use-case.

Types

Currently we support the following types of notifications:

Email

An email address has to be provided that will recieve a message when the ingest completes with the desired status.

Email notification

Slack webhook

A slack hook can be setup that sends a message to a slack channel of choice with the status of the completed ingest. For this a slack hook url has to be generated and provided to us for the desired channel (see https://api.slack.com/messaging/webhooks).

Http post

We support posting a message to an http or https url of choice (such as an api endpoint). For posting to a secured https url we support authentication through Basic Auth (username/password) or Api-Key, which has to provided in that case.

The message sent to the http url is in JSON format, below is an example:

{
    "customer": "Stream",
    "businessUnit": "StreamBU",
    "assetId": "TEST_PB_007_5ACECFb",
    "externalAssetId": "TEST_PB_007",
    "materialId": "AmKYScnvY3_5ACECFb",
    "message": "Asset TEST_PB_007_5ACECFb material AmKYScnvY3_5ACECFb has status DONE",
    "status": "DONE",
    "link": "https://management.api.redbee.live/v1/customer/Stream/businessunit/StreamBU/asset/TEST_PB_007_5ACECFb?includeMaterial=true",
    "created": "2022-02-15T11:20:28.250Z",
}

WebHook V2

Version 2 of the webhook notifications provides better defined models. The supported notifications are listed in this section.

Verb

The field verb is common between all notifications and can have values: CREATED, UPDATED, DELETED.

Exposure asset notifications

Possible verbs: CREATED, UPDATED, DELETED

{
    "type": "asset_event",
    "verb": "CREATED",
    "assetId": "aId123_XYZ123",

    "detailsType": "empty",
}

Exposure asset update with publication details

Note that this model is compatible with the generic asset notification. The asset notification will always have verb UPDATED for notifications with details. The updateDetails objectcan have verbs: CREATED, UPDATED, DELETED.

{
    "type": "asset_event",
    "verb": "UPDATED",
    "assetId": "aId123_XYZ123",

    "detailsType": "publication"
    "updateDetails": {
        "type": "publication",
        "verb": "CREATED",
        "publicationId": "aId123-pId123_XYZ"
    },
}

Exposure component notifications

Possible verbs: UPDATED

{
    "type": "component_event",
    "verb": "UPDATED",
    "configId": "sandwich",
    "componentId": "cId123",
}