The REST API described below allows you to perform the fetch, extract and validate steps provided using HTTP GET.
The URLs below accepts GET requests and return their payload in JSON with the with the
Content-Type header set to
<rfc>with the number of the RFC, e.g. 7223.
<draft>with the canonical name of the draft, e.g. draft-ietf-netmod-ip-cfg-14. Remove the version number at the end of the name to retrieve the most recent version published (e.g. draft-ietf-netmod-ip-cfg).
The response JSON consists of a list of objects (one per extracted YANG modules) with the name of the extracted YANG module and the following content:
xym_stderrobject with the output of the xym extraction step
pyang_stderrobject with the output of the pyang validation step
pyang_outputobject with the output of the pyang tree rendering step
confdc_stderrobject with the output of the confdc compiler step
yanglint_stderrobject with the output of the yanglint validation step
yangdump_stderrobject with the output of the yangdump-pro validation step