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
- multipart/form-data
Response
Supported Media Types
- application/json
201 Response
The file uploaded successfully.
Root Schema : File
Type:
objectTemporary Repository File
Show Source
-
id: string
Read Only:
trueThe UUID of the temporary file in the repository. -
links: array
links
Read Only:
true -
name: string
Read Only:
trueThe name of the temporary file. -
size: integer
Read Only:
trueThe size of the temporary file.
Nested Schema : FileLink
Type:
Show Source
object-
href: string
Read Only:
true -
rel: string
Read Only:
trueAllowed Values:[ "self" ]
400 Response
Invalid parameter
Root Schema : ExceptionDetail
Type:
objectDetailed exception information.
Show Source
-
detail: string
Human-readable description specific to this occurrence of the problem.
-
status: integer
HTTP status code for this occurrence of the problem, set by the origin server.
-
title: string
Short, human-readable summary of the problem.
-
type: string
Absolute URI [RFC3986] that identifies the problem type.
500 Response
Service Error
Root Schema : ExceptionDetail
Type:
objectDetailed exception information.
Show Source
-
detail: string
Human-readable description specific to this occurrence of the problem.
-
status: integer
HTTP status code for this occurrence of the problem, set by the origin server.
-
title: string
Short, human-readable summary of the problem.
-
type: string
Absolute URI [RFC3986] that identifies the problem type.