You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we try to get user without any uid and gid from endpoint /ocs/v2.php/cloud/user, we get statuscode 400 and error message "missing user in context"
Actual behavior
It gives error message
curl -X GET -k -H "OCS-APIREQUEST=true" https://localhost:9200/ocs/v2.php/cloud/user -u admin:admin -v | xmllint --format -
100 155 100 155 0 0 15500 0 --:--:-- --:--:-- --:--:-- 15500
* Connection #0 to host localhost left intact
<?xml version="1.0" encoding="UTF-8"?>
<ocs>
<meta>
<status>error</status>
<statuscode>400</statuscode>
<message>missing user in context</message>
</meta>
</ocs>
Expected behavior
Something similar to of /ocs/v2.php/cloud/users/admin
The text was updated successfully, but these errors were encountered:
dpakach
changed the title
Getting user from /ocs/v2.php/cloud/user endpoint doesn't seem to be working
Getting user from /ocs/v2.php/cloud/user endpoint doesn't work
Sep 7, 2020
When we try to get user without any uid and gid from endpoint
/ocs/v2.php/cloud/user
, we getstatuscode 400
anderror message "missing user in context"
Actual behavior
It gives error message
Expected behavior
Something similar to of
/ocs/v2.php/cloud/users/admin
The text was updated successfully, but these errors were encountered: