1.3 Overview
This document defines a protocol for returning information about a server that implements the Device Registration Enrollment Protocol [MS-DVRE] as structured RESTful resources.
The Device Registration Discovery Protocol is a single REST-based endpoint that returns XML or JavaScript Object Notation (JSON) formatted data in the response message. This information can be used to connect and register a device with a server that implements the Device Registration Enrollment Protocol.
This document defines and uses the following terms:
Server: Refers to the server that implements the REST web service that accepts and responds to device registration discovery requests using the Device Registration Discovery Protocol.
Client: Refers to the client that creates and sends a discovery request to the server using the Device Registration Discovery Protocol.
Device registration service (DRS) server: Refers to the server that implements the Device Registration Enrollment Protocol [MS-DVRE] for device registration.
OAuth2 server: Refers to the server that implements the OAuth2 protocol [RFC6749] and provides authentication services for the device registration service (DRS) server.

Figure 1: Device discovery sequence