Documentation

Support

Multiplay Clanforge

Open Clanforge

Multiplay Clanforge

Server countries

Documentation for Server countries
Read time 1 minuteLast updated 3 months ago

Return a list of countries relating to servers in the given
accountserviceid
.
https://api.multiplay.co.uk/cfp/v1/server/countries
METHODCONTENT TYPE
GETapplication/x-www-form-urlencoded

Request parameters

VARIABLEDESCRIPTIONOPTIONAL
accountserviceidThe
<accountserviceid>
parameter accepts an account service ID (ASID) associated with the specified resource. The credentials in the request header must have access to the ASID to perform the request.
No

Response fields

Field

Type

Description

Optional

countriesarrayList of country objectsNo

Country object

Field

Type

Description

Optional

codestringCountry codeNo
countryidintegerID of the countryNo
namestringName of the countryNo

Example request

curl --location --request GET 'https://api.multiplay.co.uk/cfp/v1/server/countries?accountserviceid=<accountserviceid>' \--header 'Authorization: Basic YOUR_AUTH_CREDENTIALS'

Example response

{ "countries": [ { "code": <code>, "countryid": <countryid>, "name": "<name> }, ... }}