SpigotMC / XenforoResourceManagerAPI

Exposes resource/author information via a simple JSON REST API
BSD 3-Clause "New" or "Revised" License
79 stars 7 forks source link

`listResources` endpoint category parameter issues #60

Closed Phoenix616 closed 2 years ago

Phoenix616 commented 2 years ago

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))
jacobsandersen commented 2 years ago

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

md-5 commented 2 years ago

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)

jacobsandersen commented 2 years ago

Oh ok. Sounds good

Going to edit README.