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
  • 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 Top

Response

Supported Media Types

200 Response

Request successful
Body ()
Root Schema : schema
Type: string(binary)

404 Response

File UUID not found
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