Capture

Capture a webcam still

Captures a one-shot webcam still frame (≤ 1280 px on the longest edge) and writes it as a PNG under ToolPiper's managed artifact directory, answering the file's path. The frame is never inlined, as on /v1/screenshot.

post/v1/camera/capture

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/camera/capture
  • Auth: HTTP bearer

Response

Captured frame, written to disk

oktrue required
format'png' required
pathstring required

Absolute path of the written PNG.

bytesinteger required

Size of the written PNG in bytes.

Changes

No recorded changes to this operation across all 1 revision of this API.