Fleet allocations
Documentation for Fleet allocations
Read time 1 minuteLast updated 4 hours ago
Fleet allocations is a utility endpoint useful for finding allocations for which you don't have the allocation UUID anymore, but have not yet timed out. Don't use this endpoint as part of a matchmaker flow to monitor allocations. Instead, use Server allocations.
https://api.multiplay.co.uk/cfp/v2/fleet/<fleetid>/allocations
METHOD |
GET |
Request parameters
VARIABLE | DESCRIPTION | OPTIONAL |
fleetid | The
| No |
age | The
| No |
limit | The
| Yes |
empty | The
| Yes |
Response fields
Field | Type | Description | Optional |
---|---|---|---|
profileid | integer | ID of the profile used by this server | No |
uuid | string | ID of the allocation | No |
regions | string | ID of regions this game server is in | No |
created | string | Time at which the allocation was created | No |
requested | string | Time at which the allocation was requested | No |
eta | string | Time at which the allocation is estimated to be fulfilled | No |
fulfilled | string | Time at which the allocation was fulfilled | No |
ready | string | Time at which the allocation was marked as ready for players | Yes |
serverid | integer | ID of the server for this allocation | No |
fleetid | string | ID of the fleet this server is in | No |
regionid | string | ID of the region this server is in | No |
machineid | integer | ID of the machine this server is on | No |
ip | string | IP (version 4) address of this game server | No |
ipv6 | string | IP (version 6) address of this game server (if supported by your fleet) | Yes |
game_port | integer | Network port for this game server | No |
Example request
curl --location --request GET 'https://api.multiplay.co.uk/cfp/v2/fleet/<fleetid>/allocations?age=<age>&limit=<limit>&empty=<empty>' \ --header 'Authorization: Basic YOUR_AUTH_CREDENTIALS'
Example response
[ { "profileid": <profileid>, "uuid": <uuid>, "requestid": <requestid>, "regions": <regions>, "requested": <requested>, "created": <created>, "fulfilled": <fulfilled>, "eta": <eta>, "serverid": <serverid>, "fleetid": <fleetid>, "regionid": <regionid>, "machineid": <machineid>, "ip": <ip>, "ipv6": <ipv6>, "game_port": <port>, "ready": <status> }, ... ]