Get organisation logo (browser session)
import requests
url = "https://api.platform.ankra.app/org/organisation/{organisation_id}/logo"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/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://api.platform.ankra.app/org/organisation/{organisation_id}/logo \
--cookie ankra_session="<string>"{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Organisation
Get organisation logo (browser session)
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
/
org
/
organisation
/
{organisation_id}
/
logo
Get organisation logo (browser session)
import requests
url = "https://api.platform.ankra.app/org/organisation/{organisation_id}/logo"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/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://api.platform.ankra.app/org/organisation/{organisation_id}/logo \
--cookie ankra_session="<string>"{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}