Total Emotions
Get the quantity of each emotion detected during a specific session
URL
GET /v1/sessions/:sessionId/emotions
Request URL Parameters
| Parameter | Description |
|---|---|
| :sessionId | ID of the session to retrieve. |
Response Body
session
string
Expandable
ID of the session
Example:
65ea1530bb50af72b6e3dc1eemotions
object
Key-value object containing the times each emotion was detected
Response codes
| Code | Meaning | Description |
|---|---|---|
| 200 | OK | The request has succeeded. The client can read the result in the body. |
| 400 | Bad Request | Server received an invalid request body or invalid query parameters. |
| 404 | Not Found | The requested resource does not exist or you do not have permissions to perform this action on it. |
Request example
curl -X GET 'https://api.emogg.com/v1/sessions/:sessionId/emotions' \
-H 'Authorization: Bearer YOUR_API_TOKEN'Example response
{
"session": "65ea1530bb50af72b6e3dc1e",
"emotions": {}
}