Release a file held for review

The classifier holds a file that likely shows a secret or sensitive personal data. A held file is left out of the managed PR comment, public feeds, galleries, and its file page until a member approves it. A key that is not held answers 200 with approved: false.

post/v1/workspaces/{workspace}/files/approve

Request

  • Base URL: https://api.uploads.sh
  • URL: https://api.uploads.sh/v1/workspaces/{workspace}/files/approve
  • Auth: HTTP bearer

Query parameters

keystring required

Response

Whether the file was released.

keystring required
approvedboolean required
reason'not_held'

Changes

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