Apps

List the files (from an app)

For an app's own server code only: the uploaded files, newest first. With the signed user headers forwarded: only that user's files (a user with the admin role, the first of auth.roles, gets everyone's with all=true). Without them (the app itself, for example in a schedule): all files, optionally only those of one user.

get/app-files

Request

  • Base URL: https://api.hypamoon.com/api/v1
  • URL: https://api.hypamoon.com/api/v1/app-files
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.hypamoon.com/oauth/authorize, token URL https://api.hypamoon.com/oauth/token, scopes: data:read)

Query parameters

user_idstring uuid

Only the files of this user (sub from x-hypamoon-user).

limitinteger

Files, 1 to 500.

allboolean

With the signed headers of a user with the admin role (the first of auth.roles): the files of every user.

Response

The files.

Changes

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