Create File

Files can be uploaded to Octave using a multipart request, containing parts for both the file itself, and the Octave
File object.

PartNameFilenameContent TypeRequired?
Raw Filefile<name of the file><type of the file>Yes
Octave File Objectparams-application/jsonYes

Both parts must be present for the request to be valid, although the JSON Object included in the params part may
be empty if the user wishes to use default values.

Once the server responds with a 201, the File object is ready to be used:

  • To send directly to Devices using Send File
  • To be attached to a Blueprint, allowing Files to be synchronized on Devices using the Blueprint mechanism.
Language
Credentials
Click Try It! to start a request and see the response here!