Download OpenAPI specification:
This is OpenAPI specification for Cozify ONE platform.
If you are new to Cozify Services, there are some terms you might not be familiar with.
Cozify.Site, which supplies the structural management of site (aka. Buildings) resource. Cozify.DeviceRegister is another common resource provider./hub/v1 endpoint. See the following page for more information about SignalR streams and how to use them with a .NET/JavaScript/Java client: https://learn.microsoft.com/en-us/aspnet/core/signalr/streamingDeviceEventsStreamDeviceEvent is defined in this OpenApi documentDeviceEventsSubscribeAll(string deviceRegisterId)DeviceEventsUnsubscribeAll(string deviceRegisterId)DeviceEventsSubscribe(SubscribeDeviceEvents subscribeRequest)SubscribeDeviceEvents type is defined in this OpenApi document.DeviceEventsUnsubscribe(UnsubscribeDeviceEvents unsubscribeRequest)UnsubscribeDeviceEvents type is defined in this OpenApi document.DeviceEventsUnsubscribeAll instead in this caseOperations for managing device registers, such as executing commands on device registers and querying device register states.
Allows the execution of a specific command against a device register. This operation can be used to mutate the state of devices and the device register itself.
| deviceRegisterId required | string The identifier of the device register. |
Request object for command.
required | object (DeviceRegisterCommand) Base type for all device register commands. |
{- "command": {
- "type": "string"
}
}{- "result": {
- "type": "string",
- "error": {
- "code": "E_UNKNOWN",
- "message": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "errors": [
- { }
]
}
}
}Allows the execution of a specific query against a device register. This operation is used to retrieve the state of devices and the device register itself.
| deviceRegisterId required | string The identifier of the device register. |
Request object for query.
required | object (DeviceRegisterQuery) Base type for all device register queries. |
{- "query": {
- "type": "string"
}
}{- "result": {
- "type": "string",
- "error": {
- "code": "E_UNKNOWN",
- "message": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "errors": [
- { }
]
}
}
}Allows the execution of a specific query.
Request object for query.
required | object (Query) Base type for queries. |
{- "query": {
- "type": "string"
}
}{- "result": {
- "type": "string",
- "error": {
- "code": "E_UNKNOWN",
- "message": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "errors": [
- { }
]
}
}
}Allows the execution of a specific command.
Request object for command.
required | object (Command) Base type commands. |
{- "command": {
- "type": "string"
}
}{- "result": {
- "type": "string",
- "error": {
- "code": "E_UNKNOWN",
- "message": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "errors": [
- { }
]
}
}
}Operations related to the Cozify Hub, including command execution and querying the state of the hub and its connected devices.
Deprecated. Use /graph/command with migrated hub Graph commands instead.
| hubId required | string <uuid> (HubIdProperty) Deprecated Example: 3ee5d62c-fa38-42a0-a5ac-0c4b315d75fb The identifier of the Cozify Hub. |
Request object for command.
required | object (HubCommand) Deprecated Deprecated. Use base Graph hub commands through /graph/command. |
{- "command": {
- "type": "string"
}
}{- "result": {
- "type": "string",
- "error": {
- "code": "E_UNKNOWN",
- "message": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "errors": [
- { }
]
}
}
}Deprecated. Use /graph/query with migrated hub Graph queries instead.
| hubId required | string <uuid> (HubIdProperty) Deprecated Example: 3ee5d62c-fa38-42a0-a5ac-0c4b315d75fb The identifier of the Cozify Hub. |
Request object for query.
required | object (HubQuery) Deprecated Deprecated. Use base Graph hub queries through /graph/query. |
{- "query": {
- "type": "string"
}
}{- "result": {
- "type": "string",
- "error": {
- "code": "E_UNKNOWN",
- "message": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "errors": [
- { }
]
}
}
}Operations related to the Cozify Hubs services, including command execution and querying the state of the fleet.
Allows the execution of a specific query against a Cozify Hubs services. This operation can be used to retrieve the state of fleets and the Hubs themselves.
Request object for query.
required | object (HubsQuery) Base type for all hubs queries. |
{- "query": {
- "type": "string"
}
}{- "result": {
- "type": "string",
- "error": {
- "code": "E_UNKNOWN",
- "message": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "errors": [
- { }
]
}
}
}