Expand description
Models for interacting with the Defined Networking API.
Structs
APIError
represents a single error returned in an API error response.CheckForUpdateResponse
is the response generated for aCheckForUpdate
request.CheckForUpdateResponseWrapper
contains a response toCheckForUpdate
inside “data.”DoUpdateRequest
is the request sent for aDoUpdate
request.- A server response to a
DoUpdateRequest
, with the updated config and key information EnrollRequest
is issued to theENROLL_ENDPOINT
to enroll thisdnclient
with a dnapi organization- The data included in an successful enrollment.
- The organization data that this node is now a part of
RequestV1
is the version 1DNClient
request message.RequestWrapper
wraps aDNClient
request message. It consists of a type and value, with the type string indicating how to interpret the value blob.SignedResponse
contains a response message and a signature to validate.SignedResponseWrapper
contains a response message and a signature to validate insidedata
.
Enums
- The response to an
EnrollRequest
Constants
- The
CheckForUpdate
message type - The
DoUpdate
message type - The version 1
DNClient
API endpoint - The REST enrollment endpoint
Type Aliases
- A type alias to a array of
APIErrors
. Just for parity with dnapi.