IoT Core Service, REST: Registry.GetByName
HTTP request
GET https://iot-devices.api.cloud.yandex.net/iot-devices/v1/registries:getByName
Query parameters
Field |
Description |
folderId |
string Required field. ID of the folder to list registries in. To get a folder ID make a yandex.cloud.resourcemanager.v1.FolderService.List request. |
registryName |
string Required field. Name of the registry to return. To get a registry Name make a RegistryService.List request. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "string",
"status": "string",
"logGroupId": "string",
"logOptions": {
"disabled": "boolean",
// Includes only one of the fields `logGroupId`, `folderId`
"logGroupId": "string",
"folderId": "string",
// end of the list of possible fields
"minLevel": "string"
}
}
A registry. For more information, see Registry.
Field |
Description |
id |
string ID of the registry. |
folderId |
string ID of the folder that the registry belongs to. |
createdAt |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |
name |
string Name of the registry. The name is unique within the folder. |
description |
string Description of the registry. 0-256 characters long. |
labels |
string Resource labels as |
status |
enum (Status) Status of the registry.
|
logGroupId |
string ID of the logs group for the specified registry. |
logOptions |
Options for logging registry events |
LogOptions
Field |
Description |
disabled |
boolean Is logging from registry disabled. |
logGroupId |
string Entry should be written to log group resolved by ID. Includes only one of the fields Log entries destination. |
folderId |
string Entry should be written to default log group for specified folder. Includes only one of the fields Log entries destination. |
minLevel |
enum (Level) Minimum log entry level. See LogLevel.Level for details.
|