Comments

Return comments for all posts accessible to owner of API token.

/api/v1/comments/

Get

You need to provide Authorization header with Bearer token or query string param:

curl -H 'Accept: application/json'\
     -H "Authorization: Bearer <API_TOKEN>"\
     https://productroad.com/api/v1/comments/

Example response

{
    "next": null,
    "previous": null,
    "results": [
        {
            "id": <COMMENT ID>,
            "kind": "reply",
            "status": null,
            "likes_count": 0,
            "created": "2020-12-24T20:48:25.061641Z",
            "highlighted": false,
            "internal": false,
            "content": "<COMMENT CONTENT>",
            "post": {
                "id": 3,
                "title": "<POST TITLE>",
                "url": "<POST RELATIVE URL>"
            },
            "creator": {
                "id": <USER ID>,
                "email": "<USER EMAIL>",
                "name": "<USER NAME>",
                "alias": "<USER ALIAS>",
                "is_admin": false,
                "registered": "2020-12-24T20:47:53.437616Z",
                "is_team": false
            }
        },
        ...
    ]
}