Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  REST API paginate results

    Posted Tue June 27, 2023 12:54 PM

    Hello All,

    I'm using the cognos REST API to query a folder/namespace for the groups it contains. Im able to establish a session then
    perform a GET request to get the groups in a folder/namespace.

    However, the endpoint is limiting the return results to 200 records only. The folder Im querying contains over 200 results.

    Endpoint:

    /api/v1/groups?parent_id=<PARENT_OBJECT_ID>

    Action:

    GET request on that endpoint

    Result:

    First 200 groups in the parent object

    Expected:

    First 200 groups in the parent object + way to paginate to get next page of groups

    Is there a query param for paginating? Thanks for the help.



    ------------------------------
    STEVEN LINESES-140
    ------------------------------