GET
/
v1
/
data-sources
/
{id}
Retrieve a Data Source by id
curl --request GET \
  --url https://smart-templates.sandbox.midaz.io/v1/data-sources/{id}
[
{
"data": [
{
"id": "midaz_onboarding",
"externalName": "onboarding",
"type": "postgresql"
},
{
"id": "midaz_transaction",
"externalName": "transaction",
"type": "postgresql"
},
{
"id": "fees",
"externalName": "fees",
"type": "mongodb"
}
]
}
]

Headers

Authorization
string

The authorization token. Important: This header is required if your environment has the Acces Manager plugin enabled.

X-Organization-id
string

The unique identifier of the Organization associated with the request.

Path Parameters

id
string
required

The unique identifier of the data source that you want to retrieve.

Response

If the result is successful, you will receive a list with all data sources.

Information about the data sources.

data
any[]
required

List of data sources currently available in the system.