Description: Gets the indexed and not indexed repositories in a given binary manger
Security: Requires an admin user
Notes: For Xray version 3.21.2 and above with Projects, a Project Admin with Index Resources privilege can get the indexed and not indexed repositories in a given binary manger using this REST API in the scope of a project, by using the additional query parameter projectKey.
Usage: GET /api/v1/binMgr/{id}/repos
Consumes: application/json
Response codes:
200: List of Artifactory repositories
401: Bad Credentials
500: Failed to obtain response
Sample usage:
{ "bin_mgr_id": "default", "indexed_repos": [ { "name": "docker-local", "type": "local", "pkg_type": "Docker" } ], "non_indexed_repos": [ { "name": "debian-local", "type": "local", "pkg_type": "Debian" } ] }