mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
Updated API (markdown)
This commit is contained in:
parent
4fe9d7dfdc
commit
c584837596
1 changed files with 44 additions and 0 deletions
44
API.md
44
API.md
|
@ -212,6 +212,7 @@
|
|||
],
|
||||
"description": String,
|
||||
"descriptionHtml": String,
|
||||
|
||||
"viewCount": Int64,
|
||||
"published": Int64,
|
||||
"lengthSeconds": Int32
|
||||
|
@ -246,3 +247,46 @@
|
|||
}
|
||||
]
|
||||
```
|
||||
|
||||
##### GET `/api/v1/captions/:id`
|
||||
> Schema:
|
||||
```
|
||||
{
|
||||
"captions": [
|
||||
{
|
||||
"label": String,
|
||||
"languageCode": String
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
##### GET `/api/v1/comments/:id`
|
||||
> Schema:
|
||||
```
|
||||
{
|
||||
"commentCount": Int32?,
|
||||
"comments": [
|
||||
{
|
||||
"author": String,
|
||||
"authorThumbnails": [
|
||||
"url": String,
|
||||
"width": Int32,
|
||||
"height": Int32
|
||||
],
|
||||
"authorId": String,
|
||||
"authorUrl": String,
|
||||
|
||||
"content": String,
|
||||
"published": Int64,
|
||||
"likeCount": Int32,
|
||||
"commentId": String,
|
||||
|
||||
"replies": {
|
||||
"replyCount": Int32,
|
||||
"continuation": String
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
Loading…
Reference in a new issue