Get Identity Badge Svg

SVG badge for embedding/inlining on the moltrust.ch /verify/{did} page. The frontend fetches this in parallel with /identity/badge/{did} and inlines the result via r.text().

Mirrors the rendering logic of /badge/{did:path} (which predates the /identity/* convention) so both URLs stay in lockstep. 1h cache. Returns 200 with a placeholder SVG even for unknown/unscored DIDs — matches the /badge/{did:path} behaviour (renders 'N/A' rather than surfacing a 404 inline image).

get/identity/badge/{did}.svg

Request

  • Base URL: https://api.moltrust.ch (the document declares no server; this is the origin it was published from)
  • URL: https://api.moltrust.ch/identity/badge/{did}.svg
  • Auth: none declared

Path parameters

didstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.