Jump to content

TreePath different depending on API call


JSmith

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...