Skip to main content

Track Comments

GET 

/tracks/:track_id/comments

Get a list of comments for a track

Request

Path Parameters

    track_id stringrequired

    A Track ID

Query Parameters

    offset integer

    The number of items to skip. Useful for pagination (page number * limit)

    limit integer

    The number of items to fetch

    user_id string

    The user ID of the user making the request

    sort_method string

    Possible values: [top, newest, timestamp]

    Default value: top

    The sort method

Responses

Success
Schema
    dataobject[]
  • Array [

  • id stringrequired
    user_id string
    message stringrequired
    mentionsobject[]
  • Array [

  • user_id integerrequired
    handle stringrequired
  • ]

  • track_timestamp_s integer
    react_count integerrequired
    reply_count integerrequired
    is_edited booleanrequired
    is_current_user_reacted boolean
    is_artist_reacted boolean
    is_tombstone boolean
    is_muted boolean
    created_at stringrequired
    updated_at string
    repliesobject[]
  • Array [

  • id stringrequired
    user_id stringrequired
    message stringrequired

    mentions

    object[]
  • Array [

  • user_id integerrequired
    handle stringrequired
  • ]

  • track_timestamp_s integer
    react_count integerrequired
    is_edited booleanrequired
    is_current_user_reacted boolean
    is_artist_reacted boolean
    created_at stringrequired
    updated_at string
  • ]

  • ]

Loading...