Arrête une tache et retourne son statut
/api/v1/monitor/task/{task_id}/stop/
Informations | |
---|---|
Méthode HTTP | POST |
Authentification requise | Oui |
Paramètres | Type | Information |
---|---|---|
task_id | entier | L’identifiant de la tâche |
Attribut | Description |
---|---|
task | La tâche monitorée |
{
"meta": {
"api_version": "1.3",
"request": "POST /api/v1/monitor/task/2/stop/",
"response_time": "2012-06-13T14:43:26+02:00",
"http_code": 200,
"error_type": null,
"error_message": null,
"error_details": null,
"charset": "UTF-8"
},
"response": {
"task": {
"id": 2,
"name": "Création des sous définitions",
"state": "tostop",
"pid": 15784,
"title": "Subviews creation",
"last_exec_time": "2012-06-13T14:42:38+02:00"
}
}
}