Clans API
GET /api/clan/available
Section titled “GET /api/clan/available”Description: Obsolete. Gets available clans. Returns ApiClanAvailableResponse object.
Query Parameters:
| NAME | DESCRIPTION | REQUIRED |
|---|---|---|
| userKey | Account token | no |
POST /api/clan/create
Section titled “POST /api/clan/create”Description: Obsolete. Creates a clan.
Query Parameters:
| NAME | DESCRIPTION | REQUIRED |
|---|---|---|
| userKey | Account token | yes |
| tag | 3-letter tag | yes |
| name | Clan name | yes |
| description | Clan description | no |
POST /api/clan/:clanId:/invite
Section titled “POST /api/clan/:clanId:/invite”Description: Obsolete. Invites a user to a clan.
Query Parameters:
| NAME | DESCRIPTION | REQUIRED |
|---|---|---|
| userKey | Account token | yes |
| userId | User ID | yes |
POST /api/clan/:clanId:/join
Section titled “POST /api/clan/:clanId:/join”Description: Obsolete. Joins a clan you were previously invited to.
Query Parameters:
| NAME | DESCRIPTION | REQUIRED |
|---|---|---|
| userKey | Account token | yes |
| clanId | Clan ID | yes |
POST /api/clan/:clanId:/leave
Section titled “POST /api/clan/:clanId:/leave”Description: Obsolete. Leaves a clan.
Query Parameters:
| NAME | DESCRIPTION | REQUIRED |
|---|---|---|
| userKey | Account token | yes |