Get stack profile logo
import requests
url = "https://platform.ankra.app/api/v1/org/stack-profiles/{profile_id}/logo"
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/stack-profiles/{profile_id}/logo', 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/stack-profiles/{profile_id}/logo \
--header 'Authorization: Bearer <token>'"<string>"{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Stack Profiles
Get stack profile logo
Returns the profile’s uploaded logo image to any caller who can see the profile. With ?v= the response may be cached for a year; otherwise it revalidates with an ETag and answers 304 on a matching If-None-Match.
GET
/
api
/
v1
/
org
/
stack-profiles
/
{profile_id}
/
logo
Get stack profile logo
import requests
url = "https://platform.ankra.app/api/v1/org/stack-profiles/{profile_id}/logo"
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/stack-profiles/{profile_id}/logo', 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/stack-profiles/{profile_id}/logo \
--header 'Authorization: Bearer <token>'"<string>"{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Response
Logo image
The response is of type file.