Media Edge API (0.1.0)

Download OpenAPI specification:Download

The OpenAPI specification for Media Edge API

Session

Session start

Signals the start of a new session. When the response returns, the "sessionId" must be extracted and sent for all subsequent event calls to the Edge API server

Request
query Parameters
configId
required
string

The datastream id

Request Body schema: application/json
Array of objects
Responses
200

OK

207

Multi-Status

400

Bad request

post/sessionStart
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "requestId": "dd850e05-8c3e-4ae4-9ea8-506490978004",
  • "handle": [
    ]
}

Session complete

Signals when the end of the main content was reached

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/sessionComplete
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Session end

Notifies Adobe to immediately close the session. Used when the user has abandoned their viewing of the content and they are unlikely to return. If you don't use this endpoint, an abandoned session times out normally (after no events are received for 10 minutes, or when no playhead movement occurs for 30 minutes), ending the session.

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/sessionEnd
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Play

Play

Signals that a play event occurred

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/play
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Ping

Ping

Signals a ping event. Used during main content playback when content must be sent every 10 seconds, regardless of any other API events that have been sent. Send the first ping event 10 seconds after main content playback begins.

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/ping
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Ad Break

Ad break start

Signals the start of an ad series

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/adBreakStart
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Ad break complete

Signals the end of the ad series

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/adBreakComplete
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Ad

Ad start

Signals the start of an ad

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/adStart
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Ad complete

Signals the end of an ad

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/adComplete
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Ad skip

Signals that an ad was skipped

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/adSkip
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Bitrate

Bitrate change

Signals that the bitrate changed

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/bitrateChange
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Buffer

Buffer start

Sent when buffering starts. Since there is no bufferResume event type, it is inferred when you send a play event after bufferStart.

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/bufferStart
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Chapter

Chapter start

Signals the start of a chapter

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/chapterStart
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Chapter complete

Signals the completion of a chapter

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/chapterComplete
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Chapter skip

Signals that the chapter was skipped

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/chapterSkip
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Error

Error

Signals that an error occurred

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/error
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

Pause

Pause start

Signals that a pause was triggered

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/pauseStart
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}

States

States update

Signals the change of one or multiple states

Request
Request Body schema: application/json
Array of objects
Responses
204

No content

400

Bad request

404

Not found

post/statesUpdate
Request samples
application/json
{
  • "events": [
    ]
}
Response samples
application/json
{
  • "status": 404,
  • "title": "Not Found",
  • "detail": "The requested resource could not be found but may be available again in the future.",
  • "report": {
    }
}