orgs
Get avatar
Changed onRetrieve organization avatar. This endpoint returns a JSON with the avatar URL for the organization.
If called with the Sec-Fetch-Dest: image header, it instead redirects to the avatar URL
get/api/organizations/{name}/avatar
Request
- Base URL: https://huggingface.co
- URL: https://huggingface.co/api/organizations/{name}/avatar
- Auth: HTTP bearer
Path parameters
namestring required
Query parameters
redirectstring
Redirect to the avatar url instead of returning it
Response
Avatar URL
Changes
- info
for the
queryrequest parameterredirect, the type was generalized from no type tostring
- info