JSmith Posted August 6, 2020 Share Posted August 6, 2020 Hi, When I post to /winapi/folders to create a new folder the result I get back has the incorrect description. It seems to get the name as the description. The actual folder that gets created has the proper description set, this only appears to be an issue with the data returned from the post. See the example below. I set the description to "this is the desc" but the return has the description "test1" which is the name. PS Z:\powershell_scripts\Passwordstate> $json { "NestUnderFolderID": "12", "FolderName": "test1", "Description": "this is the desc", "Guide": "this is the guide", "SiteID": 0, "CopyPermissionsFromPasswordListID": "10" } PS Z:\powershell_scripts\Passwordstate> Invoke-RestMethod -Method Post -uri 'https://passwordstate.xxxxxx/winapi/folders' -ContentType 'application/json' -Body $json -UseDefaultCredentials FolderID FolderName Description TreePath -------- ---------- ----------- -------- 68 test1 test1 \Dev Link to comment Share on other sites More sharing options...
JSmith Posted August 6, 2020 Author Share Posted August 6, 2020 I also just noticed that the Guide isn't returned at all in the response. Link to comment Share on other sites More sharing options...
support Posted August 7, 2020 Share Posted August 7, 2020 Hi JSmith, Thanks for the forum post and this does look to be a bug. I can replicate both issues. I've logged a bug fix for this and we'll report back here as soon as we release a new build with this fix. It will be in the next release which might be 1 - 2 weeks away at this stage. If you'd like us to email you as well as report back here, please let us know and we'd be happy to do that. Thanks for brining this to our attention. Regards, Support Link to comment Share on other sites More sharing options...
JSmith Posted August 7, 2020 Author Share Posted August 7, 2020 Great, thanks. Are there any plans to add the ability to delete folders and password lists to the API? Link to comment Share on other sites More sharing options...
support Posted August 7, 2020 Share Posted August 7, 2020 Hi JSmith, There are no plans to add that functionality at the moment, but you can request them in the Feature Requests section of this forum. Thanks very much. Regards Click Studios Link to comment Share on other sites More sharing options...
support Posted August 13, 2020 Share Posted August 13, 2020 Hi JSmith, Just letting you know we've released build 8968 today, which includes a fix for the Description field you reported above. Thanks again for reporting it. Regards Mark Link to comment Share on other sites More sharing options...
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