Hi all,
We’ve successfully connected to the Sakai REST API using Basic authentication (username/password).
However, when retrieving sites via:
/direct/site.json
(or similar variations)
we only receive sites where the user is explicitly enrolled (a member), even though the account we’re using has full admin / super-user access.
Our requirement is to retrieve all sites in the Sakai instance, not just the sites where the current user has membership.
We’ve tried:
Removing membership=false
Adding includeHiddenSites=true
Testing with different site types
Verifying the user has full admin privileges
But we’re still not getting the complete site list.
Questions:
Is there a supported REST endpoint that returns all sites in the system regardless of membership?
Does admin access bypass membership filtering at the API level?
Is this behavior version-dependent?
We’re currently hitting:
https://qa25-maria.nightly.sakaiproject.org
Any guidance would be greatly appreciated.
Thanks in advance!
Matt