Skip to main content

Update Comment

PUT 

/comments/:comment_id

Updates a comment

Request

Path Parameters

    comment_id stringrequired

    A Comment ID

Query Parameters

    user_id stringrequired

    The user ID of the user making the request

Body

required

    entityType comment_entity_type (string)required

    Possible values: [Track]

    Type of entity that can be commented on

    entityId integerrequired

    ID of the entity being commented on

    body stringrequired

    Possible values: <= 500 characters

    The updated comment text

    mentions integer[]

    Possible values: <= 10

    Array of user IDs mentioned in the comment (max 10)

Responses

Comment updated successfully

Schema

    success boolean

    Whether the operation was successful

    transaction_hash string

    The blockchain transaction hash

Loading...