Компания и доступ · Чтение
Доступ · Подключения · Список
access_connections_list
Попробуйте три запроса
Получить данные
- Вы указываетеОбъект
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Доступ / Подключения / Список» выполни чтение в текущей компании. Выведи кратко: companyId, uid.
- companyId
- Поле ответа
- uid
- Поле ответа
- connections
- Поле ответа
Уточнить условия
- Вы указываетеЗадача
- ПомощникСхема входа
- Вы получаетеУсловия чтения
Запрос в чат
Для «Доступ / Подключения / Список» перечисли допустимые параметры uid, курсор продолжения. Уточни, какие значения нужны для моей задачи, до запроса данных.
- uid
- Параметр чтения
- cursor
- Курсор продолжения
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Доступ / Подключения / Список» объясни companyId, uid. Отметь отсутствующие значения.
- companyId
- Поле ответа
- uid
- Поле ответа
- connections
- Поле ответа
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. При постраничном чтении используйте продолжение ответа с теми же фильтрами.
Описание разработчика
Page protected OAuth connections of a company member, including a previously assigned member who has been offboarded. Returns at most 50 complete connections and may return fewer to fit the response size. Follow nextCursor until null; scopes and locations are never truncated. Use exact clientId and version for connection administration. No consent or access is changed.
Параметры запроса
- cursor
- Продолжение из предыдущего ответа при тех же фильтрах. необязательно · string
- uid
- Exact Firebase account UID; must have protected membership in the connected company. обязательно по схеме · string · до символов 128
Что вернёт команда
- companyId
- Company resolved from the authenticated connection. обязательно по схеме · string · до символов 128
- uid
- Exact Firebase account UID; must have protected membership in the connected company. обязательно по схеме · string · до символов 128
- connections
- Current page of complete company-scoped connections; the byte bound can shorten the page. обязательно по схеме · array · до элементов 50
- nextCursor
- Курсор для получения следующей страницы. обязательно по схеме · string / null
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"cursor": {
"description": "Opaque cursor from the previous page.",
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"uid": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_~:@+.-]+$",
"description": "Exact Firebase account UID; must have protected membership in the connected company."
}
},
"required": [
"uid"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"companyId": {
"$ref": "#/$defs/_mcp0"
},
"uid": {
"$ref": "#/$defs/_mcp1"
},
"connections": {
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"uid": {
"$ref": "#/$defs/_mcp1"
},
"companyId": {
"$ref": "#/$defs/_mcp0"
},
"clientId": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[^\\s\\x00-\\x1f\\x7f]+$",
"description": "Exact registered OAuth client ID; never a display name."
},
"active": {
"type": "boolean",
"description": "Whether the protected assignment is enabled."
},
"blocked": {
"default": false,
"description": "Whether this connection is explicitly blocked.",
"type": "boolean"
},
"managed": {
"default": false,
"description": "Whether an administrator configured this connection.",
"type": "boolean"
},
"scopes": {
"maxItems": 512,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[A-Za-z0-9_.:-]+$"
},
"description": "Currently consented scopes within its ceiling."
},
"scopeCeiling": {
"description": "Allowed OAuth scopes; does not create user consent or enlarge existing token scopes.",
"maxItems": 512,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[A-Za-z0-9_.:-]+$"
}
},
"allLocations": {
"type": "boolean",
"description": "Whether all company locations are allowed; cannot exceed the caller ceiling."
},
"locationIds": {
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_~:@+.-]+$"
},
"description": "Exact native locations within the current administrative ceiling."
},
"version": {
"default": 0,
"description": "Current optimistic concurrency version.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"revocationVersion": {
"default": 0,
"description": "Monotonic revocation epoch; revoked tokens cannot revive.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"uid",
"companyId",
"clientId",
"active",
"blocked",
"managed",
"scopes",
"allLocations",
"locationIds",
"version",
"revocationVersion"
],
"additionalProperties": false
},
"description": "Current page of complete company-scoped connections; the byte bound can shorten the page."
},
"nextCursor": {
"description": "Continue with this opaque cursor even if fewer than 50 rows were returned, or null at the end.",
"type": [
"string",
"null"
]
}
},
"required": [
"companyId",
"uid",
"connections",
"nextCursor"
],
"additionalProperties": false,
"$defs": {
"_mcp0": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_~:@+.-]+$",
"description": "Company resolved from the authenticated connection."
},
"_mcp1": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_~:@+.-]+$",
"description": "Exact Firebase account UID; must have protected membership in the connected company."
}
}
}