Bug in IMWS DevDocs app for v1/categories endpoint param

Started by Jingo, November 19, 2019, 01:00:15 PM

Previous topic - Next topic

Jingo

While working on the quick "find categories with Direct Only" app (https://www.photools.com/community/index.php?topic=9473.msg67051#msg67051) - I noticed the examples from the "discover" endpoint are not correct.  Looks like a copy/paste/distraction scenario   :-X 

Delete:
old: http://127.0.0.1:50519/v1/categories/create?{auth}&​id=1&​parentid=0&​name=TEST|1-2-3
"Creates the category TEST under @All, and then 1-2-3 under TEST."

new: http://127.0.0.1:50519/v1/categories/delete?{auth}&​id=1&​parentid=0&​name=TEST|1-2-3
"Deletes the category TEST under @All, and then 1-2-3 under TEST."


Rename:
old: http://127.0.0.1:50519/v1/categories/create?{auth}&​id=150&​name=New Name

new: http://127.0.0.1:50519/v1/categories/rename?{auth}&​id=150&​name=New Name






Mario

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook