Comment on a file
POST/api/v1/buckets/:bucketId/files/:fileId/comments
Requires viewer role or above on this bucket. The comment records the number of the file's current version.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
Comment created
Validation error
Not authenticated. Note: a missing or invalid token is rejected with 403 FORBIDDEN (not 401); 401 is returned when the token's session has been revoked (SESSION_REVOKED).
Insufficient bucket role, or the file has expired (FORBIDDEN, FILE_EXPIRED)
File not found (FILE_NOT_FOUND)
The file has no uploaded version yet (FILE_UPLOAD_IN_PROGRESS)