mirror of
https://github.com/iv-org/documentation.git
synced 2024-12-22 14:05:09 -05:00
Updated API (markdown)
This commit is contained in:
parent
4fe9d7dfdc
commit
c584837596
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 New Issue
Block a user