RESTCONF API for MLT CLI Command

This section provides the Representational State Transfer Configuration Protocol (RESTCONF) API sections for the MLT CLI command.

POST or PATCH

GET

To access the top-level interfaces resource within the openconfig-interfaces YANG model, use the following URLs:

https://$ip:8080/rest/restconf/data/openconfig-interfaces:interfaces/interface=%s/config
https://$ip:8080/rest/restconf/data/openconfig-interfaces:interfaces/interface=%s/state

Use this API operation to do the following:

Sample server response:

Based on Yang Model