For jFrog cloud, below API should list all repo details. Pass username and password using HTTP basic authentincation headers.
HTTP GET https://jFrog-cloud-domain-name/artifactory/api/repositories
Below is sample JSON response.
[
{
"key": "ABC",
"description": "ABC Repo",
"type": "LOCAL",
"url": "https://<jFrog cloud domain name>/artifactory/ABC",
"packageType": "GitLfs"
},
{
"key": "DEF",
"description": "DEF Generic Repo",
"type": "LOCAL",
"url": "https://<jFrog cloud domain name>/artifactory/DEF",
"packageType": "Generic"
},
{
"key": "XYZ",
"description": "XYZ repo",
"type": "LOCAL",
"url": "https://<jFrog cloud domain name>/artifactory/XYZ",
"packageType": "Maven"
}
]