Alamat Server
https://halogps.id/api/sessionMengambil seluruh data session pada akun pengguna
Struktur Perintah
Command | GET /session | |
---|---|---|
Struktur | https://halogps.id/api/session |
{
"id": 0,
"name": "string",
"email": "string",
"phone": "string",
"readonly": true,
"administrator": true,
"map": "string",
"latitude": 0,
"longitude": 0,
"zoom": 0,
"password": "string",
"twelveHourFormat": true,
"coordinateFormat": "string",
"disabled": true,
"expirationTime": "2019-08-24T14:15:22Z",
"deviceLimit": 0,
"userLimit": 0,
"deviceReadonly": true,
"limitCommands": true,
"fixedEmail": true,
"poiLayer": "string",
"attributes": { }
}
Membuat data session baru
Struktur Perintah
Command | POST /session | |
---|---|---|
Struktur | https://halogps.id/api/session |
{
"id": 0,
"name": "string",
"email": "string",
"phone": "string",
"readonly": true,
"administrator": true,
"map": "string",
"latitude": 0,
"longitude": 0,
"zoom": 0,
"password": "string",
"twelveHourFormat": true,
"coordinateFormat": "string",
"disabled": true,
"expirationTime": "2019-08-24T14:15:22Z",
"deviceLimit": 0,
"userLimit": 0,
"deviceReadonly": true,
"limitCommands": true,
"fixedEmail": true,
"poiLayer": "string",
"attributes": {}
}
Menghapus data session
Struktur Perintah
Command | DELETE /session | |
---|---|---|
Struktur | https://halogps.id/api/session |
Mendapatkan data session OpenID
Struktur Perintah
Command | GET /session/openid/auth | |
---|---|---|
Struktur | https://halogps.id/api/session/openid/auth |
Mendapatkan Callback OpenID
Struktur Perintah
Command | GET /session/openid/callback | |
---|---|---|
Struktur | https://halogps.id/api/session/openid/callback |