Credential registry query api: align 503 and events 400
Follow-up to the review of the Scan credential registry design doc: the OpenAPI wording now covers what Scan does, instead of leaving the gap to a later change.
- 503: besides an
asOf/untilLedgerEffectiveTimelater thanpublishedUntil, a backend also answers 503 when it lacks the data for the requested time, e.g. after a restart. Clients retry later or against another backend. - /events 400: the rule is now stated in terms of the request instead of what a backend happens to have pruned. A position more than
limits.eventRetentionSecondsbefore the upper bound, or an upper bound the registry no longer serves, gets 400, and the client restarts from a snapshot. This gives the same answer on every backend.
Only descriptions change; no schema, path or parameter changes. Builds on #8380.
Pull Request Checklist
Cluster Testing
- If a cluster test is required, comment
/cluster_teston this PR to request it, and ping a maintainer to run it. - If an upgrade test is required, comment
/upgrade_teston this PR to request it, and ping a maintainer to run it. - If a logical synchronizer upgrade test is required (from canton-3.5), comment
/lsu_teston this PR to request it, and ping a maintainer to run it.
PR Guidelines
- Describe user-facing changes in the release notes, i.e. any change visible to anyone deploying, operating, integrating with or using Splice.
- Specify fixed issues with
Fixes #n, and mention issues worked on using#n - Include a screenshot for frontend-related PRs - see README or use your favorite screenshot tool
Merge Guidelines
- Make the git commit message look sensible when squash-merging on GitHub (most likely: just copy your PR description).