Skip to content

Conversation

amaankm
Copy link
Contributor

@amaankm amaankm commented Sep 1, 2025

This is mainly for the get-session and is-session-duplicated APIs where sessionPkId is used instead of id from the input.

The order of the input was wrong and that has been changed.
As they both call the GetSingleSession function which then gets the owner, name,application from GetOwnerAndNameAndOtherFromId in that specific order.

The earlier documentation has the wrong order.
image
image

Although the id ins't actually used in the update, add or delete session APIs, I've made the changes there too for consistency

@CLAassistant
Copy link

CLAassistant commented Sep 1, 2025

CLA assistant check
All committers have signed the CLA.

@hsluoyz
Copy link
Member

hsluoyz commented Sep 2, 2025

@dacongda plz review

Copy link
Contributor

@dacongda dacongda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hsluoyz hsluoyz changed the title fix: update parameter descriptions in Session API feat: update parameter descriptions in Session API Sep 2, 2025
@hsluoyz hsluoyz merged commit 01000f7 into casdoor:master Sep 2, 2025
8 checks passed
Copy link
Contributor

github-actions bot commented Sep 2, 2025

🎉 This PR is included in version 2.47.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants