System Administration >
Configuration
>
Fabric
>
Nodes
>
File Store
Read file thumbprint
Request:
Method:
GET
URI Path(s):
/api/v1/node/file-store/<file-name>/thumbprint
/api/v1/cluster/<cluster-node-id>/node/file-store/<file-name>/thumbprint
/api/v1/transport-nodes/<transport-node-id>/node/file-store/<file-name>/thumbprint
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/thumbprint
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
FileThumbprint
+
FileThumbprint
(
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
name
File name
string
Required
Pattern: "^[^/]+$"
sha1
File's SHA1 thumbprint
string
Required
sha256
File's SHA256 thumbprint
string
Required
Example Response:
{ "_schema": "FileThumbprint", "_self": "/node/file-store/test1.txt/thumbprint", "name": "test1.txt", "sha1": "ec23cb4208447ce1f81f7cfd4acc9000e20d4949", "sha256": "bda2390dc831e66c4977bc6d16968ed630793031c51e9072297f1e9746b3aca5" }
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