Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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.

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...