activity

Generate a presigned GET URL to display an activity image from R2

Requires query parameter file_key (URL-encoded R2 object key under this activity).

get/activity/{activityId}/images

Request

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

Path parameters

activityIdstring uuid required

Activity ID

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.