@tikoci/centrs
    Preparing search index...

    Function normalizeApiEndpoint

    • Leniently canonicalize an endpoint. Drops a leading /rest, splits on slashes and whitespace (so "ip address" works), strips a trailing *id and a trailing listen segment. See commands/api/README.md.

      Parameters

      • endpoint: string

      Returns NormalizedApiEndpoint