Get User Events
This endpoint return the list of events the user is subscribed to.
info
This operation does not require authentication.
HTTP Request
GET /api/v2/user/{id}/events/
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | integer | true | A unique integer value identifying this user |
Example Request
- JavaScript
- Bash
const headers = {
'Accept':'application/json'
};
fetch('/api/v2/user/{id}/events/',
{
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/user/{id}/events/ \
-H 'Accept: application/json'
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Response status code | list(Event) |