List curated extension packages available to the organization
curl --request GET \
--url https://harness.example.com/admin/package-catalog \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://harness.example.com/admin/package-catalog', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://harness.example.com/admin/package-catalog"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"version": "<string>",
"source_ref": "<string>",
"sha256": "<string>",
"name": "<string>",
"artifact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"platform_sources": {},
"settings": {},
"adapters": {}
}
]Administration
List curated extension packages available to the organization
GET
/
admin
/
package-catalog
List curated extension packages available to the organization
curl --request GET \
--url https://harness.example.com/admin/package-catalog \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://harness.example.com/admin/package-catalog', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://harness.example.com/admin/package-catalog"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"version": "<string>",
"source_ref": "<string>",
"sha256": "<string>",
"name": "<string>",
"artifact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"platform_sources": {},
"settings": {},
"adapters": {}
}
]Authorizations
OAuth 2.0 access token obtained through RFC 8628 at /api/auth/device/code and /api/auth/oauth2/token. The API enforces governance:read, session:write, and client-status:write as appropriate.
Response
200 - application/json
Digest-pinned package catalog
Pattern:
^[a-z0-9-]+$Immutable HTTPS or local .tar.gz archive
Pattern:
^[A-Fa-f0-9]{64}$Organization-scoped mirrored artifact
Exact <os>-<arch> archive overrides; clients require a matching entry when this map is present.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
