All categoriesAPIVotes API endpoint

Votes API endpoint

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

/api/v1/votes/

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/votes/

Example response:

{
"next": null,
"previous": null,
"results": [
{
"id": <VOTE ID>,
"voted": "2019-11-27T00:23:34.298486Z",
"creator": {
"id": <USER ID>,
"email": "<USER EMAIL>",
"name": "<USER NAME>",
"alias": "<USER ALIAS>"
},
"post": {
"id": <POST ID>,
"title": "<POST TITLE>",
"url": "<POST RELATIVE URL>"
},
"captured_by": null
},
...
]
}