Get organisation logo
import requests
url = "https://platform.ankra.app/api/v1/org/organisation/{organisation_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/organisation/{organisation_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/organisation/{organisation_id}/logo \
--header 'Authorization: Bearer <token>'"<string>"{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Organisation
Get organisation logo
Returns the organisation’s logo image with its stored content type, or 404 when none is set. The logo is readable by active members of the organisation, and by any caller while the organisation publishes a stack profile that caller can see (public, or shared with the caller’s organisation), which is how stack profile cards show the publisher’s logo. Anyone else gets the same 404 as an organisation without a logo. Responses carry an ETag and honour If-None-Match (304); adding a v query parameter makes the response cacheable for a year.
GET
/
api
/
v1
/
org
/
organisation
/
{organisation_id}
/
logo
Get organisation logo
import requests
url = "https://platform.ankra.app/api/v1/org/organisation/{organisation_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/organisation/{organisation_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/organisation/{organisation_id}/logo \
--header 'Authorization: Bearer <token>'"<string>"{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}