Media Types

Media types determine the type of data contained within a resource representation. There are two media types to identify the different kinds of resources. It is specified in the Accept and Content-Type header values for the request and the response respectively.

Media Types

Media Type Resource
application/yang-data+xml Represents the data resource derived from a YANG module in the XML format.
application/yang-data+json Represents any data resource derived from a YANG module in the JSON format.