code-mergeGestion des versions

📦 Applications

Create a New Application

post

Create an application that will regroup application versions.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Corps
namestring · min: 1 · max: 64Requis

The application name

Example: Example App
is_activebooleanRequis

If the application can be deployed

Example: true
is_telemetry_agent_activebooleanOptionnel

If the telemetry agent is installed on the versions of this app.

imagestringRequis

Image base64 string

Example: iVBORw0KGgoAAAANSUhEUg[...]AAABJRU5ErkJggg==
Réponses
chevron-right
200

Success

application/json
post
/v1/app

Update an Application

patch

Update an application with new information.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
app_namestringRequis
Corps
namestring · min: 3 · max: 64Optionnel

Application name

Example: Example App
is_activebooleanOptionnel

If the application can be deployed

Example: true
is_telemetry_agent_activebooleanOptionnel

If the telemetry agent is installed on the versions of this app.

imagestringOptionnel

Image base64 string

Example: iVBORw0KGgoAAAANSUhEUg[...]AAABJRU5ErkJggg==
Réponses
chevron-right
200

Success

application/json
patch
/v1/app/{app_name}

Get an Application

get

Retrieve an application and its information.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
app_namestringRequis
Réponses
chevron-right
200

Success

application/json
get
/v1/app/{app_name}

Delete an Application

delete

Delete an application and all its current versions.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
app_namestringRequis
Réponses
chevron-right
200

Success

Aucun contenu

delete
/v1/app/{app_name}

Aucun contenu

Create a New Application Version

post

Create an application version associated with an application. The version contains all the specifications to create a deployment.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
app_namestringRequis

The name of the application associated

Corps
namestring · min: 1 · max: 64Requis

This is the identifier for your version. It’s often linked to a build version, but can be any unique name.

Example: 1.0.0
is_activebooleanOptionnel

This boolean tells the system whether this version can be deployed or is deactivated.

Example: true
docker_repositorystringRequis

‘docker_repository’ is named incorrectly, this property references the Docker registry where this version’s container image is hosted (e.g., ‘registry.edgegap.com’ or ‘docker.io’).

Example: docker.io
docker_imagestringRequis

The Docker image for your version, usually including a namespace or project.

Example: edgegap/lyrastartergame
docker_tagstringRequis

The Docker tag for your version. It must be valid according to your Docker image.

Example: 25.05.30-16.45.19-04
private_usernamestringOptionnel

The username used to access your container registry. This is not your Edgegap account credential.

Example: my_username
private_tokenstringOptionnel

The token or password used to access your container registry. This is not your Edgegap account password.

Example: my_password
req_cpuinteger · min: 100Requis

The number of vCPU units required to run your server container (1024 units = 1 vCPU).

Example: 1536
req_memoryinteger · min: 100Requis

The amount of memory in MB required to run your server container (1024 MB = 1 GB). It can be at most twice the number of vCPU units requested.

Example: 3072
req_videointegerOptionnel

Units of GPU needed (1024 = 1 GPU)

max_durationintegerOptionnel

The maximum duration in minutes the app version can run before being automatically stopped. If omitted, the default is 1440 minutes (24 hours).

Example: 30
force_cachebooleanOptionnel

Enable faster deployments by caching your container across all Edgegap locations. Recommended for live games.

Example: true
caching_percentnumberOptionnel

Current caching percentage on scale 0-1, with 1 meaning 100% global cache coverage. Values above 0.8 are considered to be a good caching coverage level.

Example: 0.8
time_to_deployinteger · min: 15Optionnel

Time in seconds to wait for the app version to deploy before marking it as failed. Useful for enforcing strict deployment time limits.

Example: 15
verify_imagebooleanOptionnel

By enabling the verify_image option, your image information (docker_repository, docker_image, docker_tag) will be tested to ensure the image can be pulled successfully.

Default: falseExample: true
termination_grace_period_secondsinteger · min: 5 · max: 3600Optionnel

Termination grace period in seconds after sending the SIGTERM signal to the container. Allows graceful shutdown and post-processing before the container stops.

Example: 5
endpoint_storagestringOptionnel

The name of the endpoint storage to use to store the container logs at the end of the deployment. This will overwrite the default storage in the app version.

Example: my-storage
commandstring · nullableOptionnel

Entrypoint/command override for your container. This replaces the default command and should be used with caution.

Example: null | 'string'
argumentsstring · nullableOptionnel

Arguments to pass to the container’s command. This replace the default arguments and should be used with caution

Example: null | 'string'
dns_configstringOptionnel

The name of the DNS configuration to link with your deployment.

will_deploy_in_mainland_chinabooleanOptionnel

If true, the app version will only be deployed in Mainland China locations. Otherwise, it will never deploy in Mainland China locations.

Default: false
Réponses
chevron-right
200

Success

application/json
post
/v1/app/{app_name}/version

Delete an Application Version

delete

Delete a specific version of an application.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
app_namestringRequis

The name of the application

version_namestringRequis

The name of the application version

