@bbc/sofie-live-status-gateway-api 1.53.0-in-development
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +13 -0
- package/api/asyncapi.yaml +51 -0
- package/api/components/adLibs/actionType/actionType-example.yaml +2 -0
- package/api/components/adLibs/actionType/actionType.yaml +15 -0
- package/api/components/adLibs/adLibBase/adLibBase-example.yaml +9 -0
- package/api/components/adLibs/adLibBase/adLibBase.yaml +35 -0
- package/api/components/adLibs/adLibStatus/adLibStatus-example.yaml +3 -0
- package/api/components/adLibs/adLibStatus/adLibStatus.yaml +17 -0
- package/api/components/adLibs/adLibsEvent/adLibsEvent-example.yaml +6 -0
- package/api/components/adLibs/adLibsEvent/adLibsEvent.yaml +29 -0
- package/api/components/adLibs/bucketAdLibStatus/bucketAdLibStatus-example.yaml +2 -0
- package/api/components/adLibs/bucketAdLibStatus/bucketAdLibStatus.yaml +14 -0
- package/api/components/adLibs/globalAdLibStatus/globalAdLibStatus-example.yaml +1 -0
- package/api/components/adLibs/globalAdLibStatus/globalAdLibStatus.yaml +7 -0
- package/api/components/adLibs/messages/adLibsMessage.yaml +10 -0
- package/api/components/buckets/bucketStatus/bucketStatus-example.yaml +4 -0
- package/api/components/buckets/bucketStatus/bucketStatus.yaml +20 -0
- package/api/components/buckets/bucketsEvent/bucketsEvent-example.yaml +3 -0
- package/api/components/buckets/bucketsEvent/bucketsEvent.yaml +17 -0
- package/api/components/buckets/messages/bucketsMessage.yaml +10 -0
- package/api/components/connection/heartbeatEvent/heartbeatEvent-example.yaml +1 -0
- package/api/components/connection/heartbeatEvent/heartbeatEvent.yaml +12 -0
- package/api/components/connection/messages/heartbeatMessage.yaml +11 -0
- package/api/components/connection/messages/pingMessage.yaml +12 -0
- package/api/components/connection/messages/pongMessage.yaml +12 -0
- package/api/components/connection/pingEvent/pingEvent-example.yaml +2 -0
- package/api/components/connection/pingEvent/pingEvent.yaml +14 -0
- package/api/components/connection/pongEvent/pongEvent-example.yaml +2 -0
- package/api/components/connection/pongEvent/pongEvent.yaml +14 -0
- package/api/components/connection/reqid/reqid.yaml +4 -0
- package/api/components/notifications/events/notificationsEvent/notificationsEvent-example.yaml +3 -0
- package/api/components/notifications/events/notificationsEvent/notificationsEvent.yaml +18 -0
- package/api/components/notifications/messages/notificationsMessage.yaml +10 -0
- package/api/components/notifications/notificationObj/notificationObj-example.yaml +7 -0
- package/api/components/notifications/notificationObj/notificationObj.yaml +33 -0
- package/api/components/notifications/notificationSeverity.yaml +9 -0
- package/api/components/notifications/target/notificationTarget.yaml +16 -0
- package/api/components/notifications/target/notificationTargetType.yaml +11 -0
- package/api/components/notifications/target/partInstance/notificationTargetPartInstance-example.yaml +4 -0
- package/api/components/notifications/target/partInstance/notificationTargetPartInstance.yaml +18 -0
- package/api/components/notifications/target/pieceInstance/notificationTargetPieceInstance-example.yaml +5 -0
- package/api/components/notifications/target/pieceInstance/notificationTargetPieceInstance.yaml +20 -0
- package/api/components/notifications/target/rundown/notificationTargetRundown-example.yaml +3 -0
- package/api/components/notifications/target/rundown/notificationTargetRundown.yaml +16 -0
- package/api/components/notifications/target/rundownPlaylist/notificationTargetRundownPlaylist-example.yaml +3 -0
- package/api/components/notifications/target/rundownPlaylist/notificationTargetRundownPlaylist.yaml +16 -0
- package/api/components/notifications/target/unknown/notificationTargetUnknown-example.yaml +1 -0
- package/api/components/notifications/target/unknown/notificationTargetUnknown.yaml +12 -0
- package/api/components/packages/messages/packagesMessage.yaml +8 -0
- package/api/components/packages/packageInfoStatus/packageInfoStatus-example.yaml +8 -0
- package/api/components/packages/packageInfoStatus/packageInfoStatus.yaml +32 -0
- package/api/components/packages/packageStatus/packageStatus.yaml +23 -0
- package/api/components/packages/packagesEvent/packagesEvent-example.yaml +4 -0
- package/api/components/packages/packagesEvent/packagesEvent.yaml +20 -0
- package/api/components/part/currentPart/currentPartStatus-example.yaml +3 -0
- package/api/components/part/currentPart/currentPartStatus.yaml +13 -0
- package/api/components/part/currentSegmentPart/currentSegmentPart-example.yaml +3 -0
- package/api/components/part/currentSegmentPart/currentSegmentPart.yaml +14 -0
- package/api/components/part/partBase/partBase-example.yaml +3 -0
- package/api/components/part/partBase/partBase.yaml +18 -0
- package/api/components/part/partStatus/partStatus-example.yaml +6 -0
- package/api/components/part/partStatus/partStatus.yaml +22 -0
- package/api/components/piece/activePiecesEvent/activePiecesEvent-example.yaml +4 -0
- package/api/components/piece/activePiecesEvent/activePiecesEvent.yaml +22 -0
- package/api/components/piece/messages/activePiecesMessage.yaml +10 -0
- package/api/components/piece/pieceStatus/pieceStatus-example.yaml +7 -0
- package/api/components/piece/pieceStatus/pieceStatus.yaml +28 -0
- package/api/components/playlist/activePlaylistEvent/activePlaylistEvent-example.yaml +17 -0
- package/api/components/playlist/activePlaylistEvent/activePlaylistEvent.yaml +50 -0
- package/api/components/playlist/messages/activePlaylistMessage.yaml +11 -0
- package/api/components/playlist/playlistStatus/playlistStatus-example.yaml +4 -0
- package/api/components/playlist/playlistStatus/playlistStatus.yaml +26 -0
- package/api/components/quickLoop/activePlaylistQuickLoop/activePlaylistQuickLoop-example.yaml +6 -0
- package/api/components/quickLoop/activePlaylistQuickLoop/activePlaylistQuickLoop.yaml +19 -0
- package/api/components/quickLoop/quickLoopMarker/quickLoopMarker-example.yaml +2 -0
- package/api/components/quickLoop/quickLoopMarker/quickLoopMarker.yaml +20 -0
- package/api/components/quickLoop/quickLoopMarkerType.yaml +10 -0
- package/api/components/segment/currentSegment/currentSegment-example.yaml +5 -0
- package/api/components/segment/currentSegment/currentSegment.yaml +19 -0
- package/api/components/segment/messages/segmentsMessage.yaml +10 -0
- package/api/components/segment/segment/segment-example.yaml +8 -0
- package/api/components/segment/segment/segment.yaml +26 -0
- package/api/components/segment/segmentBase/segmentBase-example.yaml +1 -0
- package/api/components/segment/segmentBase/segmentBase.yaml +11 -0
- package/api/components/segment/segmentsEvent/segmentsEvent-example.yaml +4 -0
- package/api/components/segment/segmentsEvent/segmentsEvent.yaml +23 -0
- package/api/components/studio/messages/studioUpdate.yaml +11 -0
- package/api/components/studio/studioEvent/studioEvent-example.yaml +2 -0
- package/api/components/studio/studioEvent/studioEvent.yaml +16 -0
- package/api/components/studio/studioStatus/studioStatus-example.yaml +4 -0
- package/api/components/studio/studioStatus/studioStatus.yaml +21 -0
- package/api/components/subscriptions/events/subscribeEvent/subscribeEvent-example.yaml +4 -0
- package/api/components/subscriptions/events/subscribeEvent/subscribeEvent.yaml +15 -0
- package/api/components/subscriptions/events/subscriptionStatusEvent/subscriptionStatusError/subscriptionStatusError-example.yaml +2 -0
- package/api/components/subscriptions/events/subscriptionStatusEvent/subscriptionStatusError/subscriptionStatusError.yaml +14 -0
- package/api/components/subscriptions/events/subscriptionStatusEvent/subscriptionStatusEvent-example.yaml +4 -0
- package/api/components/subscriptions/events/subscriptionStatusEvent/subscriptionStatusEvent.yaml +10 -0
- package/api/components/subscriptions/events/subscriptionStatusEvent/subscriptionStatusSuccess/subscriptionStatusSuccess-example.yaml +4 -0
- package/api/components/subscriptions/events/subscriptionStatusEvent/subscriptionStatusSuccess/subscriptionStatusSuccess.yaml +16 -0
- package/api/components/subscriptions/messages/subscribeMessage.yaml +12 -0
- package/api/components/subscriptions/messages/subscriptionStatusErrorMessage.yaml +10 -0
- package/api/components/subscriptions/messages/subscriptionStatusSuccessMessage.yaml +10 -0
- package/api/components/subscriptions/subscriptionDetails/subscriptionDetails-example.yaml +2 -0
- package/api/components/subscriptions/subscriptionDetails/subscriptionDetails.yaml +13 -0
- package/api/components/subscriptions/subscriptionEventName.yaml +8 -0
- package/api/components/subscriptions/subscriptionName.yaml +14 -0
- package/api/components/subscriptions/subscriptionRequestDetails/subscriptionRequestDetails.yaml +11 -0
- package/api/components/subscriptions/subscriptionStatusName.yaml +8 -0
- package/api/components/timing/activePlaylistTiming/activePlaylistTiming-example.yaml +3 -0
- package/api/components/timing/activePlaylistTiming/activePlaylistTiming.yaml +24 -0
- package/api/components/timing/activePlaylistTiming/activePlaylistTimingMode.yaml +7 -0
- package/api/components/timing/currentPartTiming/currentPartTiming-example.yaml +3 -0
- package/api/components/timing/currentPartTiming/currentPartTiming.yaml +20 -0
- package/api/components/timing/currentSegmentPartTiming/currentSegmentPartTiming-example.yaml +1 -0
- package/api/components/timing/currentSegmentPartTiming/currentSegmentPartTiming.yaml +8 -0
- package/api/components/timing/currentSegmentTiming/currentSegmentTiming-example.yaml +2 -0
- package/api/components/timing/currentSegmentTiming/currentSegmentTiming.yaml +16 -0
- package/api/components/timing/segmentCountdownType.yaml +6 -0
- package/api/components/timing/segmentTiming/segmentTiming-example.yaml +3 -0
- package/api/components/timing/segmentTiming/segmentTiming.yaml +19 -0
- package/api/topics/activePieces/activePiecesTopic.yaml +8 -0
- package/api/topics/activePlaylist/activePlaylistTopic.yaml +8 -0
- package/api/topics/adLibs/adLibsTopic.yaml +8 -0
- package/api/topics/buckets/bucketsTopic.yaml +8 -0
- package/api/topics/heartbeat/heartbeatTopic.yaml +7 -0
- package/api/topics/notifications/notificationsTopic.yaml +7 -0
- package/api/topics/packages/packagesTopic.yaml +7 -0
- package/api/topics/ping/pingTopic.yaml +11 -0
- package/api/topics/segments/segmentsTopic.yaml +7 -0
- package/api/topics/studio/studioTopic.yaml +7 -0
- package/api/topics/subscriptions/subscriptionsTopic.yaml +16 -0
- package/dist/generated/schema.d.ts +824 -0
- package/dist/generated/schema.d.ts.map +1 -0
- package/dist/generated/schema.js +118 -0
- package/dist/generated/schema.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/package.json +68 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
$defs:
|
|
2
|
+
studioStatus:
|
|
3
|
+
title: StudioStatus
|
|
4
|
+
type: object
|
|
5
|
+
properties:
|
|
6
|
+
id:
|
|
7
|
+
description: Unique id of the studio
|
|
8
|
+
oneOf:
|
|
9
|
+
- type: string
|
|
10
|
+
- type: 'null'
|
|
11
|
+
name:
|
|
12
|
+
description: User-presentable name for the studio installation
|
|
13
|
+
type: string
|
|
14
|
+
playlists:
|
|
15
|
+
description: The playlists that are currently loaded in the studio
|
|
16
|
+
type: array
|
|
17
|
+
items:
|
|
18
|
+
$ref: '../../playlist/playlistStatus/playlistStatus.yaml#/$defs/playlistStatus'
|
|
19
|
+
required: [id, name, playlists]
|
|
20
|
+
examples:
|
|
21
|
+
- ref: './studioStatus-example.yaml'
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
$defs:
|
|
2
|
+
subscribeEvent:
|
|
3
|
+
type: object
|
|
4
|
+
title: SubscribeEvent
|
|
5
|
+
properties:
|
|
6
|
+
event:
|
|
7
|
+
$ref: '../../subscriptionEventName.yaml#/$defs/subscriptionEventName'
|
|
8
|
+
reqid:
|
|
9
|
+
$ref: '../../../connection/reqid/reqid.yaml#/$defs/reqid'
|
|
10
|
+
subscription:
|
|
11
|
+
$ref: '../../subscriptionRequestDetails/subscriptionRequestDetails.yaml#/$defs/subscriptionRequestDetails'
|
|
12
|
+
required: [event, reqid, subscription]
|
|
13
|
+
additionalProperties: false
|
|
14
|
+
examples:
|
|
15
|
+
- $ref: './subscribeEvent-example.yaml'
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
$defs:
|
|
2
|
+
subscriptionStatusError:
|
|
3
|
+
type: object
|
|
4
|
+
title: SubscriptionStatusError
|
|
5
|
+
allOf:
|
|
6
|
+
- type: object
|
|
7
|
+
title: SubscriptionStatusError
|
|
8
|
+
properties:
|
|
9
|
+
errorMessage:
|
|
10
|
+
type: string
|
|
11
|
+
required: [errorMessage]
|
|
12
|
+
- $ref: '../subscriptionStatusSuccess/subscriptionStatusSuccess.yaml#/$defs/subscriptionStatusSuccess'
|
|
13
|
+
examples:
|
|
14
|
+
- $ref: './subscriptionStatusError-example.yaml'
|
package/api/components/subscriptions/events/subscriptionStatusEvent/subscriptionStatusEvent.yaml
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
$defs:
|
|
2
|
+
subscriptionStatusEvent:
|
|
3
|
+
type: object
|
|
4
|
+
title: SubscriptionStatus
|
|
5
|
+
oneOf:
|
|
6
|
+
- $ref: './subscriptionStatusError/subscriptionStatusError.yaml#/$defs/subscriptionStatusError'
|
|
7
|
+
- $ref: './subscriptionStatusSuccess/subscriptionStatusSuccess.yaml#/$defs/subscriptionStatusSuccess'
|
|
8
|
+
examples:
|
|
9
|
+
- $ref: './subscriptionStatusEvent-example.yaml#/examples/0'
|
|
10
|
+
- $ref: './subscriptionStatusEvent-example.yaml#/examples/1'
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
$defs:
|
|
2
|
+
subscriptionStatusSuccess:
|
|
3
|
+
type: object
|
|
4
|
+
title: SubscriptionStatusSuccess
|
|
5
|
+
properties:
|
|
6
|
+
event:
|
|
7
|
+
type: string
|
|
8
|
+
const: subscriptionStatus
|
|
9
|
+
reqid:
|
|
10
|
+
$ref: '../../../../connection/reqid/reqid.yaml#/$defs/reqid'
|
|
11
|
+
subscription:
|
|
12
|
+
$ref: '../../../subscriptionDetails/subscriptionDetails.yaml#/$defs/subscriptionDetails'
|
|
13
|
+
required: [name, status]
|
|
14
|
+
required: [event, reqid, subscription]
|
|
15
|
+
examples:
|
|
16
|
+
- $ref: './subscriptionStatusSuccess-example.yaml'
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
components:
|
|
2
|
+
messages:
|
|
3
|
+
subscribeMessage:
|
|
4
|
+
name: subscribe
|
|
5
|
+
messageId: subscribe
|
|
6
|
+
title: Subscribe Event Message
|
|
7
|
+
description: Subscribe or unsubscribe to a topic
|
|
8
|
+
payload:
|
|
9
|
+
$ref: '../events/subscribeEvent/subscribeEvent.yaml#/$defs/subscribeEvent'
|
|
10
|
+
examples:
|
|
11
|
+
- payload:
|
|
12
|
+
$ref: '../events/subscribeEvent/subscribeEvent-example.yaml'
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
components:
|
|
2
|
+
messages:
|
|
3
|
+
subscriptionStatusErrorMessage:
|
|
4
|
+
messageId: subscriptionStatusError
|
|
5
|
+
description: Subscription status response to subscribe or unsubscribe
|
|
6
|
+
payload:
|
|
7
|
+
$ref: '../events/subscriptionStatusEvent/subscriptionStatusError/subscriptionStatusError.yaml#/$defs/subscriptionStatusError'
|
|
8
|
+
examples:
|
|
9
|
+
- payload:
|
|
10
|
+
$ref: '../events/subscriptionStatusEvent/subscriptionStatusError/subscriptionStatusError-example.yaml'
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
components:
|
|
2
|
+
messages:
|
|
3
|
+
subscriptionStatusSuccessMessage:
|
|
4
|
+
messageId: subscriptionStatusSuccess
|
|
5
|
+
description: Subscription status response to subscribe or unsubscribe
|
|
6
|
+
payload:
|
|
7
|
+
$ref: '../events/subscriptionStatusEvent/subscriptionStatusSuccess/subscriptionStatusSuccess.yaml#/$defs/subscriptionStatusSuccess'
|
|
8
|
+
examples:
|
|
9
|
+
- payload:
|
|
10
|
+
$ref: '../events/subscriptionStatusEvent/subscriptionStatusSuccess/subscriptionStatusSuccess-example.yaml'
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
$defs:
|
|
2
|
+
subscriptionDetails:
|
|
3
|
+
type: object
|
|
4
|
+
title: SubscriptionDetails
|
|
5
|
+
properties:
|
|
6
|
+
name:
|
|
7
|
+
$ref: '../subscriptionName.yaml#/$defs/subscriptionName'
|
|
8
|
+
status:
|
|
9
|
+
$ref: '../subscriptionStatusName.yaml#/$defs/subscriptionStatusName'
|
|
10
|
+
required: [name, status]
|
|
11
|
+
additionalProperties: false
|
|
12
|
+
examples:
|
|
13
|
+
- $ref: './subscriptionDetails-example.yaml'
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
$defs:
|
|
2
|
+
subscriptionName:
|
|
3
|
+
type: string
|
|
4
|
+
title: SubscriptionName
|
|
5
|
+
description: The name of the topic related to this status.
|
|
6
|
+
enum:
|
|
7
|
+
- studio
|
|
8
|
+
- activePlaylist
|
|
9
|
+
- activePieces
|
|
10
|
+
- segments
|
|
11
|
+
- adLibs
|
|
12
|
+
- notifications
|
|
13
|
+
- buckets
|
|
14
|
+
- packages
|
package/api/components/subscriptions/subscriptionRequestDetails/subscriptionRequestDetails.yaml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
$defs:
|
|
2
|
+
subscriptionRequestDetails:
|
|
3
|
+
type: object
|
|
4
|
+
title: SubscriptionRequestDetails
|
|
5
|
+
properties:
|
|
6
|
+
name:
|
|
7
|
+
$ref: '../subscriptionDetails/subscriptionDetails.yaml#/$defs/subscriptionDetails/properties/name'
|
|
8
|
+
required: [name]
|
|
9
|
+
additionalProperties: false
|
|
10
|
+
examples:
|
|
11
|
+
- $ref: '../subscriptionDetails/subscriptionDetails-example.yaml'
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
$defs:
|
|
2
|
+
activePlaylistTiming:
|
|
3
|
+
type: object
|
|
4
|
+
title: ActivePlaylistTiming
|
|
5
|
+
description: Timing information about the active playlist
|
|
6
|
+
properties:
|
|
7
|
+
timingMode:
|
|
8
|
+
$ref: './activePlaylistTimingMode.yaml'
|
|
9
|
+
startedPlayback:
|
|
10
|
+
description: Unix timestamp of when the playlist started (milliseconds)
|
|
11
|
+
type: number
|
|
12
|
+
expectedStart:
|
|
13
|
+
description: Unix timestamp of when the playlist is expected to start (milliseconds). Required when the timingMode is set to forward-time.
|
|
14
|
+
type: number
|
|
15
|
+
expectedDurationMs:
|
|
16
|
+
description: Duration of the playlist in ms
|
|
17
|
+
type: number
|
|
18
|
+
expectedEnd:
|
|
19
|
+
description: Unix timestamp of when the playlist is expected to end (milliseconds) Required when the timingMode is set to back-time.
|
|
20
|
+
type: number
|
|
21
|
+
required: [timingMode]
|
|
22
|
+
additionalProperties: false
|
|
23
|
+
examples:
|
|
24
|
+
- $ref: './activePlaylistTiming-example.yaml'
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
$defs:
|
|
2
|
+
currentPartTiming:
|
|
3
|
+
type: object
|
|
4
|
+
title: CurrentPartTiming
|
|
5
|
+
description: Timing information about the current part
|
|
6
|
+
allOf:
|
|
7
|
+
- $ref: '../currentSegmentPartTiming/currentSegmentPartTiming.yaml#/$defs/currentSegmentPartTiming'
|
|
8
|
+
- type: object
|
|
9
|
+
title: CurrentPartTiming
|
|
10
|
+
description: Timing information about the current part
|
|
11
|
+
properties:
|
|
12
|
+
startTime:
|
|
13
|
+
description: Unix timestamp of when the part started (milliseconds)
|
|
14
|
+
type: number
|
|
15
|
+
projectedEndTime:
|
|
16
|
+
description: Unix timestamp of when the part is projected to end (milliseconds). A sum of `startTime` and `expectedDurationMs`.
|
|
17
|
+
type: number
|
|
18
|
+
required: [startTime, expectedDurationMs, projectedEndTime]
|
|
19
|
+
examples:
|
|
20
|
+
- $ref: './currentPartTiming-example.yaml'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
expectedDurationMs: 15000
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
$defs:
|
|
2
|
+
currentSegmentTiming:
|
|
3
|
+
type: object
|
|
4
|
+
title: CurrentSegmentTiming
|
|
5
|
+
description: Timing information about the current segment
|
|
6
|
+
allOf:
|
|
7
|
+
- $ref: '../segmentTiming/segmentTiming.yaml#/$defs/segmentTiming'
|
|
8
|
+
- type: object
|
|
9
|
+
title: CurrentSegmentTiming
|
|
10
|
+
properties:
|
|
11
|
+
projectedEndTime:
|
|
12
|
+
description: Unix timestamp of when the segment is projected to end (milliseconds). The time this segment started, offset by its budget duration, if the segment has a defined budget duration. Otherwise, the time the current part started, offset by the difference between expected durations of all parts in this segment and the as-played durations of the parts that already stopped.
|
|
13
|
+
type: number
|
|
14
|
+
required: [expectedDurationMs, projectedEndTime]
|
|
15
|
+
examples:
|
|
16
|
+
- $ref: './currentSegmentTiming-example.yaml'
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
title: Segment Timing
|
|
2
|
+
description: Timing information for a segment
|
|
3
|
+
$defs:
|
|
4
|
+
segmentTiming:
|
|
5
|
+
type: object
|
|
6
|
+
title: SegmentTiming
|
|
7
|
+
properties:
|
|
8
|
+
expectedDurationMs:
|
|
9
|
+
description: Expected duration of the segment (milliseconds)
|
|
10
|
+
type: number
|
|
11
|
+
budgetDurationMs:
|
|
12
|
+
description: Budget duration of the segment (milliseconds)
|
|
13
|
+
type: number
|
|
14
|
+
countdownType:
|
|
15
|
+
description: 'Countdown type within the segment. Default: `part_expected_duration`'
|
|
16
|
+
$ref: '../segmentCountdownType.yaml'
|
|
17
|
+
required: [expectedDurationMs]
|
|
18
|
+
examples:
|
|
19
|
+
- ref: './segmentTiming-example.yaml'
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
description: Topic for active pieces updates
|
|
2
|
+
|
|
3
|
+
subscribe:
|
|
4
|
+
operationId: receiveActivePieces
|
|
5
|
+
description: Server sends active pieces events
|
|
6
|
+
message:
|
|
7
|
+
oneOf:
|
|
8
|
+
- $ref: '../../components/piece/messages/activePiecesMessage.yaml#/components/messages/activePiecesMessage'
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
description: Topic for active playlist updates
|
|
2
|
+
|
|
3
|
+
subscribe:
|
|
4
|
+
operationId: receiveActivePlaylist
|
|
5
|
+
description: Server sends active playlist events
|
|
6
|
+
message:
|
|
7
|
+
oneOf:
|
|
8
|
+
- $ref: '../../components/playlist/messages/activePlaylistMessage.yaml#/components/messages/activePlaylistMessage'
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
description: Buckets schema for websocket subscriptions
|
|
2
|
+
|
|
3
|
+
subscribe:
|
|
4
|
+
operationId: receiveBucketsUpdate
|
|
5
|
+
description: Server publishes Buckets updates
|
|
6
|
+
message:
|
|
7
|
+
oneOf:
|
|
8
|
+
- $ref: '../../components/buckets/messages/bucketsMessage.yaml#/components/messages/bucketsMessage'
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
description: Topic for server heartbeat messages
|
|
2
|
+
subscribe:
|
|
3
|
+
operationId: receiveHeartbeat
|
|
4
|
+
description: Server sends heartbeat messages when no other communication is happening.
|
|
5
|
+
message:
|
|
6
|
+
oneOf:
|
|
7
|
+
- $ref: '../../components/connection/messages/heartbeatMessage.yaml#/components/messages/heartbeatMessage'
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
description: Notifications topic for websocket subscriptions.
|
|
2
|
+
subscribe:
|
|
3
|
+
operationId: receiveNotifications
|
|
4
|
+
description: Server sends notifications updates
|
|
5
|
+
message:
|
|
6
|
+
oneOf:
|
|
7
|
+
- $ref: '../../components/notifications/messages/notificationsMessage.yaml#/components/messages/notificationsMessage'
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
description: Packages topic for websocket subscriptions. Packages are assets that need to be prepared by Sofie Package Manager or third-party systems to make AdLibs and Pieces playable.
|
|
2
|
+
subscribe:
|
|
3
|
+
operationId: receivePackagesUpdate
|
|
4
|
+
description: Server sends packages updates
|
|
5
|
+
message:
|
|
6
|
+
oneOf:
|
|
7
|
+
- $ref: '../../components/packages/messages/packagesMessage.yaml#/components/messages/packagesMessage'
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
description: Topic for ping/pong communication
|
|
2
|
+
publish:
|
|
3
|
+
operationId: sendPing
|
|
4
|
+
message:
|
|
5
|
+
oneOf:
|
|
6
|
+
- $ref: '../../components/connection/messages/pingMessage.yaml#/components/messages/pingMessage'
|
|
7
|
+
subscribe:
|
|
8
|
+
operationId: receivePong
|
|
9
|
+
message:
|
|
10
|
+
oneOf:
|
|
11
|
+
- $ref: '../../components/connection/messages/pongMessage.yaml#/components/messages/pongMessage'
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
description: Studio topic for websocket subscriptions
|
|
2
|
+
subscribe:
|
|
3
|
+
operationId: receiveStudioUpdate
|
|
4
|
+
description: Server sends studio status updates
|
|
5
|
+
message:
|
|
6
|
+
oneOf:
|
|
7
|
+
- $ref: '../../components/studio/messages/studioUpdate.yaml#/components/messages/studioUpdate'
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
description: Topic for managing subscription events.
|
|
2
|
+
|
|
3
|
+
subscribe:
|
|
4
|
+
operationId: receiveSubscriptionStatus
|
|
5
|
+
description: Server sends subscription status updates
|
|
6
|
+
message:
|
|
7
|
+
oneOf:
|
|
8
|
+
- $ref: '../../components/subscriptions/messages/subscriptionStatusErrorMessage.yaml#/components/messages/subscriptionStatusErrorMessage'
|
|
9
|
+
- $ref: '../../components/subscriptions/messages/subscriptionStatusSuccessMessage.yaml#/components/messages/subscriptionStatusSuccessMessage'
|
|
10
|
+
|
|
11
|
+
publish:
|
|
12
|
+
operationId: sendSubscriptionRequest
|
|
13
|
+
description: Client publishes subscription requests (subscribe/unsubscribe)
|
|
14
|
+
message:
|
|
15
|
+
oneOf:
|
|
16
|
+
- $ref: '../../components/subscriptions/messages/subscribeMessage.yaml#/components/messages/subscribeMessage'
|