Skip to content

Commit

Permalink
Remove legacy schema definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-lando committed May 30, 2024
1 parent f4d29f4 commit 952a00f
Showing 1 changed file with 1 addition and 250 deletions.
251 changes: 1 addition & 250 deletions oas_apivideo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14869,47 +14869,7 @@ components:
description: 'Whether you will have subtitles or not. True for yes you will have subtitles, false for no you will not have subtitles.'
example: false
default: false
video-session:
title: VideoSession
type: object
properties:
session:
$ref: '#/components/schemas/video-session-session'
location:
$ref: '#/components/schemas/video-session-location'
referrer:
$ref: '#/components/schemas/video-session-referrer'
device:
$ref: '#/components/schemas/video-session-device'
os:
$ref: '#/components/schemas/video-session-os'
client:
$ref: '#/components/schemas/video-session-client'
example:
session:
sessionId: psEmFwGQUAXR2lFHj5nDOpy
loadedAt: '2019-06-24T11:45:01.109Z'
endedAt: '2019-06-24T11:49:19.243Z'
location:
country: France
city: Paris
referrer:
url: 'https://api.video'
medium: organic
source: 'https://google.com'
searchTerm: video encoding hosting and delivery
device:
type: desktop
vendor: Dell
model: unknown
os:
name: Microsoft Windows
shortname: W10
version: Windows10
client:
type: browser
name: Firefox
version: '67.0'

live-stream:
title: LiveStream
type: object
Expand Down Expand Up @@ -14958,22 +14918,6 @@ components:
required:
- liveStreamId
- restreams
live-stream-session:
title: LiveStreamSession
type: object
properties:
session:
$ref: '#/components/schemas/live-stream-session-session'
location:
$ref: '#/components/schemas/live-stream-session-location'
referrer:
$ref: '#/components/schemas/live-stream-session-referrer'
device:
$ref: '#/components/schemas/live-stream-session-device'
os:
$ref: '#/components/schemas/video-session-os'
client:
$ref: '#/components/schemas/live-stream-session-client'
player-session-event:
title: PlayerSessionEvent
type: object
Expand Down Expand Up @@ -15991,115 +15935,6 @@ components:
format: uri
example: 'https://cdn.api.video/vod/vi4k0jvEUuaTdRAEjQ4Jfrgz/token/8fd70443-d9f0-45d2-b01c-12c8cfc707c9/mp4/source.mp4'
description: Collection of details about the video object that you can use to work with the video object.
video-session-session:
title: VideoSessionSession
type: object
properties:
sessionId:
type: string
description: The unique identifier for the session that you can use to track what happens during it.
example: psEmFwGQUAXR2lFHj5nDOpy
loadedAt:
type: string
description: 'When the video session started, presented in ISO-8601 format.'
format: date-time
example: '2019-06-24T11:45:01.109Z'
endedAt:
type: string
description: 'When the video session ended, presented in ISO-8601 format.'
format: date-time
example: '2019-06-24T12:45:01.109Z'
metadata:
type: array
description: 'A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your videos.'
example: '[{"key": "Author", "value": "John Doe"}]'
items:
$ref: '#/components/schemas/metadata'
video-session-location:
title: VideoSessionLocation
type: object
properties:
country:
type: string
description: The country of the viewer.
example: France
city:
type: string
description: The city of the viewer.
example: Paris
nullable: true
description: The location of the viewer.
video-session-referrer:
title: VideoSessionReferrer
type: object
properties:
url:
type: string
description: The link the viewer used to reach the video session.
example: 'https://api.video'
nullable: true
medium:
type: string
description: 'How they arrived at the site, for example organic or paid. Organic meaning they found it themselves and paid meaning they followed a link from an advertisement.'
example: organic
source:
type: string
description: The source the referrer came from to the video session. For example if they searched through google to find the stream.
example: 'https://google.com'
searchTerm:
type: string
description: The search term they typed to arrive at the video session.
video-session-device:
title: VideoSessionDevice
type: object
properties:
type:
type: string
description: 'What the type is like desktop, laptop, mobile.'
example: desktop
vendor:
type: string
description: 'If known, what the brand of the device is, like Apple, Dell, etc.'
example: Dell
model:
type: string
description: 'The specific model of the device, if known.'
example: unknown
description: What type of device the user is on when in the video session.
video-session-os:
title: VideoSessionOs
type: object
properties:
name:
type: string
description: The name of the operating system.
example: Microsoft Windows
shortname:
type: string
description: 'The nickname for the operating system, often representing the version.'
example: W10
version:
type: string
description: The version of the operating system.
example: Windows 10
description: The operating system the viewer is on.
video-session-client:
title: VideoSessionClient
type: object
properties:
name:
type: string
description: The name of the browser used to view the video session.
example: Firefox
version:
type: string
description: The version of the browser used to view the video session.
example: '67.0'
type:
type: string
description: The type of client used to view the video session.
example: browser
description: What kind of browser the viewer is using for the video session.
live-stream-assets:
title: LiveStreamAssets
type: object
Expand All @@ -16123,90 +15958,6 @@ components:
description: A link to the thumbnail for your video.
format: uri
example: 'https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg'
live-stream-session-session:
title: LiveStreamSessionSession
type: object
properties:
sessionId:
type: string
description: A unique identifier for your session. You can use this to track what happens during a specific session.
loadedAt:
type: string
description: 'When the session started, with the date and time presented in ISO-8601 format.'
format: date-time
example: '2019-06-24T11:45:01.109Z'
endedAt:
type: string
description: 'When the session ended, with the date and time presented in ISO-8601 format.'
format: date-time
example: '2019-06-24T12:45:01.109Z'
live-stream-session-location:
title: LiveStreamSessionLocation
type: object
properties:
country:
type: string
description: The country of the viewer of the live stream.
example: France
city:
type: string
description: The city of the viewer of the live stream.
example: Paris
description: The location of the viewer of the live stream.
live-stream-session-referrer:
title: LiveStreamSessionReferrer
type: object
properties:
url:
type: string
description: The website the viewer of the live stream was referred to in order to view the live stream.
example: 'https://api.video'
medium:
type: string
description: 'The type of search that brought the viewer to the live stream. Organic would be they found it on their own, paid would be they found it via an advertisement.'
example: organic
source:
type: string
description: Where the viewer came from to see the live stream (usually where they searched from).
example: 'https://google.com'
searchTerm:
type: string
description: What term they searched for that led them to the live stream.
example: video stream
live-stream-session-device:
title: LiveStreamSessionDevice
type: object
properties:
type:
type: string
description: 'What the type is like desktop, laptop, mobile.'
example: desktop
vendor:
type: string
description: 'If known, what the brand of the device is, like Apple, Dell, etc.'
example: Dell
model:
type: string
description: 'The specific model of the device, if known.'
example: unknown
description: What type of device the user is on when in the live stream session.
live-stream-session-client:
title: LiveStreamSessionClient
type: object
properties:
name:
type: string
description: The name of the browser used to view the live stream session.
example: Firefox
version:
type: string
description: The version of the browser used to view the live stream session.
example: '67.0'
type:
type: string
description: The type of client used to view the live stream session.
example: browser
description: What kind of browser the viewer is using for the live stream session.
video-status-ingest:
title: VideoStatusIngest
type: object
Expand Down

0 comments on commit 952a00f

Please sign in to comment.