Blurit On-Premise Documentation
2.0.8
2.0.8
  • Blurit On-Premise
    • ๐Ÿš€Getting started
    • ๐Ÿ’ปRequirements
    • ๐Ÿ–Š๏ธInstallation
      • Linux dependencies
      • Windows dependencies (WSL)
      • Configuration
      • Run BlurIt OP
      • Multi-servers installation
      • Post installation verifications
    • ๐ŸŽ‡Usage
      • Manager Webapp
      • API
        • License
        • Tasks
          • Process a directory
          • Process a file
          • Get the status of a task
      • Command line interface
      • Monitoring With Flower
    • Release notes
  • CLOUD IMAGES
    • Introduction
    • AWS
Powered by GitBook
On this page
  1. Blurit On-Premise
  2. Usage
  3. API
  4. Tasks

Get the status of a task

PreviousProcess a fileNextCommand line interface
๐ŸŽ‡

Get Task

get

Gets a task status

Path parameters
task_idstringRequired
Responses
200
Successful Response
application/json
422
Validation Error
application/json
get
GET /api/task/{task_id} HTTP/1.1
Host: 
Accept: */*
{
  "task_id": "text",
  "status": "text",
  "result": {
    "input_directory": {
      "protocol": "file",
      "path": "relative/path",
      "auto_delete": "False"
    },
    "output_directory": {
      "protocol": "file",
      "path": "relative/path"
    },
    "size": {
      "IMAGE": 0,
      "VIDEO": 0
    },
    "nb_files": {
      "IMAGE": 0,
      "VIDEO": 0
    },
    "input_video": {
      "protocol": "file",
      "path": "image.jpg",
      "expires_at": "2042-01-01 00:00:00+02:00",
      "auto_delete": "True"
    },
    "input_image": {
      "protocol": "file",
      "path": "image.jpg",
      "expires_at": "2042-01-01 00:00:00+02:00",
      "auto_delete": "True"
    },
    "output_video": {
      "protocol": "file",
      "path": "image_blured.jpg",
      "lifespan": 3600
    },
    "output_image": {
      "protocol": "file",
      "path": "image_blured.jpg",
      "lifespan": 3600
    },
    "output_json": {
      "protocol": "file",
      "path": "detections.json",
      "lifespan": 3600
    }
  }
}