File Upload API

REST API for issuing, retrieving, and cancelling the tokens used to upload large files in chunks, such as lookup imports and app uploads. Issue a token with create-upload-stream, send the file with upload-file, track the progress with get-upload-stream, and cancel the transfer with cancel-upload when necessary.

In the web console, the following features upload files in chunks through this API.

  • Apps → Upload App (handler_name=sonar-app): Uploads an app installation file
  • Investigation → Lookup → Import Lookup (handler_name=lookup): Imports lookup data such as CSV