You are not logged in.
Currently testing out GLPI's REST API on v9.2.1 with FusionInventory 9.1 - with a Python script using requests I can successfully create a session, call apirest.php/getMyProfiles, and kill the session - however calling apirest.php/Computer always 401s with 'ERROR_RIGHT_MISSING'.
The credentials used are my current ones plus an App-Token, where I have the Super-Admin profile, so presumably nothing should be barred from me.
I have successfully hacked access via glpi/inc/api.class.php:API.getItems, commenting out the initial 'if (!$itemtype::canView()' block - so everything 'works' outside of some sort of permissions issue. Any idea what missing permission I have on the Computer item type?
Thanks for any help.
Offline