Get a tree clone job state of a file system directory

NAS File Storage REST API v7 Reference

Version
14.7.x
14.6.x
Audience
anonymous
Part Number
MK-92HNAS088-05

Gets a tree clone job state of a file system directory.

HTTP request syntax (URI)

GET <base_URI>/v7/storage/filesystems/clone-jobs/{jobId}

Parameters

Name Type Required Values Description
jobId URI_PARAM Y string ID of the file system directory tree clone job submitted by the Submit a tree clone job of a file system directory operation.

Return codes

Code Data Description
200 jobState File system directory clone job state has been successfully retrieved. The possible values are:
  • INVALID
  • QUEUED
  • RUNNING
  • ABORTING
  • FINISHED
  • ABORTED
  • ERRORED
  • ACTIVE
  • INACTIVE
  • ALL
400 No Data Missing or invalid request contents.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.
501 No Data Server has not implemented the request operation on the resource.

Any HTTP status code other than 200 indicates that the API did not complete successfully.

Request example: Using the file system object ID

curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.57.75:8444/v7/storage/filesystems/clone-jobs/ba542618-e055-11d0-9dce-4bee3faaca3b

Response example: Using the file system object ID

HTTP/1.1 200 Ok
{
   "jobState" : "FINISHED"
}