JSmith Posted July 28, 2020 Posted July 28, 2020 Hi, I'm using the API for an integration with some other software. When I'm testing I noticed that if I call the API for the password by ID the TreePath only contains the parent folder If I call by searching for the name, the TreePath contains the parent folder as well as the list name. For example, I have folder named Dev and a password list inside the Dev folder named Test. This passwordlist is ID 10. If I call: https://passwordstate.xxxxx/winapi/passwordlists/10 The TreePath I get back is: \Dev If I call: https://passwordstate.xxxxx/winapi/searchpasswordlists/?PasswordList=Test The TreePath I get back is: \Dev\Test Is this a bug, or expected behavior? Thanks Jonathan
support Posted July 28, 2020 Posted July 28, 2020 Hi Jonathan, Thanks for reporting this, and we've corrected this for the next build - basically it will report in the format of your second call above. We'll post back here again as soon as the new build is available. Regards Click Studios
JSmith Posted July 29, 2020 Author Posted July 29, 2020 Perfect, thanks! I also noticed a similar thing with SiteLocation. If I call passwordlists/$id SiteLocation is "Internal". If I call searchpasswordlists the SiteLocation is empty.
support Posted July 29, 2020 Posted July 29, 2020 Thanks - I've fixed that as well for the next release Regards Click Studios
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now