Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing startVersion and endVersion in changeset api as optional #1368

Merged
merged 5 commits into from
Oct 18, 2024

Conversation

suniljaiswal01
Copy link
Contributor

Current Implementation: To retrieve all changeset collections for a given space, the current implementation requires fetching the start and end versions via the statistics API or passing arbitrary values (e.g., startVersion=0 and endVersion=99999). These parameters are mandatory.

Solution: This update makes startVersion and endVersion optional parameters. If the changeset collection API is called without these parameters, it will return all changesets for the given space. If startVersion and endVersion are provided, the API will return changesets based on the specified versions.

@suniljaiswal01 suniljaiswal01 requested a review from a team as a code owner September 24, 2024 09:56
@lceni lceni merged commit 443e3cf into master Oct 18, 2024
3 checks passed
@lceni lceni deleted the version-params-optional-changeset-collection branch October 18, 2024 12:54
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.

3 participants