#na_ontap_rest_cli vs. na_ontap_rest_info for GET operations

1 messages · Page 1 of 1 (latest)

nova vector
#

QQ: From what I can tell both of these modules are basically making the same API calls at the end of the day but was curious if you had a recommendation for which to use when doing a GET against an api endpoint?

cosmic cargo
#

na_ontap_rest_cli uses private API end points, its basically a wrapper to cli commands, you can find more about it in https://library.netapp.com/ecmdocs/ECMLP2885799/html/index.html
search for "Using the private CLI passthrough with the ONTAP REST API"

na_ontap_rest_info uses the actual REST end points, so its recommend to use rest_info module always.