Ask Patch to support a game
curl --request POST \
--url https://patch.gg/api/v1/game-requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"game": "Hollow Knight: Silksong",
"store_url": "<string>",
"note": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({game: 'Hollow Knight: Silksong', store_url: '<string>', note: '<string>'})
};
fetch('https://patch.gg/api/v1/game-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/game-requests"
payload = {
"game": "Hollow Knight: Silksong",
"store_url": "<string>",
"note": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"game": "<string>",
"host_game": "<string>",
"store_url": "<string>",
"note": "<string>",
"status": "open",
"answer": "<string>",
"created_at": "<string>",
"answered_at": "<string>"
}{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"game": "<string>",
"host_game": "<string>",
"store_url": "<string>",
"note": "<string>",
"status": "open",
"answer": "<string>",
"created_at": "<string>",
"answered_at": "<string>"
}{
"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>"
}
}Host games
Ask Patch to support a game
For a game Patch can’t find and can’t add by a store id (POST /host-games), or one it has that a mod needs more for, such as its mod folders or a loader. Give its name or slug, its store page when there is one, and what the mod needs. It never holds up publishing. Asking again about a game while a request for it is open gives that request back.
POST
/
game-requests
Ask Patch to support a game
curl --request POST \
--url https://patch.gg/api/v1/game-requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"game": "Hollow Knight: Silksong",
"store_url": "<string>",
"note": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({game: 'Hollow Knight: Silksong', store_url: '<string>', note: '<string>'})
};
fetch('https://patch.gg/api/v1/game-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/game-requests"
payload = {
"game": "Hollow Knight: Silksong",
"store_url": "<string>",
"note": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"game": "<string>",
"host_game": "<string>",
"store_url": "<string>",
"note": "<string>",
"status": "open",
"answer": "<string>",
"created_at": "<string>",
"answered_at": "<string>"
}{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"game": "<string>",
"host_game": "<string>",
"store_url": "<string>",
"note": "<string>",
"status": "open",
"answer": "<string>",
"created_at": "<string>",
"answered_at": "<string>"
}{
"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>"
}
}Authorizations
An API key (pch_...) or the token from pch login.
Body
application/json
Response
A request for it was open already
Its slug, when Patch has the game
Available options:
open, done, declined What Patch's team said