IoT Core Service, REST: Registry.list
Retrieves the list of registries in the specified folder.
HTTP request
GET https://iot-devices.api.cloud.yandex.net/iot-devices/v1/registries
Query parameters
Parameter | Description |
---|---|
folderId | Required. ID of the folder to list registries in. To get a folder ID make a list request. The maximum string length in characters is 50. |
pageSize | The maximum number of results per page that should be returned. If the number of available results is larger than Acceptable values are 0 to 1000, inclusive. |
pageToken | Page token. To get the next page of results, set The maximum string length in characters is 100. |
Response
HTTP Code: 200 - OK
{
"registries": [
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"status": "string",
"logGroupId": "string",
"logOptions": {
"disabled": true,
"minLevel": "string",
// `registries[].logOptions` includes only one of the fields `logGroupId`, `folderId`
"logGroupId": "string",
"folderId": "string",
// end of the list of possible fields`registries[].logOptions`
}
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
registries[] | object List of registries. |
registries[]. id |
string ID of the registry. |
registries[]. folderId |
string ID of the folder that the registry belongs to. |
registries[]. createdAt |
string (date-time) Creation timestamp. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
registries[]. name |
string Name of the registry. The name is unique within the folder. |
registries[]. description |
string Description of the registry. 0-256 characters long. |
registries[]. labels |
object Resource labels as |
registries[]. status |
string Status of the registry.
|
registries[]. logGroupId |
string ID of the logs group for the specified registry. |
registries[]. logOptions |
object Options for logging registry events |
registries[]. logOptions. disabled |
boolean (boolean) Is logging from registry disabled. |
registries[]. logOptions. minLevel |
string Minimum log entry level. See [LogLevel.Level] for details.
|
registries[]. logOptions. logGroupId |
string registries[].logOptions includes only one of the fields logGroupId , folderId Entry should be written to log group resolved by ID. Value must match the regular expression |
registries[]. logOptions. folderId |
string registries[].logOptions includes only one of the fields logGroupId , folderId Entry should be written to default log group for specified folder. Value must match the regular expression |
nextPageToken | string Token for getting the next page of the list. If the number of results is greater than the specified pageSize, use Each subsequent page will have its own |