Skip to content

Move CFDocuments pagination metadata to response headers (CGE-19, CGE… - #58

Merged
alail-ims merged 1 commit into
mainfrom
bugfix/CGE-19
Oct 29, 2026
Merged

alail-ims merged 1 commit into
mainfrom
bugfix/CGE-19

Conversation

@alail-ims

Copy link
Copy Markdown
Contributor

…-176)

Paginated getAllCFDocuments responses no longer include total, limit or offset in the JSON body. CFDocumentSet doesn't allow extra properties, so these fields broke schema validation.

List endpoints now send the total count in an X-Total-Count header, as the CASE REST binding (§3.1) requires. When the request includes limit or offset, getAllCFDocuments and getCFItemAssociations also send first/prev/next/last links in a Link header. Both headers are exposed through CORS and documented in the OpenAPI spec.

…-176)

Paginated getAllCFDocuments responses no longer include total, limit or
offset in the JSON body. CFDocumentSet doesn't allow extra properties,
so these fields broke schema validation.

List endpoints now send the total count in an X-Total-Count header, as
the CASE REST binding (§3.1) requires. When the request includes limit
or offset, getAllCFDocuments and getCFItemAssociations also send
first/prev/next/last links in a Link header. Both headers are exposed
through CORS and documented in the OpenAPI spec.
@alail-ims
alail-ims merged commit 607f89d into main Oct 29, 2026
3 checks passed
@alail-ims
alail-ims deleted the bugfix/CGE-19 branch October 29, 2026 14:16
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.

1 participant