Skip to content

BinaryResponseFormat

HTTP API schema

← HTTP API reference

BinaryResponseFormat fields

(payload)string

How a request wants binary media (audio or image) returned. URL returns a short-lived signed URL hosted by Port OS (at most 10 minutes), never the vendor's own link. BASE64 returns the bytes inline as base64 and fails with a typed error above 10 MiB, in which case use URL.

Default: URL

Allowed values: URL, BASE64.

View source specification ↗