openapi: 3.2.0 info: title: Media Edge Ad Break API description: The OpenAPI specification for Media Edge API version: 0.1.0 servers: - url: https://edge.adobedc.net/ee/va/v1 tags: - name: Ad Break paths: /adBreakStart: post: tags: - Ad Break summary: Ad break start description: Signals the start of an ad series operationId: adBreakStart parameters: [] requestBody: content: application/json: schema: type: object properties: events: type: array description: '' items: type: object properties: xdm: type: object description: '' properties: mediaCollection: type: object description: '' properties: playhead: type: integer description: The Playhead represents the current playback position within the media content advertisingPodDetails: type: object description: '' properties: friendlyName: type: string description: The easily understandable name of the ad break index: type: integer description: The index of the ad break inside the content starting at 1 offset: type: integer description: The offset of the ad break inside the content, in seconds required: - index - offset sessionID: type: string description: The Media Session ID uniquely identifies an instance of a content stream during an individual playback session qoeDataDetails: type: object description: QoE (Quality of Experience) Data Details capture performance-related metrics and user experience data properties: bitrate: type: integer format: int32 description: The bitrate value (in kbps) droppedFrames: type: integer format: int32 description: The total count of frames dropped during playback framesPerSecond: type: integer format: int32 description: The current stream frame-rate (in frames per second) timeToStart: type: integer format: int32 description: Duration (in seconds) between video load and start required: - advertisingPodDetails - playhead - sessionID eventType: type: string default: media.adBreakStart description: The media event type timestamp: type: string format: date-time description: The time when a media event occurred required: - mediaCollection - timestamp - eventType required: - xdm examples: '0': value: events: - xdm: eventType: media.adBreakStart mediaCollection: advertisingPodDetails: friendlyName: Mid-roll offset: 0 index: 1 sessionID: 5c32e1a6ef6b58be5136ba8db2f79f1d251d3121a898bc8fb60123b8fdb9aa1c playhead: 15 timestamp: '2022-03-04T13:38:15+00:00' responses: '204': description: No content '400': description: Bad request content: application/json: schema: type: object description: '' properties: type: type: string description: Link containing a more detailed description of the error status: type: integer default: 400 description: The status code title: type: string description: The category of the error detail: type: string description: The error details report: type: object description: '' properties: requestId: type: string description: Id that uniquely identifies a request details: type: array description: '' items: type: object description: '' properties: name: type: string description: The path to the invalid property reason: type: string description: The reason why the property is invalid examples: '0': value: type: https://ns.adobe.com/aep/errors/va-edge-0400-400 status: 400 title: Bad Request detail: Invalid request. Please check your input and try again. report: details: - name: $.events[0].xdm.mediaCollection.advertisingPodDetails.offset reason: Missing required field requestId: e3d87437-5054-4bc2-8953-be4be8d0b900 '404': description: Not found content: application/json: schema: type: object description: '' properties: type: type: string description: Link containing a more detailed description of the error status: type: integer default: 404 description: The status code title: type: string description: The category of the error detail: type: string description: The error details report: type: object description: '' properties: requestId: type: string description: Id that uniquely identifies a request details: type: string description: The error details examples: '0': value: type: https://ns.adobe.com/aep/errors/va-edge-0404-404 status: 404 title: Not Found detail: The requested resource could not be found but may be available again in the future. report: details: Error processing request. If the session is longer than 24h, please start a new one. Returning Not Found requestId: e3d87437-5054-4bc2-8953-be4be8d0b900 /adBreakComplete: post: tags: - Ad Break summary: Ad break complete description: Signals the end of the ad series operationId: adBreakComplete parameters: [] requestBody: content: application/json: schema: type: object properties: events: type: array description: '' items: type: object properties: xdm: type: object description: '' properties: mediaCollection: type: object description: '' properties: playhead: type: integer description: The Playhead represents the current playback position within the media content sessionID: type: string description: The Media Session ID uniquely identifies an instance of a content stream during an individual playback session qoeDataDetails: type: object description: QoE (Quality of Experience) Data Details capture performance-related metrics and user experience data properties: bitrate: type: integer format: int32 description: The bitrate value (in kbps) droppedFrames: type: integer format: int32 description: The total count of frames dropped during playback framesPerSecond: type: integer format: int32 description: The current stream frame-rate (in frames per second) timeToStart: type: integer format: int32 description: Duration (in seconds) between video load and start required: - playhead - sessionID eventType: type: string default: media.adBreakComplete description: The media event type timestamp: type: string format: date-time description: The time when a media event occurred required: - mediaCollection - timestamp - eventType required: - xdm examples: '0': value: events: - xdm: eventType: media.adBreakComplete mediaCollection: sessionID: 5c32e1a6ef6b58be5136ba8db2f79f1d251d3121a898bc8fb60123b8fdb9aa1c playhead: 25 timestamp: '2022-03-04T13:39:00+00:00' responses: '204': description: No content '400': description: Bad request content: application/json: schema: type: object description: '' properties: type: type: string description: Link containing a more detailed description of the error status: type: integer default: 400 description: The status code title: type: string description: The category of the error detail: type: string description: The error details report: type: object description: '' properties: requestId: type: string description: Id that uniquely identifies a request details: type: array description: '' items: type: object description: '' properties: name: type: string description: The path to the invalid property reason: type: string description: The reason why the property is invalid examples: '0': value: type: https://ns.adobe.com/aep/errors/va-edge-0400-400 status: 400 title: Bad Request detail: Invalid request. Please check your input and try again. report: details: - name: $.events[0].xdm.mediaCollection.playhead reason: Missing required field requestId: e3d87437-5054-4bc2-8953-be4be8d0b900 '404': description: Not found content: application/json: schema: type: object description: '' properties: type: type: string description: Link containing a more detailed description of the error status: type: integer default: 404 description: The status code title: type: string description: The category of the error detail: type: string description: The error details report: type: object description: '' properties: requestId: type: string description: Id that uniquely identifies a request details: type: string description: The error details examples: '0': value: type: https://ns.adobe.com/aep/errors/va-edge-0404-404 status: 404 title: Not Found detail: The requested resource could not be found but may be available again in the future. report: details: Error processing request. If the session is longer than 24h, please start a new one. Returning Not Found requestId: e3d87437-5054-4bc2-8953-be4be8d0b900