Legacy Dev Forum Posts

 View Only

Sign Up

Integrations list incomplete

  • 1.  Integrations list incomplete

    Posted 06-05-2025 18:17

    Austen | 2020-04-22 14:46:28 UTC | #1

    A user has added and enabled the BitBucket chat notifications integration to our system, and it is visible under the Admin -> Integrations list.

    However, calling the /api/v2/integrations endpoint to list the system integrations does not include this integration, it only contains the one other integration which is set up.

    Is this a bug?


    crespino | 2020-04-22 20:24:51 UTC | #2

    Can you share the full request and response to GET /api/v2/integrations?

    Also, and I don't mean this to sound insulting, but you are setting the query parameter of pageSize=1 or anything like that are you?


    Austen | 2020-04-22 20:50:59 UTC | #3

    Thanks for replying.

    The request in the api explorer is shown below:

    The response is as follows:

    { "entities": [ { "id": "a8492c16-8b2e-4edc-a941-8b9ad2128591", "name": "PureCloud Data Actions", "integrationType": { "id": "purecloud-data-actions", "selfUri": "/api/v2/integrations/types/purecloud-data-actions" }, "notes": "", "intendedState": "DISABLED", "config": { "current": { "id": "current", "selfUri": "/api/v2/integrations/a8492c16-8b2e-4edc-a941-8b9ad2128591/config/current" } }, "reportedState": { "code": "INACTIVE", "effective": "Inactive", "detail": { "localizableMessageCode": "REPORTEDSTATECHANGE", "message": "Integration is now in 'INACTIVE' state.", "messageParams": {} }, "lastUpdated": "2019-05-31T13:47:07.428Z" }, "attributes": {}, "selfUri": "/api/v2/integrations/a8492c16-8b2e-4edc-a941-8b9ad2128591" } ], "pageSize": 25, "pageNumber": 1, "total": 1, "firstUri": "/api/v2/integrations?pageSize=25&pageNumber=1", "selfUri": "/api/v2/integrations?pageSize=25&pageNumber=1", "lastUri": "/api/v2/integrations?pageSize=25&pageNumber=1", "pageCount": 1 }

    The item we are looking for is shown in the system here:


    Jerome.Saint-Marc | 2020-04-23 07:28:42 UTC | #4

    Hello,

    I don't have an explanation on why it is implemented like this (see my explanation after this) but I can answer the rest of your question.

    No, it is not a bug. And yes, it is "normal" not to get the BitBucket chat notifications via /api/v2/integrations endpoint.

    I just ran a test on my PureCloud environment and I have the same. The BitBucket chat notifications is not listed via /api/v2/integrations endpoint. Checking what PureCloud Web client does when showing the Integrations page (in Admin), it seems that it is making use of a non-public API method. PureCloud Web client makes 2 requests: the /api/v2/integrations one (public API) and another request (non-public/private API). The second request (private/non-public) seems to be for webhook chat notifications type of integrations.

    Regards,


    Austen | 2020-04-23 07:44:23 UTC | #5

    Hi Jerome,

    Thanks for the reply - I'll pass it on to the user who raised it with me.

    Thanks,

    Austen


    system | 2020-05-24 07:44:27 UTC | #6

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 7601