activity

Generate a presigned GET URL to display a user-scoped image from R2

Requires query parameter file_key (URL-encoded R2 object key under the caller’s namespace).

get/activity/images/read-url

Request

  • Base URL
    https://api.focusbear.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

file_keystring required

R2 object key for the image (URL-encoded in the request), e.g. activity_images/{activityId}/... or the user-scoped activity_images/user/{userId}/... form.

Response

Presigned read URL generated successfully

readUrlstring required

Presigned GET URL to load the image from R2 until it expires

expiresInSecondsnumber required

Seconds until readUrl expires

Changes

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