Integrations list incomplete

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?

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?

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": "REPORTED_STATE_CHANGE",
"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:

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,

Hi Jerome,

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

Thanks,

Austen

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