Locations list
Warning: The API documentation here is for Managed Game Server Hosting (Clanforge). If you’re using Game Server Hosting (Multiplay), refer to the Game Server API documentation.
Get all scalable locations.
https://api.multiplay.co.uk/cfp/v1/locations
METHOD |
GET |
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 |
---|---|---|---|
name | string | Name of the location | No |
locationid | integer | ID of the location | No |
Example request
curl --location -g 'https://api.multiplay.co.uk/cfp/v1/server/locations?accountserviceid=<accountserviceid>' \
--header 'Authorization: Basic YOUR_AUTH_CREDENTIALS'
Example response
{
"name": <name>,
"locationid": <locationid>,
}