Cleaned _config/modules.json_ from 'module' sample module + removed fake modules: 'download' & 'upload'
This commit is contained in:
parent
ba4cb04925
commit
a4534a194d
|
@ -1,18 +1,6 @@
|
|||
{
|
||||
|
||||
"module": {
|
||||
"POST::method": {
|
||||
"description": "Test de l'API",
|
||||
"permissions": [["warehouse"]],
|
||||
"parameters": {}
|
||||
},
|
||||
|
||||
"POST::markdown": {
|
||||
"description": "Retourne une description en markdown des différents modules de l'API",
|
||||
"permissions": [["admin"]],
|
||||
"options": { "download": true },
|
||||
"parameters": {}
|
||||
},
|
||||
|
||||
"POST::apiBlueprint": {
|
||||
"description": "Retourne une documentation de l'API au format API Blueprint.",
|
||||
|
@ -20,40 +8,7 @@
|
|||
"options": { "download": true },
|
||||
"parameters": {}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"upload": {
|
||||
|
||||
"POST::call_log": {
|
||||
"description": "Upload d'un journal d'appel au format .xml. Retour des données de call_log/unserialize",
|
||||
"permissions": [["admin"]],
|
||||
"parameters": {
|
||||
"file": { "description": "Fichier du journal d'appel.", "type": "FILE" }
|
||||
},
|
||||
"output": {
|
||||
"tmp_id": { "description": "Identifiant temporaire du journal d'appel", "type": "varchar(40,40)" },
|
||||
"directory": { "description": "Annuaire des contacts trouvés", "type": "array<array<mixed>>" },
|
||||
"call": { "description": "Liste des identifiants des contacts triés par nombre d'appels", "type": "array<id>" },
|
||||
"sms": { "description": "Liste des identifiants des contacts triés par nombre de sms", "type": "array<id>" }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"download": {
|
||||
|
||||
"POST::multiple": {
|
||||
"description": "Download des données relatives aux sujets donnés.",
|
||||
"permissions": [["admin"]],
|
||||
"options": { "download": true },
|
||||
"parameters": {
|
||||
"subjects": { "description": "Identifiants des sujets d'enquêtes à intégrer.", "type": "array<id>", "optional": true },
|
||||
"phone": { "description": "Si vaut TRUE, renvoie les sujets cellulaires.", "type": "boolean", "optional": true },
|
||||
"facebook": { "description": "Si vaut TRUE, renvoie les sujet facebook.", "type": "boolean", "optional": true },
|
||||
"survey": { "description": "Si vaut TRUE, renvoie les sujets ResTIC.", "type": "boolean", "optional": true },
|
||||
"all": { "description": "Si vaut TRUE, renvoie tous les sujets enregistrés.", "type": "boolean", "optional": true }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue