Fork me on GitHub
Phraseanet Documentation

Task Monitor

About

Returns all information about a given task.

/api/v1/monitor/task/{task_id}/
Information  
HTTP Method GET
Requires Authentication Yes

Parameters

Parameters Type Information
task_id integer The task id

Response Fields

Field Description
task The task you’re monitoring

Response sample

{
    "meta": {
        "api_version": "1.3",
        "request": "GET /api/v1/monitor/task/2/",
        "response_time": "2012-06-13T14:38:43+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": "started",
            "pid": 15705,
            "title": "Subviews creation",
            "last_exec_time": "2012-06-13T14:38:38+02:00",
            "auto_start": true,
            "runner": "scheduler",
            "crash_counter": 0
        }
    }
}