File Downloads

Overview

This API can be used with a certificate, key, or CSR file in the same workflows as the File Uploads API. The file downloads resource listens to a set of URIs under /mgmt/shared/file-transfer/downloads. On success, a GET request to this API returns the file contents in the body of the response.

REST Endpoint: /mgmt/shared/file-transfer/downloads

Requests

In the following description, the placeholder <file-name> represents the base file name of a file which is being provided for download by the BIG-IQ. You can send a GET request to get the contents of this file.

GET /mgmt/shared/file-transfer/downloads/<file-name>

Request Parameters

None

Query Parameters

None

Response

On success, the file contents are returned in the body of the response.

HTTP/1.1 200 OK

Permissions

Role Allow
admin Yes

Examples

Download a file

In the following example, the text content of a file, report.txt, is downloaded from /mgmt/shared/file-transfer/downloads/report.txt on the BIG-IQ.

GET https://192.0.2.242/mgmt/shared/file-transfer/downloads/report.txt

Response

On success, the file contents are returned in the body of the response.