OAuth2
Verwaltung: https://apiv1.vio-v.com
URL | Beschreibung |
---|---|
https://apiv1.vio-v.com/api/oauth2/authorize | Base authorization URL |
https://apiv1.vio-v.com/api/oauth2/token | Token URL |
scope | Beschreibung |
---|---|
read.group | Lese eigene Gruppe |
read.company | Lese eigene Unternehmen |
read.self | Lese eigene Infos |
Es gibt eine Beispielintegration für den "authorisation code grant with PKCE" in Form einer Express App in TypeScript hier.
Des Weiteren ist es möglich, einen "access_token" für die API über das "client credentials grant" zu erhalten.
Das Protokoll für die beiden Methoden wird im [RFC 6749] und [RFC 7636] genau erklärt.
Applikationen müssen durch Forces oder Catherine freigeschaltet werden. Dies kann durch ein formloses Schrieben über TeamSpeak, Discord order das Forum geschehen.
API
get | scope |
---|---|
/system/items | - |
/system/groupwars | - |
/system/settings | - |
/group/fairplay_blacklist | - |
/group | read.group |
/group/skin | read.group |
/group/spraies | read.group |
/group/members | read.group |
/group/ranks | read.group |
/group/vehicles | read.group |
/group/factories | read.group |
/group/own_factories | read.group |
/group/areas | read.group |
/group/storage | read.group |
/group/storage/logs | read.group |
/group/shops | read.group |
/self | read.self |
/self/storage | read.self |
/self/playingtime | read.self |
/self/banklogs | read.self |
/self/vehicles | read.self |
/self/vehicle/:id/storage | read.self |
/self/house | read.self |
/self/house/:id/storage | read.self |
/self/apartment | read.self |
/self/apartment/:id/storage | read.self |
/company | read.company |
/company/:id/logs | read.company |
/company/:id/members | read.company |
/company/:id/vehicles | read.company |
/company/:id/factories | read.company |
/company/:id/storage | read.company |
/company/factory/:id/sales | read.company |