Skip to main content

Get Subscribed Groups

This endpoint retrieves all subscribed groups by the user.

info

This operation requires authentication.

HTTP Request

GET /api/v2/group/

Parameters

NameInTypeRequiredDescription
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 {access_token}'
};

fetch('/api/v2/group/',
{
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(Group)falsenoneList of results

Example responses

{
"count": "integer",
"next": "string(uri)",
"previous": "string(uri)",
"results": [
{
"id": "integer",
"name": "string",
"description": "string",
"slug": "string",
"color": "string",
"privacy": {},
"visible": "boolean",
"active": "boolean",
"subscription_status": {},
"subscribed": "boolean",
"image_bigger": "string",
"image_big": "string",
"image_medium": "string",
"image_small": "string",
"emotional_image": "string",
"emotional_image_position": "integer",
"subscribers_counter": "integer"
"created_at": "string",
"created_by": {},
"managed_by": {},
}
]
}