Печать · Чтение
Печать · Список · Принтеры
printing_list_printers
Попробуйте три запроса
Получить данные
- Вы указываетеОбъект
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Печать / Список / Принтеры» выполни чтение в текущей компании. Выведи кратко: printers, truncated.
- printers
- Поле ответа
- truncated
- Поле ответа
Задать параметры
- Вы указываетеЗадача
- ПомощникСхема входа
- Вы получаетеУсловия чтения
Запрос в чат
Покажи, как получить «Печать / Список / Принтеры» на учебном примере с limit = 3. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- limit
- 3
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Печать / Список / Принтеры» объясни printers, truncated. Отметь отсутствующие значения.
- printers
- Поле ответа
- truncated
- Поле ответа
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. Для этого действия требуется доступ ко всем филиалам.
Описание разработчика
List enabled native CloudPRNT printers belonging exactly to this workspace. Requires all-location access because the existing printer schema has no reliable location binding. Returns safe printer IDs and paper width; printer passwords, MQTT settings, endpoint keys, and tenant aliases are omitted. No print is queued.
Параметры запроса
- limit
- Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 20 · минимум 1 · максимум 50
Что вернёт команда
- printers
- Enabled printers whose companyId exactly matches this workspace. обязательно по схеме · array · до элементов 50
- truncated
- Whether additional printer records may exist beyond this bounded list. обязательно по схеме · boolean
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"limit": {
"default": 20,
"description": "Maximum printers returned, from 1 to 50.",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [
"limit"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"printers": {
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"printerId": {
"type": "string",
"description": "Canonical root printers document identifier; copy this value to printing_queue_document."
},
"name": {
"type": "string",
"description": "Stored printer display label, when present."
},
"paperWidthMm": {
"description": "Configured paper width in millimeters, or null when unspecified.",
"type": [
"number",
"null"
]
}
},
"required": [
"printerId",
"name",
"paperWidthMm"
],
"additionalProperties": false
},
"description": "Enabled printers whose companyId exactly matches this workspace."
},
"truncated": {
"type": "boolean",
"description": "Whether additional printer records may exist beyond this bounded list."
}
},
"required": [
"printers",
"truncated"
],
"additionalProperties": false
}