Download a file
get
/rest/v1/files/{fileId}
You can download a file from the Narrative Reporting temporary repository or the Library.
Request
Path Parameters
-
fileId(required): string
The file UUID being requested. * If the UUID refers to an artifact identifier from the Artifacts REST API, the file will be downloaded from the Library. * Otherwise, the file will be downloaded from the temporary repository.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
- application/zip
200 Response
Request successful
Root Schema : schema
Type:
string(binary)
404 Response
File UUID not found
Root Schema : ExceptionDetail
Type:
object
Detailed 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:
object
Detailed 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.