Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -586,10 +586,12 @@ page: Int32
> Schema:
```javascript
{
browseId?: String,
ucid?: String,
videoId?: String,
playlistId?: String,
startTimeSeconds?: String,
postId?: String,
params?: String,
pageType: string
}
Expand Down
9 changes: 7 additions & 2 deletions docs/api/channels_endpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ This usually means that parsing support for the attachment type has not yet been
##### GET `/api/v1/post/:id`
> Url parameters

* `ucid`: You can optionally provide the channel's id for fetching the post.
* `ucid`: It's recommended to provide the channel's id for fetching the post.

> Response:
Same as [`/api/v1/channels/:id/community`](#get-apiv1channelsidcommunity) but only returns one post in the comments array
Expand All @@ -268,7 +268,12 @@ Same as [`/api/v1/channels/:id/community`](#get-apiv1channelsidcommunity) but on

##### GET `/api/v1/post/:id/comments`

* `ucid`: You can optionally provide the channel's id for fetching the post's comments.
> Url parameters

* `ucid`: You need to provide the channel's id for fetching the post's comments.
* `sort_by`: "top", "new" (default: top)



> Response:
Same as [`/api/v1/channels/:id/comments`](../api.md#get-apiv1commentsid) but has a postId instead of a videoId