List groups
Groups you belong to, with member count and whether you can add photos.
GET https://cotlet.dev/api/v1/flickr/groups
read
Returns the Flickr groups your account belongs to, with the member count and whether the group lets you add photos. A group can also hold photos for approval by its admins, which is shown on each item. Use group_id in add_photo_to_group.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/flickr/groups \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("flickr", "list_groups") const result = await cotlet.call('flickr', 'list_groups'); cotlet call flickr list_groups Example response
{
"groups": [
{
"group_id": "1234567@N20",
"name": "Street Lisbon",
"members": 3120,
"can_add_photos": true,
"moderated": false
},
{
"group_id": "7654321@N22",
"name": "Urban Light",
"members": 18450,
"can_add_photos": true,
"moderated": true
}
]
}