Skip to content

Check if tag exists in the Gameye fleet

GET https://api.sandbox-gameye.gameye.net/tag/{region}/{image}/{version}

Section titled “GET https://api.sandbox-gameye.gameye.net/tag/{region}/{image}/{version}”
cURL
curl --location --globoff 'https://api.sandbox-gameye.gameye.net/tag/{region}/{image}/{version}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
javascript
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://api.sandbox-gameye.gameye.net/tag/{region}/{image}/{version}", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
Ruby
require "uri"
require "json"
require "net/http"
url = URI("https://api.sandbox-gameye.gameye.net/tag/{region}/{image}/{version}")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Accept"] = "application/json"
request["Content-Type"] = "application/json"
response = https.request(request)
puts response.read_body
Python
import requests
import json
url = "https://api.sandbox-gameye.gameye.net/tag/{region}/{image}/{version}"
payload = {}
headers = {
'Accept': 'application/json',
'Content-Type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)

Ok

FieldTypeRequired
existsbooleanYes
// Ok
{
"exists": false
}

Bad request.

FieldTypeRequired
statusCodeintegerYes
codestringYes
messagestringYes
detailsstringYes
pathstringYes
timestampstringYes
identifierstringYes
violationsarrayNo
// Bad request.
{
"statusCode": 0,
"code": "",
"message": "",
"details": "",
"path": "",
"timestamp": "",
"identifier": "",
"violations": [
{
"field": "",
"description": ""
}
]
}

You are not authorized. Please make sure that the included bearer token is correct.

FieldTypeRequired
statusCodeintegerYes
codestringYes
messagestringYes
detailsstringYes
pathstringYes
timestampstringYes
identifierstringYes
violationsarrayNo
// You are not authorized. Please make sure that
the included bearer token is correct.
{
"statusCode": 0,
"code": "",
"message": "",
"details": "",
"path": "",
"timestamp": "",
"identifier": "",
"violations": [
{
"field": "",
"description": ""
}
]
}

Image not found or you are not authorized to use this image.

FieldTypeRequired
statusCodeintegerYes
codestringYes
messagestringYes
detailsstringYes
pathstringYes
timestampstringYes
identifierstringYes
violationsarrayNo
// Image not found or you are not authorized to use this image.
{
"statusCode": 0,
"code": "",
"message": "",
"details": "",
"path": "",
"timestamp": "",
"identifier": "",
"violations": [
{
"field": "",
"description": ""
}
]
}