v1
Cloud Infrastructure

Signed file read URL authorized by app access (Cloud App Host only)

Changed on
post/v1/cloud/apps/runtime/file-url

Request

  • Base URL
    https://memory.papr.ai
  • URL
    https://memory.papr.ai/v1/cloud/apps/runtime/file-url
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Request body

external_user_idstring nullable

Parse _User.objectId of the acting user (desktop OAuth). Used for ownership-scoped cloud operations instead of the API key user.

namespaceIdstring required
slugstring required
paprApiKeystring nullable
shareTokenstring nullable
objectKeystring required
downloadboolean
fileNamestring nullable

Response

Successful Response

urlstring required
expiresInSecondsinteger required

Changes