API7 Docs
API7 GatewayAPI7 Enterprise Admin APIsDownload file content

Download file content

GET /api/files/{file_id}

GET /api/files/{file_id}

Interactive request editor loads with JavaScript.

Authorization

X-API-KEY<token>

In: header

Path Parameters

file_id*string

The unique identifier of the file.

Response Body

application/json

curl -X GET "$API_BASE_URL/api/files/string"

File content returned successfully.

"string"
Complete operation details and schema variants

GET /api/files/{file_id}

Download file content

Download the original content of an uploaded file.

Parameters

  • file_id (path, string, required): The unique identifier of the file.

Responses

  • 200: File content returned successfully.
  • 404: Not Found — The requested resource does not exist or has been deleted.
  • value (object, optional): The specific resource.
  • error_msg (string, optional): The error message.

cURL

curl -X GET '$API_BASE_URL/api/files/{file_id}'