TRIP-62641 Document sorted=false fast path on /ledger/posting/openPost#131
Open
radres wants to merge 1 commit into
Open
TRIP-62641 Document sorted=false fast path on /ledger/posting/openPost#131radres wants to merge 1 commit into
radres wants to merge 1 commit into
Conversation
…ing/openPost Add changelog entry and FAQ tip for the new optional `sorted` query parameter on GET /ledger/posting/openPost. Default (sorted=true) is unchanged; sorted=false returns the same open postings unordered and is significantly faster on accounts with many postings. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Tharin2501
approved these changes
Jun 23, 2026
tlxVidar
approved these changes
Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Documents the new optional
sortedquery parameter onGET /ledger/posting/openPost:2.75.06entry describing the parameter and its values.fieldseffectivity Q&A) showing how to usesorted=falseto speed up the endpoint on large accounts.Why
GET /ledger/posting/openPostsorts the result by voucher by default, which is very expensive on accounts with a large number of open postings (some integrations see multi-minute responses). The backend now supportssorted=false, which returns the same set of open postings, unordered, on a fast path. The default (sorted=true) is unchanged, so existing callers are unaffected.Backend change: Tripletex-AS/tripletex#9431 (live in prod since 2026-06-23). This docs PR lets API consumers discover and adopt the faster option.
Note for the reviewer
The monolith
API_VERSIONconstant is currently still2.75.05(the backend change did not bump it). I used2.75.06 (2026-06-23)as the next patch entry — please align the version / bump the constant to match the intended release if needed.🤖 Generated with Claude Code