mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
Add playlist attachment type (#378)
* Add playlist attachment type * add viewCountText to video object
This commit is contained in:
parent
01ec20f4d6
commit
cf0b6310d3
2 changed files with 6 additions and 2 deletions
|
@ -140,7 +140,7 @@ Please refer to the [Community Post Attachment types](#community-post-attachment
|
|||
{
|
||||
"authorId": String,
|
||||
"comments": {
|
||||
"attachment": ImageAttachment | MultiImageAttachment | VideoAttachment | PollAttachment
|
||||
"attachment": ImageAttachment | MultiImageAttachment | VideoAttachment | PollAttachment | PlaylistAttachment
|
||||
"author": String,
|
||||
"authorIsChannelOwner": Boolean
|
||||
"authorId": String,
|
||||
|
@ -161,6 +161,9 @@ Please refer to the [Community Post Attachment types](#community-post-attachment
|
|||
__VideoAttachment__
|
||||
See [VideoObject](./common_types.md#videoobject) common type
|
||||
|
||||
__PlaylistAttachment__
|
||||
See [PlaylistObject](./common_types.md#playlistobject) common type
|
||||
|
||||
__ImageAttachment__
|
||||
|
||||
```javascript
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
"descriptionHtml": String,
|
||||
|
||||
"viewCount": Number, // Integer
|
||||
"viewCountText": String,
|
||||
"lengthSeconds": Number, // Integer
|
||||
|
||||
"published": Number, // Unix timestamp
|
||||
|
@ -85,7 +86,7 @@
|
|||
```
|
||||
|
||||
|
||||
### PlaylistOject
|
||||
### PlaylistObject
|
||||
|
||||
```javascript
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue