Paging not working for Get Roles REST API... defect?

I'm using the following REST endpoint.

curl GET 'mycommunity.com/.../roles.json

Regardless of what I set the PageSize or PageIndex parameter to, it always returns all(?) Roles and the paging params are ignored.  I've tested this in several Telligent 11 environments, so it doesn't appear to be instance specific.

Based on the documentation paging should work, so it appears to be either a code defect or a documentation defect.

https://community.telligent.com/community/11/w/api-documentation/64843/list-role-rest-endpoint

Thanks.

Parents Reply
  • Former Member
    +1 Former Member in reply to Former Member

    This was just an auto-generated documentation defect.  So many endpoints on that page and some variations do not support paging.  The documentation has been updated.  Paging only works when include=user and a username or userid is specified.  The endpoints that include a username or userid in the URL take care of setting include=user for you.

Children