Réponses
chevron-right
200

Success

application/json
delete
/v1/app/{app_name}/version/{version_name}

Get an Application Version

get

Retrieve the specifications of an application version.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
app_namestringRequis

The name of the application

version_namestringRequis

The name of the application version

Réponses
chevron-right
200

Success

application/json
get
/v1/app/{app_name}/version/{version_name}

Update an Application Version

patch

Update an application version with new specifications.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
app_namestringRequis

The name of the application

version_namestringRequis

The name of the application version

Corps
namestring · min: 1 · max: 64Optionnel

This is the identifier for your version. It’s often linked to a build version, but can be any unique name.

Example: 1.0.0
is_activebooleanOptionnel

This boolean tells the system whether this version can be deployed or is deactivated.

Example: true
docker_repositorystringOptionnel

‘docker_repository’ is named incorrectly, this property references the Docker registry where this version’s container image is hosted (e.g., ‘registry.edgegap.com’ or ‘docker.io’).

Example: docker.io
docker_imagestringOptionnel

The Docker image for your version, usually including a namespace or project.

Example: edgegap/lyrastartergame
docker_tagstringOptionnel

The Docker tag for your version. It must be valid according to your Docker image.

Example: 25.05.30-16.45.19-04
private_usernamestringOptionnel

The username used to access your container registry. This is not your Edgegap account credential.

Example: my_username
private_tokenstringOptionnel

The token or password used to access your container registry. This is not your Edgegap account password.

Example: my_password
max_durationinteger · nullableOptionnel

The maximum duration in minutes the app version can run before being automatically stopped. If omitted, the default is 1440 minutes (24 hours).

Example: 30
force_cachebooleanOptionnel

Enable faster deployments by caching your container across all Edgegap locations. Recommended for live games.

Example: true
time_to_deployinteger · min: 15Optionnel

Time in seconds to wait for the app version to deploy before marking it as failed. Useful for enforcing strict deployment time limits.

Example: 15
termination_grace_period_secondsinteger · min: 5 · max: 3600Optionnel

Termination grace period in seconds after sending the SIGTERM signal to the container. Allows graceful shutdown and post-processing before the container stops.

Example: 5
verify_imagebooleanOptionnel

By enabling the verify_image option, your image infos (docker_repository, docker_image, docker_tag) will be tested.

Default: falseExample: true
endpoint_storagestringOptionnel

The name of the endpoint storage to use to store the container logs at the end of the deployment. This will overwrite the default storage in the app version.

Example: my-storage
commandstring · nullableOptionnel

Entrypoint/command override for your container. This replaces the default command and should be used with caution.

Example: null | 'string'
argumentsstring · nullableOptionnel

Arguments to pass to the container’s command. This replace the default arguments and should be used with caution

Example: null | 'string'
dns_configstringOptionnel

The name of the DNS configuration to link with your deployment.

will_deploy_in_mainland_chinabooleanOptionnel

If true, the app version will only be deployed in Mainland China locations. Otherwise, it will never deploy in Mainland China locations.

Default: false
Réponses
chevron-right
200

Success

application/json
patch
/v1/app/{app_name}/version/{version_name}

List All Versions for an Application

get

List all versions of a specific application.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
app_namestringRequis

The name of the application

Réponses
chevron-right
200

Success

application/json
get
/v1/app/{app_name}/versions

List All Applications

get

List all the applications that you own.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Réponses
chevron-right
200

Success

application/json
get
/v1/apps

💾 Registre de conteneurs

List All Tags for a Registry Image

get

List all tags of a specific registry image.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
image_namestringRequis

The name of the image

Réponses
chevron-right
200

Success

application/json
get
/v1/container-registry/images/{image_name}/tags

Delete Tag For a Registry Image

delete

Delete a single tag from a artifact in the registry.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
image_namestringRequis

The name of the image

tag_namestringRequis

The name of the tag

Réponses
chevron-right
200

Success

application/json
delete
/v1/container-registry/images/{image_name}/tags/{tag_name}

Create a New Pull Profile

post

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.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
endpoint_namestringRequis
Corps
namestringRequis

Name of the pull profile

Example: pull_profile_name
sourcestringRequis

Source in the S3 bucket to fetch from

Example: /my-bucket/config.cfg
source_typestring · enumRequis

If the source is a File or a Directory

Example: FileValeurs possibles:
destinationstringRequis

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.

Example: /usr/share/configs
Réponses
chevron-right
200

Success

application/json
post
/v1/storage/endpoint/{endpoint_name}/pull-profile

Get a Pull Profile

get

Retrieve a pull profile and its specifications.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
endpoint_namestringRequis
pull_profile_namestringRequis
Réponses
chevron-right
200

Success

application/json
get
/v1/storage/endpoint/{endpoint_name}/pull-profile/{pull_profile_name}

Update a Pull Profile

patch

Update a pull profile with new specifications.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
endpoint_namestringRequis
pull_profile_namestringRequis
Corps
namestringOptionnel

