sharing

Convert a PocketBase component image to a data URL

Fetches imageUrl server-side (User-Agent: VoltPlan/1.0) and returns it base64-encoded as a data URL. Only URLs containing /api/files/components/ are accepted. Independent of share tokens. No authentication.

post/api/convert-image

Request

  • Base URL: https://voltplan.app
  • URL: https://voltplan.app/api/convert-image
  • Auth: none declared

Request body

imageUrlstring required

Absolute URL that must contain /api/files/components/ (PocketBase component file).

Response

Image as data URL.

dataUrlstring required

data:<upstream Content-Type, default image/png>;base64,<bytes>.

Changes

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