Media

Serve media for workers (Base64 JSON)

Endpoint intended for workers (specific API key/Bearer).

  • Returns the file in Base64.
  • Requires X-Tenant-ID and X-Worker-Type.
get/media/worker/{id}

Request

  • Base URL: https://api.faireplace.com/api
  • URL: https://api.faireplace.com/api/media/worker/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Headers

X-Worker-Typestring required

Worker type (e.g. signature-processor, otp-validator)

X-Tenant-IDstring required

Tenant identifier

Response

OK

pdf_base64string nullable
document_namestring nullable
content_typestring nullable
file_sizeinteger nullable
security_level'STANDARD' | 'SENSITIVE' | 'CRITICAL'

Security/encryption level. CRITICAL and SENSITIVE may trigger SSE-C encrypted storage; STANDARD is unencrypted.

Changes

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