Description: Returns detailed content for a specified application version, including its components (artifacts, packages, builds), sources, and the ownership details for each component.
Since: AppTrust 1.16.4
Usage: GET https://{{artifactory-host}}/apptrust/api/v1/applications/{{application_key}}/versions/{{version}}/content
Query Parameters (optional):
Parameter | Type | Description |
|---|---|---|
| integer | The number of records to skip for pagination. The default is |
| integer | The maximum number of records to return (up to 250). The default is |
| string | The level of detail in the response. Can be one of the following:
|
| string | The field and order by which to sort the results, using the format Supported fields: Supported order: The default is |
Response Body:
Parameter | Type | Description |
|---|---|---|
| string | The application key related to the version. |
| string | The version identifier. |
| string | The project key to which the application is associated. |
| string | The application version digest. |
| string | The status of the last operation performed on this application version. |
| string | The user ID who created this application version. |
| string | The date and time when this version was created (ISO 8601 format). |
| string | The user-defined tag associated with the version, if any. |
| string | The release status of the application version.
|
| integer | The total number of releasables in the version. |
| integer | The total number of artifacts in the version. |
| integer | The total size of all artifacts in the version (in bytes). |
| array:object | An array of releasable items included in the bundle. |
| string | The name of the releasable (for example, the package or artifact name). |
| string | The package version. (Empty for non-package releasables.) |
| string | The type of releasable: |
| string | The SHA256 checksum of the leading file. |
| string | The package type (for example, |
| string | The application key of the application that owns this releasable. |
| string | The relationship of the releasable to the current application:
|
| integer | The total size of all artifacts in the releasable (in bytes). |
| array:object | Describes how the releasable was added to this version. |
| string | The source type:
|
| string | The application key of the source application. Exists only when the source type is |
| string | The version of the source application. Exists only when the source type is |
| string | The name of the source Release Bundle. Exists only when the source type is |
| string | The version of the source Release Bundle. Exists only when the source type is |
| string | The repository key where the source Release Bundle is stored. Exists only when the source type is |
| string | The source build name. Exists only when the source type is |
| string | The source build number. Exists only when the source type is |
| string | The timestamp of when the build was created. Exists only when the source type is |
| string | The repository key of the build-info repository. Exists only when the source type is |
| array:object | An array of artifacts that are part of this releasable. |
| string | The repository path to the artifact. |
| string | The SHA256 checksum of the artifact. |
| integer | The size of the artifact in bytes. |
| array:object | A hierarchical list of sources from which version was created. |
| string | The source type:
|
| object | Details when the source type is |
| string | The source build name. |
| string | The source build number. |
| string | The timestamp of when the build was created. |
| string | The repository key of the build-info repository. |
| object | Details when the source type is |
| string | The source Release Bundle name. |
| string | The source Release Bundle version. |
| string | The repository key where the source Release Bundle is stored. |
| string | Details when the source type is |
| string | The name of the source application version. Exists only when the source type is |
| string | The source application version. Exists only when the source type is |
| array:object | A nested array of source objects, creating a hierarchy. |
| integer | The offset value used for this request. |
| integer | The limit value used for this request. |
Sample Request:
GET 'https://{host}.jfrog.io/apptrust/api/v1/applications/my-super-app/versions/1.2.3/content?include=releasables'
Authorization: ••••••
Sample Response (include=null):
{
"application_key": "my-super-app",
"version": "1.2.3",
"project_key": "super-proj",
"status": "COMPLETED",
"created_by": "user@example.com",
"created_at": "2025-07-15T08:58:00Z",
"tag": "stable-release",
"release_status": "pre_release",
"releasables_count": 3,
"artifacts_count": 5,
"total_size": 15822848
}
Sample Response (include=sources):
{
"application_key": "my-super-app",
"version": "1.2.3",
"project_key": "super-proj",
"status": "COMPLETED",
"created_by": "user@example.com",
"created_at": "2025-07-15T08:58:00Z",
"tag": "stable-release",
"release_status": "pre_release",
"releasables_count": 3,
"artifacts_count": 5,
"total_size": 15822848,
"sources": [
{
"type": "build",
"build": { "name": "my-super-app-build", "number": "15", "timestamp": "2023-10-27T08:00:00.000Z", "repo_key": "artifactory-build-info" }
},
{
"type": "version",
"version": { "application_key": "shared-services-app", "version": "2.5.0" },
"child_sources": [
{
"type": "build",
"build": { "name": "shared-services-build", "number": "42", "timestamp": "2023-10-27T08:00:00.000Z", "repo_key": "artifactory-build-info" }
}
]
},
{
"type": "direct"
}
]
}
Sample Response (include=releasables):
{
"application_key": "my-super-app",
"version": "1.2.3",
"project_key": "super-proj",
"status": "COMPLETED",
"created_by": "user@example.com",
"created_at": "2025-07-15T08:58:00Z",
"tag": "stable-release",
"release_status": "pre_release",
"releasables_count": 3,
"artifacts_count": 5,
"total_size": 15822848,
"releasables": [
{
"name": "my-super-app-service",
"version": "1.2.3",
"sha256": "a1b2c3d4e5f6...",
"releasable_type": "package_version",
"package_type": "docker",
"owning_application_key": "my-super-app",
"connection_level": "1st_party",
"total_size": 10485760,
"source": {
"type": "build",
"build": { "name": "my-super-app-build", "number": "15" }
}
},
{
"name": "com.my-org:shared-library",
"version": "2.5.0",
"sha256": "f6e5d4c3b2a1...",
"releasable_type": "package_version",
"package_type": "maven",
"owning_application_key": "shared-services-app",
"connection_level": "2nd_party",
"total_size": 5242880,
"source": {
"type": "version",
"version": { "application_key": "shared-services-app", "version": "2.5.0" }
}
},
{
"name": "react",
"version": "18.2.0",
"sha256": "c3d4e5f6a1b2...",
"releasable_type": "package_version",
"package_type": "npm",
"owning_application_key": null,
"connection_level": "3rd_party",
"total_size": 94208,
"source": {
"type": "direct"
}
}
],
"offset": 0,
"limit": 25
}
Sample Response (include=sources, releasables_expanded):
{
"application_key": "my-super-app",
"version": "1.2.3",
"project_key": "super-proj",
"status": "COMPLETED",
"created_by": "user@example.com",
"created_at": "2025-07-15T08:58:00Z",
"tag": "stable-release",
"release_status": "pre_release",
"releasables_count": 3,
"artifacts_count": 5,
"total_size": 15822848,
"releasables": [
{
"name": "my-super-app-service",
"version": "1.2.3",
"sha256": "a1b2c3d4e5f6...",
"releasable_type": "package_version",
"package_type": "docker",
"owning_application_key": "my-super-app",
"connection_level": "1st_party",
"total_size": 10485760,
"source": { "type": "build", "build": { "name": "my-super-app-build", "number": "15", "timestamp": "2023-10-27T08:00:00.000Z", "repo_key": "artifactory-build-info" }},
"artifacts": [
{ "path": "my-super-app-service/1.2.3/manifest.json", "sha256": "a1b2c3d4e5f6...", "size": 5240 },
{ "path": "my-super-app-service/1.2.3/layer1.tar.gz", "sha256": "...", "size": 10480520 }
]
},
{
"name": "com.my-org:shared-library",
"version": "2.5.0",
"sha256": "f6e5d4c3b2a1...",
"releasable_type": "package_version",
"package_type": "maven",
"owning_application_key": "shared-services-app",
"connection_level": "2nd_party",
"total_size": 5242880,
"source": { "type": "version", "version": { "application_key": "shared-services-app", "version": "2.5.0" }},
"artifacts": [
{ "path": "com/my-org/shared-library/2.5.0/shared-library-2.5.0.jar", "sha256": "f6e5d4c3b2a1...", "size": 5242880 }
]
},
{
"name": "react",
"version": "18.2.0",
"sha256": "c3d4e5f6a1b2...",
"releasable_type": "package_version",
"package_type": "npm",
"owning_application_key": null,
"connection_level": "3rd_party",
"total_size": 94208,
"source": { "type": "direct" },
"artifacts": [
{ "path": "react/-/react-18.2.0.tgz", "sha256": "c3d4e5f6a1b2...", "size": 94208 }
]
}
],
"sources": [
{ "type": "build", "build": { "name": "my-super-app-build", "number": "15", "timestamp": "2023-10-27T08:00:00.000Z", "repo_key": "artifactory-build-info" }},
{ "type": "version", "version": { "application_key": "shared-services-app", "version": "2.5.0" }, "child_sources": [
{ "type": "build", "build": { "name": "shared-services-build", "number": "42" }}
]},
{ "type": "direct" }
],
"offset": 0,
"limit": 25
}
Status Codes:
Code | Description |
|---|---|
200 | Success |
400 | Bad Request |
401 | Bad Credentials |
403 | Permission Denied |
404 | Not Found |