Whether a release plays at its test link
curl --request GET \
--url https://patch.gg/api/v1/games/tests/{release}const options = {method: 'GET'};
fetch('https://patch.gg/api/v1/games/tests/{release}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/games/tests/{release}"
response = requests.get(url)
print(response.text){
"project": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"release": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}Games
Whether a release plays at its test link
What the game host asks before it serves a release at its test address, <release>-test on its own domain: the game it’s from, while the release can be tested (its files passed their checks, and neither it nor its game was turned down or taken away). 404 otherwise. The game host keeps the answer 30 seconds.
GET
/
games
/
tests
/
{release}
Whether a release plays at its test link
curl --request GET \
--url https://patch.gg/api/v1/games/tests/{release}const options = {method: 'GET'};
fetch('https://patch.gg/api/v1/games/tests/{release}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/games/tests/{release}"
response = requests.get(url)
print(response.text){
"project": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"release": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "version_exists",
"message": "<string>",
"details": "<unknown>"
}
}