自分のメンバーシップ

GET/communities/:id/my-membership

認証中ユーザーのそのコミュニティにおけるメンバーシップを返します。未参加の場合は null を返します。

認証要ログイン

パスパラメータ

idstring必須

コミュニティ ID または slug。

リクエスト
curl https://api.4s.link/communities/ID/my-membership \
-H "Authorization: Bearer 4s_at_..."
レスポンス例
{
"member": {
"id": "cm1a2b3c-...",
"role": "MEMBER",
"status": "APPROVED"
}
}