Retrieving Repositories and Helm Charts
The /projects/{project_name} endpoint returns the repositories and helm charts associated with a specified project that is currently available to entitled end users. The name of the project must be passed in the {project_name} parameter.
Important:If you are using a shared registry, the project names are automatically prefixed with your 4-character tenant ID. Omit this tenant ID when you specify the project name. For example, if your project name is 1234-1000-project1-April2020 (where 1234 is your tenant ID), use the URI /registry/api/v1/projects/1000-project1-April2020.
Item |
Description |
URI |
/registry/api/v1/projects/{project_name} |
Method |
GET |
Query parameters |
project_name (path parameter, required) |
Request body |
N/A |
Response codes |
200: Success 401: Unauthorized 403: Forbidden 404: Project not found 500: Internal server error |
Sample Response
The following shows a sample response for a successful GET call, which returns the project, repository, names of images included in the repository, and charts:
{
"id": 369,
"downloadPackageId": "hello-world-dp",
"sysDownloadPackageId": 8592822,
"downloadPackageName": "Hello World Download Package",
"version": "2021",
"effectiveDateTimestamp": "Aug 4, 2021, 7:00:00 AM",
"expirationDateTimestamp": "Aug 4, 2025, 7:00:00 AM",
"downloadPackageAvailability": false,
"downloadPackageProducer": "Revenera (Revenera)",
"productLine": "748232",
"owner": false,
"restrictedDownloadPackage": false,
"supportsDockerImagesAndHelmCharts": false,
"tenantId": "1107",
"repositories": [
{
"pullCount": 3,
"artifactCount": 1,
"projectId": 11,
"repositoryName": "hello-world-dp/hello-world-image",
"projectPublic": false
}
],
"charts": [
{
"score": 0,
"name": "hello-world-dp/hello-world-chart",
"chart": {
"digest": "b60b767eece0a87840e6f58f60747e72d5a11749e364faac4a91c095127f24cc",
"urls": [
"hello-world-dp/charts/hello-world-chart-0.1.0.tgz"
],
"created": "2021-08-05T11:51:04Z",
"name": "hello-world-dp/hello-world-chart",
"version": "0.1.0",
"description": "A Helm chart for Kubernetes",
"apiVersion": "v2"
}
}
]
}