Path parameters
-
clanid
integer Required
Query parameters
-
typed
integer Required Type of relationship. 0 PNA, 1 Ally, 2 Enemy, 30 False PNA, 31 False Ally, 32 False War
Values are
NAP
,ALLY
,WAR
,FALSE_NAP
,FALSE_ALLY
,FALSE_WAR
,0
,1
,2
,30
,31
, or32
. -
clanflag
string Shows the colour of the clan in hexadecimal
-
nameotherclan
string Required Clan name
-
symbol
string Image of the flag
POST
/clans/{clanid}/relationships/
curl \
--request POST 'http://api.example.com/clans/{clanid}/relationships/?typed=NAP&nameotherclan=string' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (201)
{
"message": "string"
}
Response examples (400)
string
Response examples (401)
string
Response examples (405)
string
Response examples (503)
string