SpigotMC/XenforoResourceManagerAPI

`listResources` endpoint category parameter issues

Closed this issue · 3 comments

There are currently two issues with the listResources endpoint:

  1. The readme states that the parameter is cat while it actually uses category. (Passing cat will just lead to it showing all resources)
  2. Trying to use the category parameter instead will just lead to the response {"code":404,"message":"Nothing was found for that request."} no matter the category ID. (example with ID 4 (Spigot))

Can confirm, weird. I'll look as soon as I can, no time at the moment

md-5 commented

Trying to use the category parameter instead will just lead to the response {"code":404,"message":"Nothing was found for that request."} no matter the category ID. (example with ID 4 (Spigot))

This has been fixed (permissions issue)

Oh ok. Sounds good

Going to edit README.