Server locations
Documentation for Server locations
Read time 1 minuteLast updated 8 hours ago
Get a list of game server locations.
https://api.multiplay.co.uk/cfp/v1/server/locations
METHOD |
GET |
Request parameters
VARIABLE | DESCRIPTION | OPTIONAL |
accountserviceid | The
| 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> }, ... ] }