Add more information.

This commit is contained in:
Kavin 2023-05-01 18:24:20 +01:00
parent 911b8ffb2a
commit 61850e3844
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -94,7 +94,7 @@ paths:
tags: tags:
- channel - channel
- unauthenticated - unauthenticated
summary: Gets Channel Information summary: Gets Channel Information from ID.
operationId: channelInfoId operationId: channelInfoId
description: | description: |
Gets all available Channel information about a channel. Gets all available Channel information about a channel.
@ -125,7 +125,7 @@ paths:
tags: tags:
- channel - channel
- unauthenticated - unauthenticated
summary: Gets Channel Information summary: Gets Channel Information from name.
operationId: channelInfoName operationId: channelInfoName
description: | description: |
Gets all available Channel information about a channel. Gets all available Channel information about a channel.
@ -155,7 +155,7 @@ paths:
tags: tags:
- channel - channel
- unauthenticated - unauthenticated
summary: Gets Channel Information summary: Gets Channel Information from username.
operationId: channelInfoUsername operationId: channelInfoUsername
description: | description: |
Gets all available Channel information about a channel. Gets all available Channel information about a channel.
@ -382,6 +382,7 @@ paths:
type: array type: array
items: items:
type: string type: string
pattern: "^[a-zA-Z0-9_-]{24}$"
example: example:
- UCs6KfncB4OV6Vug4o_bzijg - UCs6KfncB4OV6Vug4o_bzijg
- UClcE-kVhqyiHCcjYwcpfj9w - UClcE-kVhqyiHCcjYwcpfj9w
@ -681,6 +682,10 @@ components:
- title - title
- url - url
properties: properties:
type:
type: string
description: The type of the stream item. Always stream.
example: stream
duration: duration:
type: integer type: integer
description: The duration of the video in seconds. description: The duration of the video in seconds.
@ -718,6 +723,13 @@ components:
views: views:
type: integer type: integer
description: The number of views the video has. description: The number of views the video has.
isShort:
type: boolean
description: Whether or not the video is a short video.
shortDescription:
type: string
description: The short description of the video.
nullable: true
StreamsPage: StreamsPage:
type: object type: object
properties: properties:
@ -814,6 +826,10 @@ components:
ChannelItem: ChannelItem:
type: object type: object
properties: properties:
type:
type: string
description: The type of the channel item. Always channel.
example: channel
description: description:
type: string type: string
description: The description of the channel. description: The description of the channel.
@ -838,6 +854,10 @@ components:
PlaylistItem: PlaylistItem:
type: object type: object
properties: properties:
type:
type: string
description: The type of the playlist item. Always playlist.
example: playlist
name: name:
type: string type: string
description: The name of the playlist. description: The name of the playlist.