Skip to content

Tag Verification

The tag verification endpoint allows you to check if a specific version (tag) of your game image is available in a particular region of the Gameye fleet. This is useful when you need to ensure that a specific version of your game server is ready to be deployed.

GET /tag/{region}/{image}/{version}
ParameterTypeRequiredDescription
regionstringYesThe region name to check (e.g., “eu-west-1”, “eu-central-1”)
imagestringYesThe ID of your game image
versionstringYesThe image version (Docker tag) you want to check
GET /tag/eu-central-1/my-game-server/v1.2.3 HTTP/1.1
Host: api.gameye.io
Authorization: Bearer YOUR_TOKEN_HERE

On success, you’ll receive a 200 OK response with a simple JSON object indicating whether the tag exists:

{
"exists": true
}

If the tag doesn’t exist, the response will be:

{
"exists": false
}
Status CodeDescription
400Bad Request - Invalid request format
401Unauthorized - Invalid bearer token
404Not Found - Image not found or you’re not authorized to use it
{
"statusCode": 404,
"code": "RESOURCE_NOT_FOUND",
"message": "Image not found or you are not authorized to use this image.",
"details": "Please verify the image name and tag are correct.",
"identifier": "3bc545b7-4750-47e6-a918-c93debc58663",
"path": "/tag/eu-central-1/my-game-server/1.0.0",
"timestamp": "2023-04-01T12:00:00Z"
}

Before creating a session with a specific version, you can verify that the version is available in your target region:

  1. Call the tag verification endpoint
  2. If exists is true, proceed with creating the session
  3. If exists is false, fall back to another version or notify administrators

When rolling out a new version of your game server:

  1. Deploy the new version to your container registry
  2. Use the tag verification endpoint to monitor when the new version becomes available across regions
  3. Begin creating new sessions with the new version once it’s available

For operations monitoring:

  1. Regularly check critical versions of your game server
  2. Alert operations staff if a required version becomes unavailable
  1. Version Strategy - Use a clear versioning strategy for your game server images (e.g., semantic versioning)
  2. Pre-Flight Checks - Before creating a session with a specific version, verify its availability
  3. Fallback Mechanisms - Have a fallback strategy if your preferred version is unavailable
  4. Multiple Regions - Remember that image availability can vary by region
1. Build new game server version v1.2.3
2. Push to container registry
3. Wait for distribution (may take some time)
4. Check availability in each region:
GET /tag/eu-west-1/my-game-server/v1.2.3
GET /tag/eu-central-1/my-game-server/v1.2.3
GET /tag/us-east-1/my-game-server/v1.2.3
5. When available in all regions, update session creation process
to use the new version