Read a registry robot
import requests
url = "https://platform.ankra.app/api/v1/org/registry-robots/{robot_name}"
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/{robot_name}', 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/{robot_name} \
--header 'Authorization: Bearer <token>'{
"created_at": "<string>",
"credential_name": "<string>",
"description": "<string>",
"host": "<string>",
"name": "<string>",
"project": "<string>",
"robot_name": "<string>",
"rotated_at": "<string>",
"scope": "push"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Credentials
Read a registry robot
Read one robot’s record: its registry login, scope, when it was created and last rotated. The secret is never returned here. A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication).
GET
/
api
/
v1
/
org
/
registry-robots
/
{robot_name}
Read a registry robot
import requests
url = "https://platform.ankra.app/api/v1/org/registry-robots/{robot_name}"
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/{robot_name}', 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/{robot_name} \
--header 'Authorization: Bearer <token>'{
"created_at": "<string>",
"credential_name": "<string>",
"description": "<string>",
"host": "<string>",
"name": "<string>",
"project": "<string>",
"robot_name": "<string>",
"rotated_at": "<string>",
"scope": "push"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.