IoT Core Service, gRPC: RegistryDataService.Publish
Статья создана
Обновлена 17 октября 2024 г.
Publishes message on behalf of specified registry
gRPC request
rpc Publish (PublishRegistryDataRequest) returns (PublishRegistryDataResponse)
PublishRegistryDataRequest
{
"registryId": "string",
"topic": "string",
"data": "bytes"
}
Field |
Description |
registryId |
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 |