Hey, I’m using the low code/config based connector...
# help-connector-development
g
Hey, I’m using the low code/config based connector builder, and have an API schema that seems a bit annoying to match, I wonder if there’s any advice on how’s best to approach? The schema returns a bunch of records, but the IDs of the records are the keys of the object…
Copy code
{
  "status_reports": {
      "6509036": {
        "color": "green",
        "description": "All OK",
        "id": "6509036"
      },
      "6509037": {
        "color": "yellow",
        "description": "Watch out",
        "id": "6509037"
      },
....
So here,
6509036
is an ID for a record, etc…. I can use the first record selector as
status_reports
but then it’s not clear if I can flip that the properties to become a list themselves? I don’t need to keep the key as the ID is repeated inside that object. (or whether I will need to go to the HTTP API based one just to do this transformation)
1
Or I should just read the docs, use
*
as a selector 🤦