Execution module for RESTCONF Proxy minions
Jamie (Bear) Murphy <jamiemurphyit@gmail.com>
new
any
Returns an object containing the content of the request path with a GET request. Data returned will contain a dict with at minimum a key of "status" containing the http status code Other keys that should be available error (if http error), body, dict (parsed json to dict)
CLI Example:
salt '*' restconf.get_data restconf/yang-library-version
Returns the RESTCONF capabilities PATH
CLI Example:
salt '*' restconf.info
Used to check which path responds with a 200 status Returns an array of True/False and a dict with keys path + path_method + response data, used in states code.
CLI Example:
salt '*' restconf.path_check restconf/yang-library-version/specifc_item restconf/yang-library-version
Sends a post/patch/other type of rest method to a specified path with the specified method with specified payload
CLI Example:
salt '*' restconf.set_data restconf/yang-library-version method=PATCH dict_payload=""
Generated on April 30, 2024 at 17:51:03 UTC.
You are viewing docs for the latest stable release, 3007.0. Switch to docs for the previous stable release, 3006.8, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy