Datasources
get
Authorizations
Path parameters
idstringRequired
Responses
200
OK
*/*
get
GET /datasources/{id} HTTP/1.1
Host: api
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
PUT /datasources/{id} HTTP/1.1
Host: api
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
DELETE /datasources/{id} HTTP/1.1
Host: api
Accept: */*
200
OK
{
"code": 1,
"message": "text",
"data": true,
"success": true
}
post
Authorizations
Body
idstringOptional
namestringOptional
typestringOptional
organizationIdstringOptional
Responses
201
Created
*/*
post
POST /datasources HTTP/1.1
Host: api
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