Datasources
get
Authorizations
Path parameters
idstringRequired
Responses
200
OK
*/*
get
/api/datasources/{id}GET /api/datasources/{id} HTTP/1.1
Host: /
Accept: */*
200
OK
{
"code": 1,
"message": "text",
"data": {
"id": "text",
"createdBy": "text",
"name": "text",
"type": "text",
"organizationId": "text",
"creationSource": 1,
"datasourceStatus": "NORMAL",
"pluginDefinition": {
"queryConfigDynamic": true,
"datasourceConfigExtraDynamic": true,
"name": "text",
"id": "text",
"empty": true,
"ANY_ADDITIONAL_PROPERTY": {}
},
"createTime": 1,
"datasourceConfig": {}
},
"success": true
}put
Authorizations
Path parameters
idstringRequired
Body
idstringOptional
namestringOptional
typestringOptional
organizationIdstringOptional
Responses
200
OK
*/*
put
/api/datasources/{id}PUT /api/datasources/{id} HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"id": "text",
"name": "text",
"type": "text",
"organizationId": "text",
"datasourceConfig": {
"ANY_ADDITIONAL_PROPERTY": {}
}
}200
OK
{
"code": 1,
"message": "text",
"data": {
"id": "text",
"createdBy": "text",
"name": "text",
"type": "text",
"organizationId": "text",
"creationSource": 1,
"datasourceStatus": "NORMAL",
"pluginDefinition": {
"queryConfigDynamic": true,
"datasourceConfigExtraDynamic": true,
"name": "text",
"id": "text",
"empty": true,
"ANY_ADDITIONAL_PROPERTY": {}
},
"createTime": 1,
"datasourceConfig": {}
},
"success": true
}delete
Authorizations
Path parameters
idstringRequired
Responses
200
OK
*/*
delete
/api/datasources/{id}DELETE /api/datasources/{id} HTTP/1.1
Host: /
Accept: */*
200
OK
{
"code": 1,
"message": "text",
"data": true,
"success": true
}post
Authorizations
Body
idstringOptional
namestringOptional
typestringOptional
organizationIdstringOptional
Responses
201
Created
*/*
post
/api/datasourcesPOST /api/datasources HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"id": "text",
"name": "text",
"type": "text",
"organizationId": "text",
"datasourceConfig": {
"ANY_ADDITIONAL_PROPERTY": {}
}
}201
Created
{
"code": 1,
"message": "text",
"data": {
"id": "text",
"createdBy": "text",
"name": "text",
"type": "text",
"organizationId": "text",
"creationSource": 1,
"datasourceStatus": "NORMAL",
"pluginDefinition": {
"queryConfigDynamic": true,
"datasourceConfigExtraDynamic": true,
"name": "text",
"id": "text",
"empty": true,
"ANY_ADDITIONAL_PROPERTY": {}
},
"createTime": 1,
"datasourceConfig": {}
},
"success": true
}Last updated