Jump to content

TreePath different depending on API call


JSmith
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...