Dedicated Servers
Last updated
Was this helpful?
Last updated
Was this helpful?
Create a new deployment. Deployment is a server instance of your application version.<br><br> Rate Limit: 40/second
/v1/deploy
The name of the App you want to deploy
app_name
The name of the App Version you want to deploy, if not present, the last version created is picked
version_name
If the Application is public or private. If not specified, we will look for a private Application
The List of IP of your user
The list of IP of your user with their location (latitude, longitude)
["85cf70e6-f871-42c6-96f0-65ff5bd469b5"]
A list of deployment variables
If you want to skip the Telemetry and use a geolocations decision only
If you want to specify a centroid for your deployment.
A web URL. This url will be called with method POST. The deployment status will be send in JSON format
https://www.webhook.com/
The list of tags for your deployment
The container log storage options for the deployment
Filters to use while choosing the deployment location.
Algorithm used to select the edge location
basic
basic
, weighted
Allows to override the Container command for this deployment.
null, "string"
Allows to override the Container arguments for this deployment.
null, "string"
Retrieve the information for a deployment.<br><br> Rate Limit: 20/second
/v1/status/{request_id}
Unique Identifier to keep track of your request across all Arbitrium ecosystem. It's included in the response of the app deploy, example:
93924761ccde
Delete an instance of deployment. It will stop the running container and all its games.
/v1/stop/{request_id}
Unique Identifier to keep track of your request across all Arbitrium ecosystem. It's included in the response of the app deploy, example:
93924761ccde
If you want to enable the container log storage for the deployment. You can put 'true' if you already have endpoint storage associated with your deployment's app version. You can put 'false' if it is enabled by default and you want to disable it for this specific request. Or you can put the name of your endpoint storage and if it is valid we will store the container logs.
Delete a deployment from the inside of a container. You should use this URL inside your deployment. The URL is injected in your deployment and can be found via the environment variable ARBITRIUM_DELETE_URL.
/v1/self/stop/{request_id}//{access_point_id}
Unique Identifier to keep track of your request across all Arbitrium ecosystem. It's included in the response of the app deploy, example:
93924761ccde
Access Point Number provided by our system
If you want to enable the container log storage for the deployment. You can put 'true' if you already have endpoint storage associated with your deployment's app version. You can put 'false' if it is enabled by default and you want to disable it for this specific request. Or you can put the name of your endpoint storage and if it is valid we will store the container logs.
Auto Generated token. This token is injected in your deployment and can be found via the environment variable named ARBITRIUM_DELETE_TOKEN
Make a bulk delete of deployments using filters. All the deployments matching the given filters will be permanently deleted.
/v1/deployments/bulk-stop
Filters used to match with deployments
List all the locations available to deploy on. You can specify an application and a version to filter out the locations that donโt have enough resources to deploy this application version.
/v1/locations
The App Name you want to filter with capacity
The Version Name you want to filter with capacity
The type of the location
Gets locations with tags. Set to: "true" to have the tags
Retrieve the logs of your container. Logs are not available when your deployment is terminated. You can set up an endpoint storage to save your logs. <a target='_blank' href='https://docs.edgegap.com/docs/deployment/endpoint-storage'>Endpoint Storage Documentation</a>
/v1/deployment/{request_id}/container-logs
Get the metrics for a specific deployment based on the start_time
, end_time
and steps
. raw
parameter can be set to true to get the raw data.
/v1/metrics/deployment/{request_id}
Starting time for the query. Default to deployment start time. Should match %Y-%m-%d %H:%M:%S.%f
Example: 2021-07-10 00:00:00.00
End time for the metrics. Default to now.Must be greater than start_time. Should match %Y-%m-%d %H:%M:%S.%f
Example: 2021-07-19 00:00:00.00
Steps between each metrics.
Example: 30s, 1m, 5m 10m, 1h
If set to true, will return the raw data. Default to false.
Update a fleet with new specifications.
/v1/fleet/{fleet_name}
The name of the fleet
Name of the Fleet
fleet_name
If the Fleet is enabled
Delete a fleet, its policies and links between the application versions.
/v1/fleet/{fleet_name}
The name of the fleet
Create a fleet policy. Policies are conditions that the fleet must respect.
/v1/fleet/{fleet_name}/policies
The name of the fleet
Name of the Policy
policy_name
If the Policy is enabled. Defaults to true.
true
Type of the Policy. See our documentation for more information on the type and it's data.
Location
Location
, Tag
, Coordinates
Minimum deployments at all time
1
Maximum deployments for the provided type.
1
Based on the number of sockets connected, how filled should a session deployment be before initiating a scale-up deployment. Float between 0.1 and 1.
JSON object for your filters. See our documentation for more information.
{"filters":[{"field":"city","values":["Montreal"],"filter_type":"any"}]}
Create a fleet. A fleet is a top-level object; you must create child resources to work properly.
/v1/fleet
Name of the Fleet
fleet_name
If the Fleet is enabled. Defaults to false.
List all the policies of a fleet.
/v1/fleet/{fleet_name}/policies
The name of the fleet
Page number for pagination
Limit of Fleet for each page
An optional fields mask
Link an application version to a fleet. By linking this version, the fleet will automatically create deployments of this version according to the fleet policies.
/v1/fleet/{fleet_name}/app/{app_name}/version/{version_name}
The name of the fleet
The name of the application to link
The name of the application version to link
Unlink an application version from a fleet. It will not delete the application version or the fleet
/v1/fleet/{fleet_name}/app/{app_name}/version/{version_name}
The name of the fleet
The name of the application to link
The name of the application version to link
No body
Delete a policy. It will not delete the fleet.
/v1/fleet/{fleet_name}/policies/{policy_name}
The name of the fleet
The name of the policy to delete
Retrieve a specific policy of a fleet.
/v1/fleet/{fleet_name}/policies/{policy_name}
The name of the fleet
The name of the policy
Update a policy with new specifications.
/v1/fleet/{fleet_name}/policies/{policy_name}
The name of the fleet
The name of the policy
Name of the Policy
policy_name
If the Policy is enabled. Defaults to true.
true
Type of the Policy. See our documentation for more information on the type and it's data.
Location
Location
, Tag
, Coordinates
Minimum deployments at all time
1
Maximum deployments for the provided type.
1
Based on the number of sockets connected, how filled should a session deployment be before initiating a scale-up deployment. Float between 0.1 and 1.
0.9
JSON object for your filters. See our documentation for more information.
{"filters":[{"field":"city","values":["Montreal"],"filter_type":"any"}]}
UTC time of policy creation
2022-01-01 00:00:00.000000
UTC time of policy last update
2022-01-01 00:00:00.000000
Create a tag for a deployment. The tag will however not be injected into a running container.
/v1/deployments/{request_id}/tags
The name of the tag
v1.0.0
Delete a tag for a deployment. The tag will however not be removed from the environment of a running container.
/v1/deployments/{request_id}/tags/{tag_name}
No body
Update a tag for a deployment.
/v1/deployments/{request_id}/tags/{tag_name}
The name of the tag
v1.0.0