List Custom Error Templates
List the caller's uploaded custom HTML error pages. Each template is rendered in place of the default Ngris error page when a request hits a matching condition — for example, a custom 403 page when the firewall denies a request, or a custom 502 page when the upstream is unreachable.
Only one template per type can be active at a time per user. Activate via /templates/{uuid}/activate; upload via /templates.
Query params
15; values above 200 are capped at 200. Ignored when page is omitted.Response (200 OK)
Two shapes for backward compatibility:
Legacy (no page): bare JSON array of every template; [] when there are none.
Paginated (page ≥ 1): envelope with templates (always a list, [] when empty), total (templates across all pages), page and page_size. Each template:
firewall, rate_limit, bad_gateway, service_unavailable, not_found, request_timeout, internal_error, gateway_timeout. Determines which error condition the page replaces.true if this template is currently serving the given type for the user.Deprecated: until the sunset this response also carries the legacy integer id and *_id fields. Don't use them; read uuid and the *_uuid fields.