Skip to content

API reference

The Files API: addresses, authentication, errors and limits.

Applies to EngineCloud
View as Markdown
On this page
  1. Authentication
  2. Errors

API: https://<ref>.files.sypnia.com Cloud, or your engine’s address Engine. Content: https://<ref>.files.sypnia.app.

Authentication

HeaderMeaning
apikey: <publishable or secret key>which project, and with the secret key full access
Authorization: Bearer <user JWT>who the user is; policies apply

Errors

JSON
{ "error": { "code": "policy_denied", "message": "No policy allows insert on avatars/user-42/photo.jpg." } }
StatusCodes
400invalid_request, invalid_path, invalid_transform
401unauthorized, invalid_token
403policy_denied, secret_key_in_browser
404not_found, bucket_not_found
409already_exists
413too_large
415type_not_allowed
423scan_pending, infected
507insufficient_storage
429rate_limited
  • Endpoints

    Buckets, objects, uploads, signed URLs, policies and S3 keys.

  1. Authentication
  2. Errors

    Search pages, sections and terms