Skip to main content

Get Related Events

This endpoint retrieves the list of all the events related to the event identified by {id}.

info

This operation does not require authentication.

HTTP Request

GET /api/v2/event/{id}/related/

Parameters

NameInTypeRequiredDescription
idpathintegertrueA unique integer value identifying this event
created_byqueryintegerfalseThe integer value identifying the event creator id
limitqueryintegerfalseNumber of results to return per page
offsetqueryintegerfalseThe initial index from which to return the results

Example Request

const headers = {
'Accept':'application/json',
'Authorization: Bearer <token>'
};

fetch('/api/v2/event/{id}/related/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» countintegerfalsenoneTotal results count
» nextstring(uri)¦nullfalsenoneNext page url
» previousstring(uri)¦nullfalsenonePrevious page url
» resultslist(Event)falsenoneList of results