Skip to content

docs(api): conventions for envelopes, pagination, provenance (#321) - #336

Merged
telivity-otaip merged 3 commits into
mainfrom
cursor/api-conventions-321-4a4f
Aug 21, 2026
Merged

docs(api): conventions for envelopes, pagination, provenance (#321)#336
telivity-otaip merged 3 commits into
mainfrom
cursor/api-conventions-321-4a4f

Conversation

@telivity-otaip

Copy link
Copy Markdown
Collaborator

Summary

Addresses #321 items 3–6:

  • 3 Document that source / channelCode are not patchable on PATCH /reservations/:id (intentional)
  • 4 Document response envelope exceptions (no unifying { data } — would break clients)
  • 5 Document list { data, total, page, limit } and add additive hasMore
  • 6 Clarify externalConfirmation already works on create + import; enrich Swagger descriptions

Changes

  • New docs/api-conventions.md; linked from README API Reference and integrations recipes
  • Swagger examples/descriptions on reservation list / get / notes / modify / create
  • hasMore on reservation list; list DTO limit description

Test plan

  • CI green
  • List ops expectation updated for hasMore
Open in Web Open in Cursor 

Document staff REST asymmetries from integrator feedback: non-modifiable
source on PATCH, response envelope keys, list total/hasMore, and that
externalConfirmation already works on create/import. Link from README and
integrations recipes; enrich Swagger examples on reservation routes.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
@telivity-otaip
telivity-otaip marked this pull request as ready for review August 20, 2026 21:28
@telivity-otaip
telivity-otaip merged commit 30c4b8f into main Aug 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants