mirror of
https://github.com/iv-org/documentation.git
synced 2024-12-22 22:09:22 -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,
|
"authorId": String,
|
||||||
"comments": {
|
"comments": {
|
||||||
"attachment": ImageAttachment | MultiImageAttachment | VideoAttachment | PollAttachment
|
"attachment": ImageAttachment | MultiImageAttachment | VideoAttachment | PollAttachment | PlaylistAttachment
|
||||||
"author": String,
|
"author": String,
|
||||||
"authorIsChannelOwner": Boolean
|
"authorIsChannelOwner": Boolean
|
||||||
"authorId": String,
|
"authorId": String,
|
||||||
@ -161,6 +161,9 @@ Please refer to the [Community Post Attachment types](#community-post-attachment
|
|||||||
__VideoAttachment__
|
__VideoAttachment__
|
||||||
See [VideoObject](./common_types.md#videoobject) common type
|
See [VideoObject](./common_types.md#videoobject) common type
|
||||||
|
|
||||||
|
__PlaylistAttachment__
|
||||||
|
See [PlaylistObject](./common_types.md#playlistobject) common type
|
||||||
|
|
||||||
__ImageAttachment__
|
__ImageAttachment__
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
"descriptionHtml": String,
|
"descriptionHtml": String,
|
||||||
|
|
||||||
"viewCount": Number, // Integer
|
"viewCount": Number, // Integer
|
||||||
|
"viewCountText": String,
|
||||||
"lengthSeconds": Number, // Integer
|
"lengthSeconds": Number, // Integer
|
||||||
|
|
||||||
"published": Number, // Unix timestamp
|
"published": Number, // Unix timestamp
|
||||||
@ -85,7 +86,7 @@
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### PlaylistOject
|
### PlaylistObject
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user