Ankusa.RouteResolver.Path (ankusa v0.7.0)

Copy Markdown View Source

Default resolver: a single path segment after a fixed prefix is the source id. POST /webhooks/:source_id (the original scheme). Tenant is left nil, so it is taken from the resolved %Ankusa.Source{} — the single-tenant / static case.

Opts:

  • :prefix — path segments before the id. Default ["webhooks"].