post https://data.lucid.app/dataSources
Creates a new data source and a corresponding new data source grant for the user.
Response
Creates a new data source and a corresponding new data source grant for the user.
xxxxxxxxxx
curl --request POST \
--url https://data.lucid.app/dataSources \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
11{
"uri": "https://data.lucid.app/dataSources/2967",
"name": "New Data Source",
"sourceGrants": "https://data.lucid.app/sourceGrants?dataSource=https://data.lucid.app/dataSources/2967",
"adapterType": "CSV",
"collections": "https://data.lucid.app/collections?dataSource=https://data.lucid.app/dataSources/2967",
"created": "2021-01-01T00:00:00Z",
"lastModified": "2021-01-01T00:00:00Z",
"pending": false,
"dataSet": "https://data.lucid.app/dataSets/2168"
}