Skip to content

A realm's icon

GET
/api/v1/realms/{name}/icon
curl --request GET \
--url http://localhost:11044/api/v1/realms/example/icon \
--header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'

The image the realm declares as icon in realm.yml. 404 when the realm has none, names one that is missing, or names one outside its own directory.

name
required
string

Name of an installed realm, as its realm.yml gives it and GET /api/v1/realms lists it; 404 when no loaded realm has that name

The icon

Media type*/*
string format: byte

No icon