Riferimento API
Ogni endpoint accetta JSON e richiede l'header X-API-Key per l'autenticazione.
URL di base e header
- URL di base
https://horizon.pm/api/v1/app- X-API-Key
- La API key del tuo progetto. Inviala con ogni richiesta.
Endpoint disponibili
112 di 112
| Metodo | Percorso | Funzionalità | Copia l'URL |
|---|---|---|---|
| GET | /marketplace/limits | Mercato | |
| GET | /marketplace/rules | Mercato | |
| GET | /marketplace | Mercato | |
| GET | /marketplace/listings | Mercato | |
| GET | /marketplace/listings/{listingId} | Mercato | |
| POST | /marketplace/listings | Mercato | |
| POST | /marketplace/listings/{listingId}/buy | Mercato | |
| POST | /marketplace/listings/{listingId}/cancel | Mercato | |
| GET | /marketplace/operations/{operationId} | Mercato | |
| POST | /marketplace/listings/{listingId}/retry-return | Mercato | |
| GET | /chat/limits | Conversazione | |
| POST | /chat/channels/open | Conversazione | |
| POST | /chat/channels/{channelId}/sync | Conversazione | |
| POST | /chat/channels/{channelId}/messages | Conversazione | |
| GET | /chat/operations/{operationId} | Conversazione | |
| POST | /chat/channels/{channelId}/messages/{messageId}/report | Conversazione | |
| GET | /matches | Partite | |
| GET | /matches/limits | Partite | |
| GET | /matches/open | Partite | |
| GET | /matches/{matchId} | Partite | |
| POST | /matches | Partite | |
| POST | /matches/{matchId}/join | Partite | |
| POST | /matches/{matchId}/decline | Partite | |
| POST | /matches/{matchId}/start | Partite | |
| POST | /matches/{matchId}/turn | Partite | |
| POST | /matches/{matchId}/timeout | Partite | |
| POST | /matches/{matchId}/leave | Partite | |
| POST | /matches/{matchId}/cancel | Partite | |
| POST | /matches/{matchId}/result | Partite | |
| POST | /matches/{matchId}/ranked-run | Partite | |
| GET | /shared-objects/collections | Oggetti condivisi | |
| GET | /shared-objects/{collection}/usage | Oggetti condivisi | |
| GET | /shared-objects/{collection}/objects/{objectId} | Oggetti condivisi | |
| POST | /shared-objects/{collection}/query | Oggetti condivisi | |
| POST | /shared-objects/{collection}/objects | Oggetti condivisi | |
| PUT | /shared-objects/{collection}/objects/{objectId} | Oggetti condivisi | |
| DELETE | /shared-objects/{collection}/objects/{objectId} | Oggetti condivisi | |
| GET | /items | Oggetti | |
| GET | /items/catalog | Oggetti | |
| POST | /items/adjust | Oggetti | |
| POST | /items/equip | Oggetti | |
| POST | /items/discard | Oggetti | |
| GET | /groups | Gruppi | |
| GET | /groups/{groupId} | Gruppi | |
| GET | /groups/{groupId}/members | Gruppi | |
| GET | /groups/{groupId}/pending | Gruppi | |
| POST | /groups | Gruppi | |
| PUT | /groups/{groupId} | Gruppi | |
| POST | /groups/{groupId}/join | Gruppi | |
| POST | /groups/{groupId}/request | Gruppi | |
| POST | /groups/{groupId}/invite | Gruppi | |
| POST | /groups/{groupId}/accept-invite | Gruppi | |
| POST | /groups/{groupId}/decline-invite | Gruppi | |
| POST | /groups/{groupId}/cancel-invite | Gruppi | |
| POST | /groups/{groupId}/accept-request | Gruppi | |
| POST | /groups/{groupId}/decline-request | Gruppi | |
| POST | /groups/{groupId}/cancel-request | Gruppi | |
| POST | /groups/{groupId}/leave | Gruppi | |
| POST | /groups/{groupId}/remove | Gruppi | |
| POST | /groups/{groupId}/role | Gruppi | |
| POST | /groups/{groupId}/transfer | Gruppi | |
| POST | /groups/{groupId}/delete | Gruppi | |
| POST | /user-management/signup | Autenticazione | |
| POST | /user-management/signin | Autenticazione | |
| POST | /user-management/check-auth | Utenti | |
| POST | /user-management/change-name | Utenti | |
| GET | /friends | Amici | |
| GET | /friends/find | Amici | |
| POST | /friends/request | Amici | |
| POST | /friends/accept | Amici | |
| POST | /friends/decline | Amici | |
| POST | /friends/cancel | Amici | |
| POST | /friends/remove | Amici | |
| POST | /friends/block | Amici | |
| POST | /friends/unblock | Amici | |
| GET | /achievements | Obiettivi | |
| POST | /achievements/unlock | Obiettivi | |
| POST | /achievements/rewards/deliver | Obiettivi | |
| GET | /inbox | Posta del giocatore | |
| POST | /inbox/read | Posta del giocatore | |
| POST | /inbox/claim | Posta del giocatore | |
| POST | /inbox/remove | Posta del giocatore | |
| GET | /statistics | Statistiche giocatore | |
| GET | /statistics/definitions | Statistiche giocatore | |
| POST | /statistics | Statistiche giocatore | |
| GET | /player-values | Valori del giocatore | |
| GET | /player-values/offers | Valori del giocatore | |
| POST | /player-values/purchase | Valori del giocatore | |
| POST | /player-values/adjust | Valori del giocatore | |
| GET | /player-profile | Profilo giocatore | |
| PUT | /player-profile | Profilo giocatore | |
| POST | /leaderboard/submit | Classifica | |
| GET | /leaderboards/{boardKey}/top | Classifica | |
| GET | /leaderboards/{boardKey}/rank | Classifica | |
| GET | /leaderboards/{boardKey}/around | Classifica | |
| POST | /validated-actions/runs | Azioni convalidate | |
| POST | /validated-actions/submit | Azioni convalidate | |
| POST | /cloud-save/save | Salvataggio Cloud | |
| POST | /cloud-save/load | Salvataggio Cloud | |
| GET | /remote-config/{configKey} | Config Remota | |
| GET | /remote-config/all | Config Remota | |
| GET | /localization/{key} | Localizzazione | |
| GET | /localization/all | Localizzazione | |
| GET | /news | Notizie | |
| POST | /gift-codes/validate | Codici Regalo | |
| POST | /gift-codes/redeem | Codici Regalo | |
| POST | /email-sending/send | Invio Email | |
| GET | /email-sending/{emailId} | Invio Email | |
| POST | /crash-reports/session | Arresti anomali | |
| POST | /crash-reports/create | Arresti anomali | |
| POST | /user-feedback/submit | Feedback Utente | |
| POST | /user-logs/create | Log Utente |
Richiesta di esempio
Bash
1curl -X POST https://horizon.pm/api/v1/app/user-management/signup \
2 -H "Content-Type: application/json" \
3 -H "X-API-Key: horizon_YOUR_API_KEY_HERE" \
4 -d '{"type":"ANONYMOUS","username":"TestPlayer","includeRefreshToken":true}'