Authorizations
Body
application/json
Data Catalogue information
Data Catalogue input model
curl --request POST \
--url http://localhost:8080/api/v1/data-catalogues \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"attributes": {
"icon": "<string>",
"long_description": "<string>",
"name": "<string>",
"short_description": "<string>"
},
"type": "<string>"
}
}
'{
"attributes": {
"datasources": [
{
"attributes": {
"active": true,
"db_conn_api_key": "<string>",
"db_conn_string": "<string>",
"db_name": "<string>",
"db_source_type": "<string>",
"embed_api_key": "<string>",
"embed_model": "<string>",
"embed_url": "<string>",
"embed_vendor": "<string>",
"icon": "<string>",
"long_description": "<string>",
"name": "<string>",
"privacy_score": 123,
"short_description": "<string>",
"tags": [
{
"attributes": {
"name": "<string>"
},
"id": "<string>",
"type": "<string>"
}
],
"url": "<string>",
"user_id": 123
},
"id": "<string>",
"type": "<string>"
}
],
"icon": "<string>",
"long_description": "<string>",
"name": "<string>",
"short_description": "<string>",
"tags": [
{
"attributes": {
"name": "<string>"
},
"id": "<string>",
"type": "<string>"
}
]
},
"id": "<string>",
"type": "<string>"
}Create a new data catalogue with the provided information
curl --request POST \
--url http://localhost:8080/api/v1/data-catalogues \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"attributes": {
"icon": "<string>",
"long_description": "<string>",
"name": "<string>",
"short_description": "<string>"
},
"type": "<string>"
}
}
'{
"attributes": {
"datasources": [
{
"attributes": {
"active": true,
"db_conn_api_key": "<string>",
"db_conn_string": "<string>",
"db_name": "<string>",
"db_source_type": "<string>",
"embed_api_key": "<string>",
"embed_model": "<string>",
"embed_url": "<string>",
"embed_vendor": "<string>",
"icon": "<string>",
"long_description": "<string>",
"name": "<string>",
"privacy_score": 123,
"short_description": "<string>",
"tags": [
{
"attributes": {
"name": "<string>"
},
"id": "<string>",
"type": "<string>"
}
],
"url": "<string>",
"user_id": 123
},
"id": "<string>",
"type": "<string>"
}
],
"icon": "<string>",
"long_description": "<string>",
"name": "<string>",
"short_description": "<string>",
"tags": [
{
"attributes": {
"name": "<string>"
},
"id": "<string>",
"type": "<string>"
}
]
},
"id": "<string>",
"type": "<string>"
}Data Catalogue information
Data Catalogue input model
Show child attributes
Was this page helpful?