Custom API Connector Issue with Record Parent Key

Summary

The user is facing an issue with a custom API connector where they are unable to include the record parent key in the final record output. They provided the desired data format and the current format provided by the API.


Question

Hello! I hope you’re all well. I’ve run into an issue while creating a custom API connector for (https://api.growthepie.xyz/v1/master.json). Specifically, I’m unable to get the record parent key included in the final record output. How do I do this? To clarify, I’m hoping to get the following data format:

   {
      "origin_key": "chain_name",
      "name": "....",
      "deployment": ....",
      "name_short": "...",
      "description": ".....",
      "da_layer": "-",
   }
]```
from the current format provided by the API:
```[  ....,
   chains: [
   "chain_name": {
        "name": "....",
        "deployment": ....",
        "name_short": "...",
        "description": ".....",
        "da_layer": "-",
      }
   ]
]```


<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1715118186165729) if you want to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
["custom-api-connector", "record-parent-key", "data-format", "api"]
</sub>