comments

Updates a comment

put/comments/{comment_id}

Path parameters

comment_idstring required

A Comment ID

Query parameters

user_idstring required

The user ID of the user making the request

Request body

entityType'Track' | 'FanClub' | 'Event' required

Type of entity that can be commented on

entityIdinteger required

ID of the entity being commented on

bodystring required

The updated comment text

mentionsinteger[]

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

Example request

{
  "entityId": 12345,
  "mentions": [
    67890
  ]
}

Response

Comment updated successfully

transaction_hashstring

The blockchain transaction hash

block_hashstring

The blockchain block hash

block_numberinteger

The blockchain block number/height

Changes