KC-1335, KC-1336: Fix nsf-mkdir parent UID path resolution and get to return consistent folder JSON by name vs UID#2184
Merged
Conversation
… return consistent folder JSON by name vs UID (#2178) * Fix nsf-mkdir to reject UID path segments and get to return consistent folder JSON by name vs UID * KC-1335, KC-1336: Fix nsf-mkdir parent UID path resolution and get folder JSON consistency nsf-mkdir now resolves existing parent folder UIDs in paths instead of treating them as literal folder names. get --format json returns the same folder schema whether the folder is looked up by name or UID. * Align get folder detail output with JSON schema --------- Co-authored-by: amangalampalli-ks <amangalampalli@keepersecurity.com>
sk-keeper
approved these changes
Jul 1, 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.
Summary
Fixes nsf-mkdir and get --format json folder behavior. nsf-mkdir now resolves existing parent folder UIDs in paths instead of creating a folder named after the UID, while name-based paths continue to work. get returns the same folder JSON schema whether the folder is looked up by name or UID.
Changes