Get User Groups to Address a Contribution
This endpoint returns the user groups to address a contribution
info
This operation requires authentication.
HTTP Request
GET /api/v2/user/group/groups_to_address_a_contribution/
Example Request
- JavaScript
- Bash
const headers = {
'Accept':'application/json',
'Authorization': 'Bearer <token>'
};
fetch('/api/v2/user/group/groups_to_address_a_contribution/',
{
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/group/groups_to_address_a_contribution/ \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Response status code | Group |
Example responses
- 200
[
{
"id": "integer",
"name": "string",
"description": "string",
"slug": string,
"privacy": string,
"image_bigger": "string",
"image_big": "string",
"image_medium": "string",
"image_small": "string",
"subscribers_counter": "integer",
"subscription_status": "string"
},
{...}
]