Alamat Server
https://halogps.id/api/commandsMengambil daftar Command yang Disimpan
Struktur Perintah
Command | GET /commands | |
---|---|---|
Struktur | https://halogps.id/api/commands |
[
{
"id": 0,
"deviceId": 0,
"description": "string",
"type": "string",
"attributes": { }
}
]
Membuat Saved Command
Struktur Perintah
Command | POST /commands | |
---|---|---|
Struktur | https://halogps.id/api/commands |
{
"id": 0,
"deviceId": 0,
"description": "string",
"type": "string",
"attributes": { }
}
Memperbarui Saved Command
Struktur Perintah
Command | PUT /commands/{id} | |
---|---|---|
Struktur | https://halogps.id/api/commands/{id} |
{
"id": 0,
"deviceId": 0,
"description": "string",
"type": "string",
"attributes": { }
}
Menghapus Saved Command
Struktur Perintah
Command | DELETE /commands/{id} | |
---|---|---|
Struktur | https://halogps.id/api/commands/{id} |
Mengambil daftar Saved Command yang didukung oleh Perangkat saat ini
Struktur Perintah
Command | GET /commands/send | |
---|---|---|
Struktur | https://halogps.id/api/commands/send |
[
{
"id": 0,
"deviceId": 0,
"description": "string",
"type": "string",
"attributes": { }
}
]
Mengirim perintah ke perangkat
Struktur Perintah
Command | POST /commands/send | |
---|---|---|
Struktur | https://halogps.id/api/commands/send |
{
"id": 0,
"deviceId": 0,
"description": "string",
"type": "string",
"attributes": { }
}
Mengambil daftar Perintah yang tersedia untuk Perangkat atau semua Perintah yang mungkin jika Perangkat dihilangkan
Struktur Perintah
Command | GET /commands/types | |
---|---|---|
Struktur | https://halogps.id/api/commands/types |
[
{
"type": "string"
}
]