Skip to content

[ERROR] Comments GET Endpoint Description #37

@MarkMoretto

Description

@MarkMoretto

Have you read the contributing guidelines?

  • I have read the contributing guidelines.

Where is the error?

On the Comments endpoint page.

Correction

The document stattes the following:

Returns a paginated list of Comment objects. The postId in the URL is the publicId of the post.

But, this is incorrect. The call returns a Response object. The Response object contains a field, comments, which is a list of comments and user's will have to explicitly select this in order to access comments for the Post.

The Response object also has a field called next, which holds the value of a pagination marker, or the ID of a comment that would be next if batching is used (I'm guessing since it doesn't seem like a limit query parameter is available for this endpoint like you might find under the Posts endpoint).

Would you like to work on this?

  • I would like to work on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    errorSomething's wrong with the content

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions