2016-04-04 09:47:17 +00:00
|
|
|
{
|
2016-04-08 14:58:40 +00:00
|
|
|
|
2016-04-12 13:16:10 +00:00
|
|
|
"users": {
|
|
|
|
"login": {
|
2016-04-12 14:47:06 +00:00
|
|
|
"description": "Connexion avec un login (identifiant ou adresse mail) et un mot de passe.",
|
|
|
|
"permissions": [],
|
2016-04-12 13:16:10 +00:00
|
|
|
"parameters": {
|
|
|
|
"login": { "description": "Identifiant ou adresse mail", "type": "varchar(255)" },
|
|
|
|
"password": { "description": "Mot de passe", "type":"text" }
|
|
|
|
}
|
2016-04-12 14:47:06 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"logout": {
|
|
|
|
"description": "Deconnexion",
|
|
|
|
"permissions": [],
|
|
|
|
"parameters": {}
|
2016-04-12 13:16:10 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
"call_log": {
|
|
|
|
"unserialize": {
|
|
|
|
"description": "Recupere le contenu d'un fichier XML de journal d'appel.",
|
2016-04-12 14:47:06 +00:00
|
|
|
"permissions": ["admin"],
|
2016-04-12 13:16:10 +00:00
|
|
|
"parameters": {
|
|
|
|
"filecontent": { "description": "Contenu du fichier XML", "type": "text" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"charts": {
|
|
|
|
|
|
|
|
"network_data": {
|
|
|
|
"description": "Renvoie un jeu de donnees fictif pour un graphique de type #network.",
|
2016-04-12 14:47:06 +00:00
|
|
|
"permissions": ["admin"],
|
2016-04-12 13:16:10 +00:00
|
|
|
"parameters": {}
|
|
|
|
},
|
|
|
|
|
|
|
|
"network_render": {
|
|
|
|
"description": "Renvoie le contenu du svg representant un graphique de type #network avec les donnees recues.",
|
2016-04-12 14:47:06 +00:00
|
|
|
"permissions": ["admin"],
|
2016-04-12 13:16:10 +00:00
|
|
|
"parameters": {
|
|
|
|
"dataset": { "description": "Dataset au bon format pour un graphique de type #network." }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"token": {
|
|
|
|
|
|
|
|
|
|
|
|
"remove": {
|
|
|
|
"description": "Suppression d'un token d'id donne.",
|
2016-04-12 14:47:06 +00:00
|
|
|
"permissions": ["admin"],
|
2016-04-12 13:16:10 +00:00
|
|
|
"parameters": {
|
|
|
|
"token_id": { "description": "UID du token a supprimer", "type": "id" }
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
"generate": {
|
|
|
|
"description": "Creation d'un token de nom et de duree donnee",
|
2016-04-12 14:47:06 +00:00
|
|
|
"permissions": ["admin"],
|
2016-04-12 13:16:10 +00:00
|
|
|
"parameters": {
|
|
|
|
"name": { "description": "Nom attribue au token", "type": "varchar(50)" },
|
2016-04-12 13:23:54 +00:00
|
|
|
"duration": { "description": "Duree du token en nombre de jours", "type": "numeric" }
|
2016-04-12 13:16:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-04-04 09:47:17 +00:00
|
|
|
|
|
|
|
}
|