IoT Core Service, gRPC: RegistryDataService.Publish
Written by
Updated at November 26, 2024
Publishes message on behalf of specified registry
gRPC request
rpc Publish (PublishRegistryDataRequest) returns (PublishRegistryDataResponse)
PublishRegistryDataRequest
{
"registry_id": "string",
"topic": "string",
"data": "bytes"
}
Field |
Description |
registry_id |
string Required field. ID of registry publishing message |
topic |
string Required field. Topic where message should be published |
data |
bytes Content of the message |
PublishRegistryDataResponse
{}
Field |
Description |
Empty |