Skip to main content

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

Created