System Administration >
Configuration
>
Fabric
>
Nodes
>
File Store
Read file properties
Request:
Method:
GET
URI Path(s):
/api/v1/node/file-store/<file-name>
/api/v1/transport-nodes/<transport-node-id>/node/file-store/<file-name>
/api/v1/cluster/<cluster-node-id>/node/file-store/<file-name>
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
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
FileProperties
+
FileProperties
(
schema
)
Name
Description
Type
Notes
_links
References related to this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
array of
ResourceLink
Readonly
_schema
Schema for this resource
string
Readonly
_self
Link to this resource
SelfResourceLink
Readonly
created_epoch_ms
File creation time in epoch milliseconds
integer
Required
modified_epoch_ms
File modification time in epoch milliseconds
integer
Required
name
File name
string
Required
Pattern: "^[^/]+$"
size
Size of the file in bytes
integer
Required
Example Response:
{ "_schema": "FileProperties", "_self": "/node/file-store/test1.txt", "created_epoch_ms": 1457049714901, "modified_epoch_ms": 1457048860639, "name": "test1.txt", "size": 71 }
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