Skip to main content

Get comments for userId

GET 

/comments/by/user/:userId

Get comments for userId

Request

Path Parameters

    userId uuidrequired

Query Parameters

    content string

    Search for comments by content

    startDate date-time

    Search by start date

    endDate date-time

    Search by end date

    page integer

    Possible values: >= 1

    Default value: 1

    Specify the page number for pagination (default is 1).

    limit integer

    Default value: 10

    Specify the number of projects per page (default is 10, 0 gets all results).

    sortBy string

    Possible values: [createdAt, content]

    Field to order the results by (e.g., 'createdAt', 'numMonthlyUsers'). Default is 'createdAt'.

    sortOrder string

    Possible values: [asc, desc]

    Default value: desc

    'asc' for ascending or 'desc' for descending order. Default is 'desc'.

Responses

Comments retrieved

Schema

  • Array [

  • createdAt date-time

    Time representation of entity creation

    body string
    state commentState (string)

    Possible values: [public, hidden, flagged, studioApproved, studioRejected]

    owner address (string)
    id commentId (string)

    Unique identifier for Comment

    submissionId submissionId (string)

    Unique identifier for Project

  • ]

Loading...