Description: Get a list of all JPDs, optionnaly filtering them according to tag, name, url or status. Those filters can contain the wildcard *.
Since: 4.0
Security: Requires an admin user
Usage: GET /mc/api/v1/jpds?[name={some_name}][&tag={some_tag}][&url={some_url}][&status={ONLINE|OFFLINE|PARTIAL|UNAUTHORIZED}]
Produces: application/json
Return codes:200 - Success
Sample Usage:
GET /mc/api/v1/jpds
[ {
"id": "JPD-1",
"licenses": [
{
"expired": false,
"license_hash": "2c2ef96d8a90ea2bb91287258dc8ab72a6b0f749",
"licensed_to": "jfrog.com",
"type": "ENTERPRISE_PLUS_TRIAL",
"valid_through": "2020-02-14"
}
],
"location": {
"city_name": "Nuuk",
"country_code": "GL",
"latitude": 64.18347,
"longitude": -51.72157
},
"name": "HOME",
"services": [
{
"status": {
"code": "ONLINE"
},
"type": "ARTIFACTORY"
},
{
"status": {
"code": "ONLINE"
},
"type": "JFMC"
}
],
"status": {
"code": "ONLINE",
"message": "All services are online",
"warnings": []
},
"tags": [],
"url": "http://jpd.local/"
} ]