{"info":{"_postman_id":"7c15836f-b7de-4802-87b2-080cb17bbe15","name":"Community Graphs Public API","description":"<html><head></head><body><h1 id=\"welcome\"><strong>Welcome</strong></h1>\n<p><strong>Hello builder! Welcome to the documentation for building with Community Graphs. We are excited you are here to build with us! Community Graphs is in an early stage of development and is expanding in functionality quickly! Please let us know if there are any features you would like that can aid you in creating your vision with Community Graphs.</strong></p>\n<p><strong>On with the documentation.</strong></p>\n<h1 id=\"obtaining-an-api-key\"><strong>Obtaining an API Key</strong></h1>\n<p><strong>Contact Leo, Jesse, or Cait (who probably linked this document to you) to obtain your key, if you do not have one already. Each API key gives access to one or more communities, so be sure to specify the communit(y, ies) you need to access.</strong></p>\n<h1 id=\"api-endpoints\"><strong>API Endpoints</strong></h1>\n<p><strong>The base URL for all endpoints is:</strong> <a href=\"https://api.communitygraphs.xyz/\"><b>https://api.communitygraphs.xyz/</b></a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Welcome","slug":"welcome"},{"content":"Obtaining an API Key","slug":"obtaining-an-api-key"},{"content":"API Endpoints","slug":"api-endpoints"}],"owner":"3131837","collectionId":"7c15836f-b7de-4802-87b2-080cb17bbe15","publishedId":"2sA3kd9cTA","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-07-31T18:07:48.000Z"},"item":[{"name":"Get Community","id":"c76c8aa6-4b27-40e2-848c-8a2b41e8781b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"testAccessKey","type":"text"}],"url":"https://api.communitygraphs.xyz/external/getCommunity?community_id=c7bd0f32-a31f-41d7-9a87-f5a7ab738e83","description":"<h2 id=\"response-fields\">Response Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>Unique ID of the community</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Name of the community.</td>\n</tr>\n<tr>\n<td>avatar_url</td>\n<td>string | null</td>\n<td>URL to the community's avatar image</td>\n</tr>\n<tr>\n<td>avatar_thumbnail_url</td>\n<td>string | null</td>\n<td>URL to the thumbnail image of the community's avatar</td>\n</tr>\n<tr>\n<td>tg_link</td>\n<td>string | null</td>\n<td>Telegram or Element link for the community</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string | null</td>\n<td>Description of the community and its purpose</td>\n</tr>\n<tr>\n<td>member_count</td>\n<td>integer</td>\n<td>Number of members in the community.</td>\n</tr>\n<tr>\n<td>handle</td>\n<td>string</td>\n<td>Handle of the community.</td>\n</tr>\n<tr>\n<td>privacy_level</td>\n<td>string</td>\n<td>Privacy level of the community (1 = low, 2 = med, 3 = high, 4 = max).</td>\n</tr>\n<tr>\n<td>is_permissionless</td>\n<td>boolean</td>\n<td>If true, community does not require approval to join.</td>\n</tr>\n<tr>\n<td>gating_mechanism</td>\n<td>string | null</td>\n<td>Gating mechanism for the community</td>\n</tr>\n<tr>\n<td>gated_by</td>\n<td>string | null</td>\n<td>ID of the gating entity</td>\n</tr>\n<tr>\n<td>is_top_level</td>\n<td>boolean</td>\n<td>Is community a top level community</td>\n</tr>\n<tr>\n<td>is_event_gated</td>\n<td>boolean</td>\n<td>Is community gated by event attendance</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external","getCommunity"],"host":["https://api.communitygraphs.xyz"],"query":[{"key":"community_id","value":"c7bd0f32-a31f-41d7-9a87-f5a7ab738e83"}],"variable":[]}},"response":[],"_postman_id":"c76c8aa6-4b27-40e2-848c-8a2b41e8781b"},{"name":"Get Community Members","id":"b132f248-d80c-44ae-808a-5d57ba2b3552","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"testAccessKey","type":"text"}],"url":"https://api.communitygraphs.xyz/external/getMembers?community_id=c7bd0f32-a31f-41d7-9a87-f5a7ab738e83","description":"<h2 id=\"response-fields\">Response Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Full name of the member.</td>\n</tr>\n<tr>\n<td>handle</td>\n<td>string</td>\n<td>Handle of the member.</td>\n</tr>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>Unique ID of member.</td>\n</tr>\n<tr>\n<td>avatar_url</td>\n<td>string | null</td>\n<td>URL to the member’s avatar image</td>\n</tr>\n<tr>\n<td>avatar_thumbnail_url</td>\n<td>string | null</td>\n<td>URL to the thumbnail image of the member’s avatar</td>\n</tr>\n<tr>\n<td>role</td>\n<td>integer</td>\n<td>Member’s role in the community (1 = admin, 2 = moderator, 3 = member)</td>\n</tr>\n<tr>\n<td>membership_level</td>\n<td>number</td>\n<td>A value of 0 to 1 representing the member’s membership level within the community. (Higher levels indicate a user is more integrated into the community.)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external","getMembers"],"host":["https://api.communitygraphs.xyz"],"query":[{"key":"community_id","value":"c7bd0f32-a31f-41d7-9a87-f5a7ab738e83"}],"variable":[]}},"response":[],"_postman_id":"b132f248-d80c-44ae-808a-5d57ba2b3552"}],"event":[{"listen":"prerequest","script":{"id":"0b96d572-9f7f-41b7-88dd-fd3f3991d5ed","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"af285a15-6ed1-43dc-bce4-3f88ba3e93eb","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"base_url","value":"https://api.communitygraphs.xyz","type":"string"}]}