コミュニティ詳細

GET/communities/:id

指定コミュニティの詳細を取得します。非公開コミュニティにアクセス権が無い場合は 404 を返します。

認証任意(ログイン時に応答が変化)

パスパラメータ

idstring必須

コミュニティ ID

レスポンス

フィールド説明
id / name / slugstring基本情報
websiteUrl / customNavigationstring | object | nullURL / カスタムナビ
createdByUser作成者
memberCountnumberメンバー数
tagsstring[]タグ
リクエスト
curl https://api.4s.link/communities/ID \
-H "Authorization: Bearer 4s_at_..."
レスポンス例
{
"id": "c1d2e3f4-...",
"name": "4S Developers",
"description": "...",
"joinType": "FREE",
"visibility": "PUBLIC",
"logoUrl": "https://.../logo.png",
"slug": "4s-devs",
"websiteUrl": "https://example.com",
"memberCount": 120,
"tags": [],
"createdBy": { "id": "a1b2c3d4-...", "slug": "taro" },
"createdAt": "2026-01-01T00:00:00.000Z"
}