Hi everyone. I’m trying to build a custom source c...
# help-connector-development
a
Hi everyone. I’m trying to build a custom source connector using Connector Builder UI. The structure of API request should be as follows:
Copy code
{
  "id": "1",
  "method": "SerpstatKeywordProcedure.getKeywords",
  "params": {
    "keyword": "iphone",
    "se": "g_us",
    "minusKeywords": [
      "app",
      "apple"
    ],
    "filters": {
      "lang": "en"
    },
    "sort": {
      "region_queries_count": "asc"
    },
    "page": 1,
    "size": 2
  }
}
I can use Request Body in the UI to set key-value pairs like “id”: “1” but for params object it doesn’t work. Is it possible to set nested objects in API request body in Connector Builder UI?
k
A message from kapa.ai
New message text here
octavia shock 1
j
What kapa is saying is currently true - the connector builder UI does not support nested objects in the body like this. However, we are aware that this is a common ask and will add this feature soon.
Till then you can either use the CDK or switch to the yaml view which allows to do this kind of thing using
request_body_data
(an example how to do that: https://github.com/airbytehq/airbyte/blob/903d34e5f16430a86a1cebafd51b2dc821595148[…]ns/connectors/source-senseforce/source_senseforce/manifest.yaml )
a
Hi Joe, Thanks for the link, I'll check it. Do you have any ETA for this feature?
j
Unfortunately I can't commit to a date right now but you can subscribe to the issue here: https://github.com/airbytehq/airbyte/issues/25968 I hope to be able to start working on it next week
a
Great, thanks for your answers