List registry projects
import requests
url = "https://platform.ankra.app/api/v1/org/registry-projects"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/registry-projects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/registry-projects \
--header 'Authorization: Bearer <token>'{
"extra_project_limit": 123,
"projects": [
{
"created_at": "<string>",
"host": "<string>",
"is_default": true,
"name": "<string>",
"project": "<string>",
"repository_count": 123,
"robot_count": 123
}
],
"total_count": 123,
"provider": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Credentials
List registry projects
List the organisation’s registry projects: its own first (named default), then the extra projects it created, each with how many repositories it holds and how many robot accounts are bound to it. A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication).
GET
/
api
/
v1
/
org
/
registry-projects
List registry projects
import requests
url = "https://platform.ankra.app/api/v1/org/registry-projects"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/registry-projects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/registry-projects \
--header 'Authorization: Bearer <token>'{
"extra_project_limit": 123,
"projects": [
{
"created_at": "<string>",
"host": "<string>",
"is_default": true,
"name": "<string>",
"project": "<string>",
"repository_count": 123,
"robot_count": 123
}
],
"total_count": 123,
"provider": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful Response
How many extra projects one organisation may hold.
Show child attributes
Show child attributes
The kind of integrated registry the projects are on (harbor or google_artifact_registry); absent for the Ankra registry.