Events Publishing API

Prerequisites

data-slots=title, text
Data Residency:
Please note that all custom events are stored in the United States (US) region.

Throttling Policy

We do have a throttling policy in place, we accept up to 3,000 requests / 5 secs per api-key. Your throttled requests will receive a HTTP Status 429 (Too Many Requests) response with a Retry-After header, following the RFC 7231 HTTP standard.

Test Drive

Once its Event Metadata is persisted in Adobe I/O Events (see above prerequisites), your Custom Events Provider can start publishing its CloudEvents to Adobe I/O Events publishing endpoint (https://eventsingress.adobe.io).

Please follow CloudEvents v1.0 specification, here is a sample curl command:

curl -i --location --request POST  \
       --url https://eventsingress.adobe.io \
       --header "x-api-key: $api_key" \
       --header "Authorization: Bearer $oauth_s2s_token" \
       --header 'Content-Type: application/cloudevents+json' \
       --header "x-event-phidata: $is_phidata" \
       --data '{
         "datacontenttype": "application/json",
         "specversion": "1.0",
         "source": "urn:uuid:'"${provider_id}"'",
         "type": "'"${event_code}"'",
         "id": "'"${event_id}"'",
         "data": "your event json payload"
         "customattribute" : "cloud events custom extension"
       }'

The environment variables used in this curl command are computed from the above prerequisites

The API returns

HIPAA Compliance Support

I/O Events is compliant with HIPAA regulation. The event producers are responsible to signal if the event contains PHI data by setting the optional x-event-phidata header to true in the request. When the header is present and set to true:

In the event of an audit, you will need to be able to provide evidences of how the patient data was handled.

Audit log: storing the mapping between PHI data to ids

It is your responsibility to store the id in your own logs or storage solution for traceability. If you are handling multiple end patients data (PHIs), you should also store what id you produced corresponds to what patient data, to be able to provide information regarding that patient data in case of an audit specific to that patient.

You can ask I/O Events support to retrieve the audit trace logs for a given set of ids you produced. You can reach the support team through the Adobe I/O Forums on Adobe Experience League.