Description: Returns a list of applications, including the latest version and the total number of versions.
Since: AppTrust 1.16.4
Usage: GET https://{{artifactory-host}}/apptrust/api/v1/applications/
Query Parameters (optional):
Parameter | Type | Description |
|---|---|---|
| string | The key of the project associated with the application. |
| integer | Sets the number of records to skip before returning the query response. Used for pagination purposes. |
| integer | Sets the maximum number of versions to return at one time. Used for pagination purposes. |
| string | Filters results by the application name. |
| array:string | Filters results by application owners (user or group). This filter can be used multiple times (once for each owner). |
| string | Filters results by application maturity. |
| string | Filters results by application criticality. |
| array:string | Filters by application labels. This filter can be used multiple times (once for each label). Key and Value are separated by a colon (:). |
| string | Defines whether to order the applications by The default is |
| boolean | Defines whether to list the application in ascending ( The default is |
Sample Request:
GET 'https://{host}.jfrog.io/apptrust/api/v1/applications?project_key=catalina&label=environment:production&label=region=us-east&owner=JohnD&owner=DevOps&prefix=backend&order_by=name&order_asc=true'
Content-Type: application/json
Authorization: ••••••
Sample Response:
{
"applications": [
{
"project_name": "Catalina",
"project_key": "catalina",
"created": "2024-05-18T11:26:02.912Z",
"application_name": "Catalina-App",
"application_key": "catalina-app",
"application_version_latest": "1.0.0",
"application_version_tag": "stable",
"application_versions_count": 1
},
{
"project_name": "Default",
"project_key": "default",
"created": "2024-05-18T11:25:35.936Z",
"application_name": "Commons-App",
"application_key": "commons-app",
"application_version_latest": "2.1.1",
"application_version_tag": "nightly",
"application_versions_count": 5
}
],
"total": 2,
"limit": 10,
"offset": 0
}
Status Codes:
Code | Description |
|---|---|
200 | Success |
401 | Bad Credentials |
403 | Permission Denied |