Retrieve an Existing File

get

/storage/v1/Files

Request

Query Parameters
Back to Top

Response

Supported Media Types

200 Response

File content.

404 Response

Not found.
Back to Top

Examples

The following example shows how to retrieve the existing storage file by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. See Importing and Exporting Users, Groups, and AppRoles for request and response examples for bulk import and export.

cURL Command

Note:

The command in this example uses the URL structure https://tenant-base-url/resource-path, where tenant-base-url represents the Identity Service URL, and the resource path represents the Identity Service API. See Send Requests for the appropriate URL structure to use.
curl
-X GET
-H "Content-Type:multipart/form-data"
-H "Authorization: Bearer <Access Token Value>"
https://tenant-base-url/storage/v1/Files?fileName=201512312459/file.csv&isPublic=false

Example of Response Body

The following example shows the contents of the response body in JSON format:

{"file binary"}
Back to Top