REST API Getting Sites

37 views
Skip to first unread message

Matt Rahdar

unread,
Mar 2, 2026, 11:28:19 AM (yesterday) Mar 2
to saka...@apereo.org

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:

  1. Is there a supported REST endpoint that returns all sites in the system regardless of membership?

  2. Does admin access bypass membership filtering at the API level?

  3. 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

Reply all
Reply to author
Forward
0 new messages