In what order is a request to make a file public checked?
- Not signed in:
401 UNAUTHENTICATED.
- From a credential:
403 FORBIDDEN, reason SESSION_REQUIRED.
- Workspace or organization unknown or out of reach:
404 NOT_FOUND.
visibility missing or not restricted or public: 422.
- Not an owner or admin:
403 FORBIDDEN.
- Unknown file:
404 NOT_FOUND.
- File in the trash:
409 CONFLICT, reason IN_TRASH.
- The file already has the setting:
200, nothing changes.
- No status, or a status that does not allow public use:
409 CONFLICT,
reason STATUS_BLOCKS_PUBLIC.