Weidmüller · AsyncAPI Specification
u-os-hub-api
Version 1.0.1
This document describes all endpoints and payloads of the Variable-NATS-API in the u-OS Data Hub. The endpoints refer to NATS subjects and the payloads are encoded as FlatBuffers binary blobs. For this specification, the FlatBuffers were converted into json schemas via ‘flatc --jsonschema’. Please read the u-OS Data Hub documentation
View Spec
View on GitHub
CompanyIndustrial AutomationIndustrial ConnectivityEdge ComputingIIoTu-OSManufacturingAsyncAPIEventsNATS
Channels
v1.loc.{providerId}.vars.evt.changed
An event from a provider to the consumers. This event describes a provider's list of variables that have changed their value or quality.
v1.loc.{providerId}.vars.qry.read
A consumer sends a query to this subject to read all variables from the provider. NATS automatically adds a response subject to the request which the provider uses for the response.
v1.loc.{providerId}.vars.cmd.write
A command from a consumer to a provider, writing a list of provider variables.
v1.loc.{providerId}.def.evt.changed
An event from a provider to the registry indicating that a provider's definition has changed.
v1.loc.registry.providers.{providerId}.def.qry.read
A query from a consumer to the registry requesting a provider's definition.
v1.loc.registry.providers.{providerId}.def.evt.changed
Clients can subscribe to events indicating that the provider definition has changed. The registry checks the new provider definition before it sends the event and marks it as OK or INVALID.
v1.loc.registry.providers.qry.read
A query from a consumer to the registry requesting a list of providers.
v1.loc.registry.providers.evt.changed
An event from the registry which contains a list of available providers. The event is only triggered if a provider is removed (disconnect or deregistration) or a new one is added. Providers with INVALID definitions also appear in the list.
v1.loc.registry.state.evt.changed
This event indicates that the state of the registry has changed.
_INBOX.{consumerName}.{sessionId}
The inbox subject for all queries. The NATS broker automatically forwards responses to the NATS requests via this subject. It is important that the property 'custom_inbox_prefix' is set to '_INBOX.{CLIENT_NAME}' when setting up the NATS connection so that NATS can generate the subject correctly.
Messages
ProviderDefinitionChangedEvent
ProviderDefinitionChangedEvent
ProvidersChangedEvent
ProvidersChangedEvent
ReadProviderDefinitionQueryRequest
ReadProviderDefinitionQueryRequest
ReadProviderDefinitionQueryResponse
ReadProviderDefinitionQueryResponse
ReadProvidersQueryRequest
ReadProvidersQueryRequest
ReadProvidersQueryResponse
ReadProvidersQueryResponse
ReadVariablesQueryRequest
ReadVariablesQueryRequest
ReadVariablesQueryResponse
ReadVariablesQueryResponse
StateChangedEvent
StateChangedEvent
VariablesChangedEvent
VariablesChangedEvent
WriteVariablesCommand
WriteVariablesCommand
Servers
NATS
device
127.0.0.1:49360
AsyncAPI Specification
Work with this as data
Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.