コミュニティ
自分のメンバーシップ
GET
/communities/:id/my-membership認証中ユーザーのそのコミュニティにおけるメンバーシップを返します。未参加の場合は null を返します。
| 認証 | 要ログイン |
|---|
パスパラメータ
idstring必須コミュニティ ID または slug。
レスポンス
| フィールド | 型 | 説明 |
|---|---|---|
member | CommunityMember | null | 自分の参加情報。参加していなければ null。 |
リクエスト
curl https://api.4s.link/communities/ID/my-membership \-H "Authorization: Bearer 4s_at_..."
レスポンス例
{"member": {"id": "cm1a2b3c-...","role": "MEMBER","status": "APPROVED"}}