Blurit On-Premise Documentation
2.1.0
2.1.0
  • 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

Process a directory

PreviousTasksNextProcess a file
๐ŸŽ‡

Blur It Directory Post

post

Add a blurit directory task in task queue.

Body

Detect and blur directory route's body. At least one of output_media or output_json is needed.

export_mediabooleanOptionalDefault: true
export_jsonbooleanOptionalDefault: true
blur_platesbooleanOptionalDefault: true
blur_headsbooleanOptionalDefault: true
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/blur_it/directory HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 222

{
  "input_directory": {
    "protocol": "file",
    "path": "relative/path",
    "auto_delete": "False"
  },
  "output_directory": {
    "protocol": "file",
    "path": "relative/path"
  },
  "export_media": true,
  "export_json": true,
  "blur_plates": true,
  "blur_heads": true
}
{
  "task_id": "686dfef9-0bb8-48a5-8f8b-452b2c5d57cc"
}