Upload a temporary file

post

/rest/v1/files

You can upload a temporary file to the Narrative Reporting repository: * The maximum upload size for a temporary file is 256MB. * Temporary files will be deleted during the daily maintenance window.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - multipart/form-data ()
Root Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

The file uploaded successfully.
Body ()
Root Schema : File
Type: object
Temporary Repository File
Show Source

400 Response

Invalid parameter
Body ()
Root Schema : ExceptionDetail
Type: object
Detailed exception information.
Show Source
  • Human-readable description specific to this occurrence of the problem.
  • HTTP status code for this occurrence of the problem, set by the origin server.
  • Short, human-readable summary of the problem.
  • Absolute URI [RFC3986] that identifies the problem type.

500 Response

Service Error
Body ()
Root Schema : ExceptionDetail
Type: object
Detailed exception information.
Show Source
  • Human-readable description specific to this occurrence of the problem.
  • HTTP status code for this occurrence of the problem, set by the origin server.
  • Short, human-readable summary of the problem.
  • Absolute URI [RFC3986] that identifies the problem type.
Back to Top