https://linen.dev logo
#ask-community-for-troubleshooting
Title
# ask-community-for-troubleshooting
r

Rohan Chitalia

03/14/2022, 3:14 PM
Hi - can someone give me an API response for the following endpoint?
Copy code
POST /v1/source_definitions/list_latest
1
Maybe @Harshith (Airbyte)?
a

Augustin Lafanechere (Airbyte)

03/14/2022, 3:37 PM
Copy code
{
  "sourceDefinitions": [
    {
      "sourceDefinitionId": "17f89133-b560-4000-8834-575652b2d501",
      "name": "string",
      "dockerRepository": "string",
      "dockerImageTag": "string",
      "documentationUrl": "<http://example.com>",
      "icon": "string",
      "releaseStage": "alpha",
      "releaseDate": "1970-01-01",
      "resourceRequirements": {
        "default": "#/definitions/ResourceRequirements",
        "jobSpecific": [
          "#/definitions/JobTypeResourceLimit"
        ]
      }
    }
  ]
}
Feel free to check our API documentation for these kind of examples.
r

Rohan Chitalia

03/14/2022, 4:19 PM
Thanks @Augustin Lafanechere (Airbyte) - not gonna lie tho, the API docs aren’t very comprehensive right now. Do you know which API I would use to enumerate through all the various source types that airbyte supports? i.e. this
maybe @Harshith (Airbyte) or @Adam Knobel?
a

Augustin Lafanechere (Airbyte)

03/14/2022, 8:34 PM
@Rohan Chitalia are you running a self hosted Airbyte? Could you please explain what you are trying to achieve with this data ? We might have a better solution for you.
r

Rohan Chitalia

03/15/2022, 6:54 PM
@Augustin Lafanechere (Airbyte) we are building a UI that will allow our customers to configure direct database connections. We plan to use the airbyte cloud API when it’s ready for this. But in the meantime, we need some API responses so that we can build do - I don’t have a self hosted airbyte at the moment
@Augustin Lafanechere (Airbyte) @Harshith (Airbyte) @Adam Knobel any help here folks?
a

Augustin Lafanechere (Airbyte)

03/16/2022, 5:16 PM
Hi @Rohan Chitalia, I suggest you parse the response of this page to retrieve this information online. This is the source of truth Airbyte backend uses internally to list the available source connectors.
r

Rohan Chitalia

03/16/2022, 8:40 PM
Hi @Augustin Lafanechere (Airbyte) thanks - this was helpful. One follow-up question I had: how can I see all the dynamic configuration options based on the source type selected when creating a new source. For example in the image below, we I select source type =
Github
, there are options to add a branch, repository, etc. Is there an API response that I can parse to get all those additional fields? Or like a mapping from source type to configuration options
I guess what I’m asking for is the responses for all possible source definitions for this API
*POST* /v1/source_definition_specifications/get
Friendly bump here @Augustin Lafanechere (Airbyte) @Adam Knobel
5 Views