Projects you can claim at once as their original creator
curl --request GET \
--url https://patch.gg/api/v1/me/claimable \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://patch.gg/api/v1/me/claimable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/me/claimable"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"owner": "<string>",
"slug": "<string>",
"handle": "patch/lantern",
"name": "<string>",
"cover_url": "<string>",
"cover_levels": [
{
"width": 123,
"url": "<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>"
}
}Projects
Projects you can claim at once as their original creator
Signed in to Patch as yourself: the projects anyone can find whose original creator Patch knows by a GitHub account linked to yours, and which you haven’t claimed yet. Each is one POST /projects/{owner}/{slug}/claim away, approved at once. Empty with no GitHub linked, or with an API key.
GET
/
me
/
claimable
Projects you can claim at once as their original creator
curl --request GET \
--url https://patch.gg/api/v1/me/claimable \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://patch.gg/api/v1/me/claimable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/me/claimable"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"owner": "<string>",
"slug": "<string>",
"handle": "patch/lantern",
"name": "<string>",
"cover_url": "<string>",
"cover_levels": [
{
"width": 123,
"url": "<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>"
}
}