In what order is a request to set a status checked?
- Not signed in or an invalid credential:
401 UNAUTHENTICATED.
- A credential without
files:approve: 403, reason INSUFFICIENT_SCOPE.
- Workspace or organization unknown, deleted or out of reach:
404.
- The body is not the expected JSON:
422 VALIDATION_FAILED.
- Not an owner or admin there:
403 FORBIDDEN.
- A credential whose member has no verified email:
403 EMAIL_NOT_VERIFIED.
- Unknown status, or one of another workspace or the organization folder:
422 on statusID.
- Not 1 to 100 files:
422 on fileIDs.
- An unknown file:
404 NOT_FOUND.
- A file in the trash:
409, reason IN_TRASH.
- Files would become public, unconfirmed:
409, reason VISIBILITY_CHANGE.