최근 검색


최근 검색 없음

Roberto Fasciolo's Avatar

Roberto Fasciolo

가입한 날짜: 2024년 5월 30일

·

마지막 활동: 2024년 5월 30일

팔로잉

0

팔로워

0

총 활동 수

1

투표 수

0

플랜 수

0

활동 개요

님의 최근 활동 Roberto Fasciolo

Roberto Fasciolo님이 에 게시물을 만듦

게시물 Developer - Platform (Sunshine)

Hello,

 

As part of the development of our product I need to query existing integrations from a Sunshine Conversations app. The answer that we get from the server does not match the API specifications, this is the response (with values redacted):

{
  "integrations": [
    {
      "_id": "***",
      "status": "active",
      "type": "whatsapp",
      "displayName": "Whatsapp",
      "brandId": "***",
      "accountId": "***",
      "businessManagerId": "***",
      "appId": "***",
      "phoneNumber": "***",
      "phoneNumberId": "***"
    }
  ],
  "hasMore": false,
  "offset": 0
}

But the OpenAPI specification requires a deploymentId field to be present there. The lack of it causes the python client library to fail with ValueError: Invalid value for `deployment_id`, must not be `None`

 

It looks to me that either the OpenAPI spec is wrong or the server doesn't implement it correctly. Regardless, how can I get the client library to work with that call?

2024년 5월 30일에 편집됨 · Roberto Fasciolo

0

팔로워

2

투표 수

1

댓글