import requests
url = "https://platform.ankra.app/api/v1/org/registry-robots"
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-robots', 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-robots \
--header 'Authorization: Bearer <token>'{
"available_permissions": [
{
"description": "<string>",
"label": "<string>",
"permission": "<string>"
}
],
"registry": {
"host": "<string>",
"project": "<string>"
},
"robots": [
{
"application": {
"id": "<string>",
"name": "<string>"
},
"created_at": "<string>",
"credential_name": "<string>",
"description": "<string>",
"expires_at": "<string>",
"host": "<string>",
"kind": "user",
"managed": true,
"name": "<string>",
"permissions": [
"<string>"
],
"project": "<string>",
"project_name": "<string>",
"projects": [
"<string>"
],
"robot_name": "<string>",
"rotated_at": "<string>",
"scope": "push"
}
],
"total_count": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}List the organisation's registry robots
List every robot login the organisation holds: the robot accounts its members created on its Ankra registry project, then the ones Ankra manages (the organisation’s ci and pull robots and one push robot per application, marked managed and read-only here). The answer also carries the registry project robots are minted on and the permissions a robot may be created with. Secrets are never listed. A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication).
import requests
url = "https://platform.ankra.app/api/v1/org/registry-robots"
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-robots', 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-robots \
--header 'Authorization: Bearer <token>'{
"available_permissions": [
{
"description": "<string>",
"label": "<string>",
"permission": "<string>"
}
],
"registry": {
"host": "<string>",
"project": "<string>"
},
"robots": [
{
"application": {
"id": "<string>",
"name": "<string>"
},
"created_at": "<string>",
"credential_name": "<string>",
"description": "<string>",
"expires_at": "<string>",
"host": "<string>",
"kind": "user",
"managed": true,
"name": "<string>",
"permissions": [
"<string>"
],
"project": "<string>",
"project_name": "<string>",
"projects": [
"<string>"
],
"robot_name": "<string>",
"rotated_at": "<string>",
"scope": "push"
}
],
"total_count": 123
}{
"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
The grants a robot may be created with.
Show child attributes
Show child attributes
The registry project the organisation's robots are minted on; null while it is not provisioned yet.
Show child attributes
Show child attributes
Show child attributes
Show child attributes