参加コミュニティ
GET
/users/:id/communities指定ユーザーが参加している(承認済み・非公開以外の)コミュニティを取得します。ページングはありません。
| 認証 | 不要 |
|---|
パスパラメータ
idstring必須ユーザー ID
レスポンス
| フィールド | 型 | 説明 |
|---|---|---|
communities | Community[] | コミュニティ配列(membershipRole / membershipTitle 付き) |
リクエスト
curl https://api.4s.link/users/ID/communities \-H "Authorization: Bearer 4s_at_..."
レスポンス例
{"communities": [{"id": "c1d2e3f4-...","name": "4S Developers","slug": "4s-devs","logoUrl": "https://.../logo.png","memberCount": 120,"tags": [],"membershipRole": "MEMBER","membershipTitle": null}]}