Коллектор: Репозитории пакетов
GET
oauth2 devices:getheader
AuthorizationBearer <token>Scope: devices:get
device*stringИдентификатор актива
Формат
uuidversion*stringapplication/json- response
data?array<>curl -X GET 'https://example.com/api/v1/assets/497f6eca-6276-4993-bfeb-53cbbbba6f08/collectors/repositories/string'Пример ответа
{ "data": [ { "id": "apt:download.astralinux.ru/astra/stable/1.7_x86-64/repository-base:1.7_x86-64", "type": "apt", "name": "sources.list", "uri": "https://download.astralinux.ru/astra/stable/1.7_x86-64/repository-base/", "suite": "1.7_x86-64", "components": [ "main", "contrib", "non-free" ], "enabled": true, "origin": "", "label": "", "codename": "", "gpgKeyIds": [], "gpgKeyOwner": "", "source": "etc/apt/sources.list" } ]}