mirror of
https://github.com/iv-org/documentation.git
synced 2024-12-22 14:05:09 -05:00
Add playlist attachment type (#378)
* Add playlist attachment type * add viewCountText to video object
This commit is contained in:
parent
01ec20f4d6
commit
cf0b6310d3
@ -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 New Issue
Block a user