Server locations# Warning : The API documentation here is for Clanforge. If you’re using Multiplay Hosting, refer to the Multiplay Hosting API documentation .
Get a list of game server locations.
https://api.multiplay.co.uk/cfp/v1/server/locations
Request parameters# VARIABLE DESCRIPTION OPTIONAL accountserviceid The <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 locations array List of location objects containing the name and ID of the server location. No
Locations object# Field Type Description Optional locationid string ID of the location of this server No name string Name of the location No
Example request# curl --location --request GET 'https://api.multiplay.co.uk/cfp/v1/server/locations?accountserviceid=<accountserviceid> \
--header 'Authorization: Basic YOUR_AUTH_CREDENTIALS'
Example response# {
"locations": [
{
"locationid": <locationid>,
"name": <name>
},
...
]
}