Created
February 6, 2017 21:22
-
-
Save bobvanluijt/c9661571a24f15986464b7a431c7f8c6 to your computer and use it in GitHub Desktop.
Weave - registrationTickets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"RegistrationTicket": { | |
"externalTypeName": "clouddevices.RegistrationTicket", | |
"properties": { | |
"creationTimeMs": { | |
"description": "Creation timestamp of the registration ticket in milliseconds since epoch UTC.", | |
"format": "int64", | |
"type": "string" | |
}, | |
"deviceDraft": { | |
"$ref": "#/definitions/Device", | |
"description": "Draft of the device being registered." | |
}, | |
"deviceId": { | |
"description": "ID that device will have after registration is successfully finished.", | |
"type": "string" | |
}, | |
"errorCode": { | |
"description": "Error code. Set only on device registration failures.", | |
"type": "string" | |
}, | |
"expirationTimeMs": { | |
"description": "Expiration timestamp of the registration ticket in milliseconds since epoch UTC.", | |
"format": "int64", | |
"type": "string" | |
}, | |
"id": { | |
"description": "Registration ticket ID.", | |
"type": "string" | |
}, | |
"kind": { | |
"default": "weave#registrationTicket", | |
"description": "Identifies what kind of resource this is. Value: the fixed string \"weave#registrationTicket\".", | |
"type": "string" | |
}, | |
"oauthClientId": { | |
"description": "OAuth 2.0 client ID of the device.", | |
"type": "string" | |
}, | |
"parentId": { | |
"description": "Parent device ID (aggregator) if it exists.", | |
"type": "string" | |
}, | |
"robotAccountAuthorizationCode": { | |
"description": "Authorization code that can be exchanged to a refresh token.", | |
"type": "string" | |
}, | |
"robotAccountEmail": { | |
"description": "E-mail address of robot account assigned to the registered device.", | |
"type": "string" | |
}, | |
"userEmail": { | |
"description": "Email address of the owner.", | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment