AnsweredAssumed Answered

Why does REST API get groups return a 404?

Question asked by re31640 on Feb 16, 2018
Latest reply on Feb 19, 2018 by re31640

The API documentation seems to indicate a similar construction for get users and get groups

GET /learn/api/public/v1/courses/{courseId}/groups

 

GET /learn/api/public/v1/courses/{courseId}/users

 

...and this construction works for users, but gives a 404 for groups

 

curl -I -X GET -H "authorization: Bearer {valid key}" https://studentcentral.brighton.ac.uk/learn/api/public/v1/courses/_99887_1/users

 

curl -I -X GET -H "authorization: Bearer {valid key}" https://studentcentral.brighton.ac.uk/learn/api/public/v1/courses/_99887_1/groups

 

I'm sure I'm doing something muppety.

I would be delighted if someone could point out what I'm doing wrong- especially if it's super simplae and I can fix it this afternoon.

Outcomes