mirror of
https://github.com/TeamPiped/OpenAPI.git
synced 2024-08-14 23:56:55 +00:00
Add some missing fields.
This commit is contained in:
parent
6652b1fa9b
commit
00c31960d7
1 changed files with 24 additions and 0 deletions
24
swagger.yaml
24
swagger.yaml
|
@ -636,6 +636,9 @@ components:
|
||||||
example: true
|
example: true
|
||||||
Stream:
|
Stream:
|
||||||
properties:
|
properties:
|
||||||
|
itag:
|
||||||
|
type: integer
|
||||||
|
description: The itag of the stream, or -1 if not available.
|
||||||
url:
|
url:
|
||||||
type: string
|
type: string
|
||||||
description: The URL of the stream.
|
description: The URL of the stream.
|
||||||
|
@ -674,6 +677,18 @@ components:
|
||||||
type: integer
|
type: integer
|
||||||
fps:
|
fps:
|
||||||
type: integer
|
type: integer
|
||||||
|
audioTrackId:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
audioTrackName:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
audioTrackType:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
audioTrackLocale:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
StreamItem:
|
StreamItem:
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
|
@ -730,6 +745,9 @@ components:
|
||||||
type: string
|
type: string
|
||||||
description: The short description of the video.
|
description: The short description of the video.
|
||||||
nullable: true
|
nullable: true
|
||||||
|
contentLength:
|
||||||
|
type: integer
|
||||||
|
description: The content length of the video.
|
||||||
StreamsPage:
|
StreamsPage:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -809,6 +827,12 @@ components:
|
||||||
verified:
|
verified:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Whether the author of the comment is verified.
|
description: Whether the author of the comment is verified.
|
||||||
|
creatorReplied:
|
||||||
|
type: boolean
|
||||||
|
description: Whether the video's uploader replied to the comment.
|
||||||
|
channelOwner:
|
||||||
|
type: boolean
|
||||||
|
description: Whether the author of the comment is the video's uploader.
|
||||||
CommentsPage:
|
CommentsPage:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|
Loading…
Reference in a new issue