Read models implemented by the device
GET https://{{host}}:{{port}}/restconf/data/netconf-state/capabilities
This command reads a subset of the information available in the ietf-netconf-monitoring model. The information returned is the list of all models, revisions, deviations on this device.
Using this command is the definitive way to determine the exact implementation and versions on the device. This information can be used by an intelligent management client to make decisions on how to use the RESTCONF interface.
This example for the ietf-interfaces model identifies the revision data as 5.8.2014 and lists specific feature options supported and also the name of the module applying deviations that change the information exposed by the model.
"urn:ietf:params:xml:ns:yang:
ietf-interfaces?module=ietf-interfaces&
revision=2014-05-08&features=pre-provisioning,if-mib,
arbitrary-names&deviations=ietf-ip-devs",
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string | ||
Authorization | string |