IoT Core Service, REST: RegistryData.Publish
Publishes message on behalf of specified registry
HTTP request
POST https://iot-data.api.cloud.yandex.net/iot-devices/v1/registries/{registryId}/publish
Path parameters
Field |
Description |
registryId |
string Required field. ID of registry publishing message |
Body parameters
{
"topic": "string",
"data": "string"
}
Field |
Description |
topic |
string Required field. Topic where message should be published |
data |
string (bytes) Content of the message |
Response
HTTP Code: 200 - OK