36 lines
779 B
JSON
36 lines
779 B
JSON
{
|
|
"name": "xdrm_api",
|
|
"version": "0.1",
|
|
"description": "API du serveur de centralisation des accès.",
|
|
|
|
"requests": {
|
|
|
|
"sync": {
|
|
"url": "stefproject/api/machineDefault/sync",
|
|
"method": "POST",
|
|
"headers": { "Authorization": "Digest @warehouse" },
|
|
"postdata": {
|
|
"token": "@token",
|
|
"data": "@data"
|
|
},
|
|
"description": "Synchronisation des données de la machine avec le serveur."
|
|
},
|
|
|
|
"sync-renew": {
|
|
"url": "stefproject/api/machineDefault/sync",
|
|
"method": "POST",
|
|
"headers": { "Authorization": "Digest @warehouse" },
|
|
"postdata": {
|
|
"token": "@token",
|
|
"data": "@data",
|
|
"renew": "@renew"
|
|
},
|
|
"description": "Synchronisation des données de la machine avec le serveur. Remise à 0 du token"
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|