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": { |
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
{ | |
"PersonalizedInfo": { | |
"externalTypeName": "clouddevices.PersonalizedInfo", | |
"properties": { | |
"id": { | |
"default": "me", | |
"description": "Unique personalizedInfo ID. Value: the fixed string \"me\".", | |
"type": "string" | |
}, | |
"kind": { |
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
{ | |
"ModelManifest": { | |
"description": "Model manifest info.", | |
"externalTypeName": "clouddevices.ModelManifest", | |
"properties": { | |
"allowedChildModelManifestIds": { | |
"description": "For gateways, a list of device ids that are allowed to connect to it.", | |
"items": { | |
"type": "string" | |
}, |
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
{ | |
"Event": { | |
"externalTypeName": "clouddevices.Event", | |
"properties": { | |
"commandPatch": { | |
"description": "Command-related changes (if applicable).", | |
"properties": { | |
"commandId": { | |
"description": "ID of the affected command.", | |
"type": "string" |
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
{ | |
"Device": { | |
"externalTypeName": "clouddevices.Device", | |
"properties": { | |
"certFingerprint": { | |
"description": "The HTTPS certificate fingerprint used to secure communication with device..", | |
"type": "string" | |
}, | |
"channel": { | |
"description": "Device notification channel description.", |
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
{ | |
"Command": { | |
"externalTypeName": "clouddevices.Command", | |
"properties": { | |
"blobParameters": { | |
"$ref": "#/definitions/JsonObject", | |
"description": "Blob parameters list." | |
}, | |
"blobResults": { | |
"$ref": "#/definitions/JsonObject", |
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
{ | |
"AclEntry": { | |
"properties": { | |
"cloudAccessRevoked": { | |
"description": "Indicates whether the AclEntry has been revoked from the cloud and the user has no cloud access, but they still might have local auth tokens that are valid and can access the device and execute commands locally. See localAccessInfo for local auth details.", | |
"type": "boolean" | |
}, | |
"creatorEmail": { | |
"description": "User who created this entry. At the moment it is populated only when pending == true.", | |
"type": "string" |
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
{ | |
"Adapter": { | |
"properties": { | |
"activateUrl": { | |
"description": "URL to adapter web flow to activate the adapter. Deprecated, use the activationUrl returned in the response of the Adapters.activate API.", | |
"type": "string" | |
}, | |
"activated": { | |
"description": "Whether this adapter has been activated for the current user.", | |
"type": "boolean" |
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
/** | |
* Set the video sizes | |
*/ | |
var videoWith = 1280, | |
videoHeight = 720; | |
/** | |
* The magic | |
*/ | |
var videoRatio = videoHeight / videoWith, |