mirror of
				https://gitea.invidious.io/iv-org/documentation
				synced 2025-06-05 22:19:26 +02:00 
			
		
		
		
	Add playlist attachment type (#378)
* Add playlist attachment type * add viewCountText to video object
This commit is contained in:
		| @@ -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 | ||||
| { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user