Skip to main content
NetApp Knowledge Base site will be down for 3 hours between Oct 26, 23:59 PST and Oct 27, 02:59 PST, for system maintenance and infrastructure update.
NetApp Stage KB

CONTAP-91472: REST API GET /protocols/locks might not return any record

Views:
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
NAS
Last Updated:

 

Issue

  • When using GET on the /protocols/locks endpoint with volume name as the query, the REST API might not return any record
  • Example:
{

"records": [ ], "num_records": 0, <<<<

"_links": {

"self": { "href":

"/api/protocols/locks?fields=*volume.name=Inst_4168&max_records=3000"

}, "next": { <<<< "href":

"/api/protocols/locks?start.svm.uuid=7648068d-a8fe-11e7-87ad-00a098a6225dsta rt.member_name=Inst_0102start.lock_index=3512start.lif_ id=1041&start.path=%2Fvol%2FInst_0102%2Fdaten%2FKM%2FPers%C3%B6nliche%20Ordner%2FDiewald%2FHomeofficeDrucken%2FING_Groep_BoniBeurtei lung.pdfstart.lock_cursor=72065290997735863svm.name=xapinsfs1mg4&volume.n ame=Inst_4168&max_records=3000"

} }

}

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.