Integration
Last updated
Was this helpful?
Last updated
Was this helpful?
Create an application that will regroup application versions.
/v1/app
The application name
Example App
If the application can be deployed
true
If the telemetry agent is installed on the versions of this app.
Image base64 string
iVBORw0KGgoAAAANSUhEUg[...]AAABJRU5ErkJggg==
Update an application with new information.
/v1/app/{app_name}
Application name
Example App
If the application can be deployed
true
If the telemetry agent is installed on the versions of this app.
Image base64 string
iVBORw0KGgoAAAANSUhEUg[...]AAABJRU5ErkJggg==
Create an application version associated with an application. The version contains all the specifications to create a deployment.
/v1/app/{app_name}/version
The name of the application associated
The Version Name
v1
If the Version is active currently in the system
The Repository where the image is (i.e. 'harbor.edgegap.com' or 'docker.io')
registry.edgegap.com
The name of your image (i.e. 'edgegap/demo')
demo
The tag of your image (i.e. '0.1.2')
0.1.2
The username to access the docker repository
username
The Private Password or Token of the username (We recommend to use a token)
password
Units of vCPU needed (1024 = 1vcpu)
256
Units of memory in MB needed (1024 = 1GB)
256
Units of GPU needed (1024 = 1 GPU)
256
The Max duration of the game in minute. 0 means forever.
30
Allow to inject ASA Variables
DEPRECATED - The context environment variables are now injected into all deployments by default. No changes are required. (https://docs.edgegap.com/docs/deployment/injected-variables)
ACL Protection is active
Allow faster deployment by caching your container image in every Edge site
The kind of the app version. Can be "session" or "non-session"
Start of the preferred interval for caching your container
End of the preferred interval for caching your container
Estimated maximum time in seconds to deploy, after this time we will consider it not working and retry.
15
(Deprecated) Enable every location available. By enabling this, your request will use every potential location, including those which may require a longer time to deploy. This means that your application could take significantly more time before being ready. We do not recommend this feature for live games. This functionality does not support ACL and Caching at the moment.
Parameters defining the behavior of a session-based app version. If set, the app is considered to be session-based.
By enabling the verify_image option, your image infos (docker_repository, docker_image, docker_tag) will be tested.
Termination grace period in seconds after the SIGTERM signal has been sent
The name of the endpoint storage to link
my-storage
Entrypoint/Command override of your Container
null, "string"
The Arguments to pass to the command
null, "string"
The creation time of the app version
The last update time of the app version
The name of the DNS config to link
Delete a specific version of an application.
/v1/app/{app_name}/version/{version_name}
The name of the application
The name of the application version
Retrieve the specifications of an application version.
/v1/app/{app_name}/version/{version_name}
The name of the application
The name of the application version
Update an application version with new specifications.
/v1/app/{app_name}/version/{version_name}
The name of the application
The name of the application version
The Version Name
v1
If the Version is active currently in the system
The Repository where the image is (i.e. 'harbor.edgegap.com' or 'docker.io')
registry.edgegap.com
The name of your image (i.e. 'edgegap/demo')
demo
The tag of your image (i.e. '0.1.2')
0.1.2
The username to access the docker repository
username
The Private Password or Token of the username (We recommend to use a token)
password
Units of vCPU needed (1024 = 1vcpu)
256
Units of memory in MB needed (1024 = 1GB)
256
Units of GPU needed (1024= 1 GPU)
256
The Max duration of the game
30
Allow to inject ASA Variables
DEPRECATED - The context environment variables are now injected into all deployments by default. No changes are required. (https://docs.edgegap.com/docs/deployment/injected-variables)
ACL Protection is active
Allow faster deployment by caching your container image in every Edge site
Start of the preferred interval for caching your container
End of the preferred interval for caching your container
Estimated maximum time in seconds to deploy, after this time we will consider it not working and retry.
15
(Deprecated) Enable every location available. By enabling this, your request will use every potential location, including those which may require a longer time to deploy. This means that your application may take up to 2 minutes before being up and ready. This functionality does not support ACL and Caching at the moment.
Parameters defining the behavior of a session-based app version. If set, the app is considered to be session-based.
Termination grace period in seconds after the SIGTERM signal has been sent
By enabling the verify_image option, your image infos (docker_repository, docker_image, docker_tag) will be tested.
The name of the endpoint storage to link
my-storage
Entrypoint/Command override of your Container
null, "string"
The Arguments to pass to the command
null, "string"
The name of the DNS config to link
List all versions of a specific application.
/v1/app/{app_name}/versions
The name of the application
List all tags of a specific registry image.
/v1/container-registry/images/{image_name}/tags
The name of the image
Delete a single tag from a artifact in the registry.
/v1/container-registry/images/{image_name}/tags/{tag_name}
The name of the image
The name of the tag
Create an endpoint storage to store your container logs at the end of a deployment.
/v1/storage/endpoint
Name of the Endpoint Storage
my-s3-bucket
Your access key ID to connect to your S3 Bucket.
my-access-key-id
Full URL to your S3 Bucket with https or http. It's recommended to not include your bucket name as a subdomain
https://us-east-1.your-s3-provider.com
Your secret access key to connect to your S3 Bucket. Will be encrypted.
my-bucket
Your secret access key to connect to your S3 Bucket. Will be encrypted.
my-secret-access
Delete an endpoint storage. All the application versions linked to it won't be able to store logs anymore.
/v1/storage/endpoint/{endpoint_name}
No body
Retrieve an endpoint storage. The secret_access_key
won't be displayed.
/v1/storage/endpoint/{endpoint_name}
Update an Endpoint Storage with new specifications.
/v1/storage/endpoint/{endpoint_name}
Name of the Endpoint Storage
my-s3-endpoint
Your access key ID to connect to your S3 Bucket.
my-access-key-id
Full URL to your S3 Bucket with https or http. It's recommended to not include your bucket name as a subdomain
https://us-east-1.your-s3-provider.com
Your secret access key to connect to your S3 Bucket. Will be encrypted.
my-bucket
Your secret access key to connect to your S3 Bucket. Will be encrypted.
my-secret-access
Create a pull profile. Pull profile will upload data from an endpoint storage to a deployment container on boot. You must link the application version to the pull profile first.
/v1/storage/endpoint/{endpoint_name}/pull-profile
Name of the pull profile
pull_profile_name
Source in the S3 bucket to fetch from
/my-bucket/config.cfg
If the source is a File or a Directory
File
File
, Folder
Destination path where your source will be uploaded in your container. Make sure to avoid protected destinations, such as /etc/
, as this will prevent the files from being copied to your deployment, and will make your deployment fail. Make sure a normal user can write to the destination folder.
/usr/share/configs
Delete a pull profile. All the application versions linked won't receive the data upload anymore. It will not delete your endpoint storage.
/v1/storage/endpoint/{endpoint_name}/pull-profile/{pull_profile_name}
No body
Retrieve a pull profile and its specifications.
/v1/storage/endpoint/{endpoint_name}/pull-profile/{pull_profile_name}
Update a pull profile with new specifications.
/v1/storage/endpoint/{endpoint_name}/pull-profile/{pull_profile_name}
Name of the pull profile
pull_profile_name
Source in the S3 bucket to fetch from
/my-bucket/config.cfg
If the source is a File or a Directory
File
File
, Folder
Destination path where your source will be uploaded in your container. Make sure to avoid protected destinations, such as /etc/
, as this will prevent the files from being copied to your deployment, and will make your deployment fail. Make sure a normal user can write to the destination folder.
/usr/share/configs
Link a pull profile to an app version. Without a link, the pull profile by itself will do nothing.
/v1/storage/endpoint/{endpoint_name}/pull-profile/{pull_profile_name}/app/{app_name}/version/{version_name}
Unlink a pull profile from an app version. It will not delete the pull profile.
/v1/storage/endpoint/{endpoint_name}/pull-profile/{pull_profile_name}/app/{app_name}/version/{version_name}
No body
List all pull profiles of an endpoint storage.
/v1/storage/endpoint/{endpoint_name}/pull-profiles
Page number for pagination
Limit of pull profiles for each page
List all endpoint storage.
/v1/storage/endpoints
Page number for pagination
Limit of Fleet for each page
An optional fields mask