Name of the pull profile

Example: pull_profile_name
sourcestringOptionnel

Source in the S3 bucket to fetch from

Example: /my-bucket/config.cfg
source_typestring · enumOptionnel

If the source is a File or a Directory

Example: FileValeurs possibles:
destinationstringOptionnel

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.

Example: /usr/share/configs
Réponses
chevron-right
200

Success

application/json
patch
/v1/storage/endpoint/{endpoint_name}/pull-profile/{pull_profile_name}

Delete a Pull Profile

delete

Delete a pull profile. All the application versions linked won't receive the data upload anymore. It will not delete your endpoint storage.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
endpoint_namestringRequis
pull_profile_namestringRequis
Réponses
delete
/v1/storage/endpoint/{endpoint_name}/pull-profile/{pull_profile_name}

Aucun contenu

List All Pull Profile of an Endpoint Storage

get

List all pull profiles of an endpoint storage.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
endpoint_namestringRequis
Paramètres de requête
pageintegerOptionnel

Page number for pagination

limitintegerOptionnel

Limit of pull profiles for each page

Réponses
chevron-right
200

Success

application/json
get
/v1/storage/endpoint/{endpoint_name}/pull-profiles

Link a Pull Profile to an Application Version

put

Link a pull profile to an app version. Without a link, the pull profile by itself will do nothing.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
endpoint_namestringRequis
pull_profile_namestringRequis
app_namestringRequis
version_namestringRequis
Réponses
chevron-right
200

Success

application/json
put
/v1/storage/endpoint/{endpoint_name}/pull-profile/{pull_profile_name}/app/{app_name}/version/{version_name}

Unlink a Pull Profile From an Application Version

delete

Unlink a pull profile from an app version. It will not delete the pull profile.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
endpoint_namestringRequis
pull_profile_namestringRequis
app_namestringRequis
version_namestringRequis
Réponses
delete
/v1/storage/endpoint/{endpoint_name}/pull-profile/{pull_profile_name}/app/{app_name}/version/{version_name}

Aucun contenu

🗒️ Stockage des journaux

Create a New Endpoint Storage

post

Create an endpoint storage to store your container logs at the end of a deployment.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Corps
namestringRequis

Name of the Endpoint Storage

Example: my-s3-bucket
access_key_idstringRequis

Your access key ID to connect to your S3 Bucket.

Example: my-access-key-id
endpointstringRequis

Full URL to your S3 Bucket with https or http. It's recommended to not include your bucket name as a subdomain

Example: https://us-east-1.your-s3-provider.com
bucketstringRequis

Your secret access key to connect to your S3 Bucket. Will be encrypted.

Example: my-bucket
output_formatstring · enumOptionnel

The format how the logs will be exported to the bucket.

Default: TEXTExample: NDJSONValeurs possibles:
secret_access_keystringRequis

Your secret access key to connect to your S3 Bucket. Will be encrypted.

Example: my-secret-access
Réponses
chevron-right
200

Success

application/json
post
/v1/storage/endpoint

Delete an Endpoint Storage

delete

Delete an endpoint storage. All the application versions linked to it won't be able to store logs anymore.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
endpoint_namestringRequis
Réponses
delete
/v1/storage/endpoint/{endpoint_name}

Aucun contenu

List All Endpoint Storage

get

List all endpoint storage.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de requête
pageintegerOptionnel

Page number for pagination

limitintegerOptionnel

Limit of Fleet for each page

Paramètres d'en-tête
X-Fieldsstring · maskOptionnel

An optional fields mask

Réponses
chevron-right
200

Success

application/json
get
/v1/storage/endpoints

Get an Endpoint Storage

get

Retrieve an endpoint storage. The secret_access_key won't be displayed.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
endpoint_namestringRequis
Réponses
chevron-right
200

Success

application/json
get
/v1/storage/endpoint/{endpoint_name}

Update an Endpoint Storage

patch

Update an Endpoint Storage with new specifications.

Autorisations
authorizationstringRequis

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Paramètres de chemin
endpoint_namestringRequis
Corps
namestringOptionnel

Name of the Endpoint Storage

Example: my-s3-endpoint
access_key_idstringOptionnel

Your access key ID to connect to your S3 Bucket.

Example: my-access-key-id
endpointstringOptionnel

Full URL to your S3 Bucket with https or http. It's recommended to not include your bucket name as a subdomain

Example: https://us-east-1.your-s3-provider.com
bucketstringOptionnel

Your secret access key to connect to your S3 Bucket. Will be encrypted.

Example: my-bucket
output_formatstring · enumOptionnel

The format how the logs will be exported to the bucket.

Default: TEXTExample: NDJSONValeurs possibles:
secret_access_keystringOptionnel

Your secret access key to connect to your S3 Bucket. Will be encrypted.

Example: my-secret-access
Réponses
chevron-right
200

Success

application/json
patch
/v1/storage/endpoint/{endpoint_name}

Mis à jour

Ce contenu vous a-t-il été utile ?