System Administration >
Configuration
>
Fabric
>
Nodes
>
File Store
Read file contents
Request:
Method:
GET
URI Path(s):
/api/v1/cluster/<cluster-node-id>/node/file-store/<file-name>/data
/api/v1/transport-nodes/<transport-node-id>/node/file-store/<file-name>/data
/api/v1/node/file-store/<file-name>/data
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/node/file-store/test1.txt/data
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/octet-stream
Response Body:
n/a
Example Response:
This content can include anything that would be in a text file.
Required Permissions:
read
Feature:
system_administration
Additional Errors:
404 Not Found
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable