Discover communities
GET
/v1/communities
const url = 'https://api.gampeon.com/v1/communities';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.gampeon.com/v1/communitiesOpen communities of published studios and projects, most members first (up to 50). Accounts under 16 do not see communities for 16+. With login, joined says whether you are a member.
Not available with access tokens.
Authorizations
Section titled “Authorizations”- None
- session
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”q
string
Search in name and description
Responses
Section titled “Responses”Communities
Media typeapplication/json
object
communities
required
Array
object
id
required
integer
name
required
string
description
required
string
icon
required
cover
required
owner
required
object
type
required
string
slug
required
string
name
required
string
joinMode
required
open: anyone who meets the minimum age can join. invite: only with an invite link
string
minAge
required
13 or 16. Communities for 18+ come only with real age verification
integer
members
required
integer
players
required
Players online right now on servers of the project (or of all projects of the studio)
integer
createdAt
required
Unix time in milliseconds
integer format: int64
joined
required
boolean
Example
{ "communities": [ { "owner": { "type": "studio" }, "joinMode": "open" } ]}Error codes: token_not_allowed
Media typeapplication/json
object
error
required
Machine-readable error code, for example not_found or rate_limited.
string
message
Human-readable detail. Only present for some errors.
string
Example generated
{ "error": "example", "message": "example"}