Create a new file in a stage
POST/stages/:stageID/files
Uploads a new file to the specified stage. The file's content and optional metadata (such as the file name) can be provided in the request body. When uploading a text or Markdown file to a stage with triggers, keep in mind that the file must be in UTF-8 encoding, with a LF line feed character.
Request
Responses
- 201
- 400
- 401
- 404
- 413
- 500
Created
Bad Request
Unauthorized
Not Found
Request Entity Too Large
INTERNAL SERVER ERROR