Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 759 Bytes

mine.md

File metadata and controls

38 lines (31 loc) · 759 Bytes

List your groups

List every group you're a member of, including groups you own.

GET /v2/groups/mine

Auth: Required. Sub-tokens need groups:view.

Example

GET /v2/groups/mine
Authorization: Bearer YOUR_TOKEN

Response 200: an array of group objects, or [] if you aren't in any groups.

[
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "tag": "mygroup",
    "name": "My Group",
    "description": "A group for testing",
    "readme": "",
    "rules": "",
    "icon_url": "",
    "banner_url": "",
    "owner_user_id": "alice",
    "public": true,
    "join_policy": "OPEN",
    "entry_fee": 0,
    "created_at": 1717000000,
    "credits_balance": 0,
    "member_count": 5
  }
]