Get a Specific Reaction
This endpoint retrieves a specific reaction.
info
This operation does not require authentication.
HTTP Request
GET /api/v2/reaction/{id}/
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | A unique integer value identifying this reaction |
Example Request
- JavaScript
- Bash
const headers = {
'Accept':'application/json'
};
fetch('/api/v2/reaction/{id}/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
# You can also use wget
curl -X GET /api/v2/reaction/{id}/ \
-H 'Accept: application/json'
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Response status code | Reaction |
Example responses
- 200
{
"id": "integer",
"label": "string",
"sentiment": "integer",
"image": "string(uri)",
"active": "boolean"
}