🎛️
Lowcoder API Specification
  • Authentication
  • API reference Lowcoder
    • Api Lowcoder v2.0.1
      • Users
        • Password
        • NewUserGuidanceShown
        • Mark status
        • Reset password
        • Photo
        • UserDetail
        • Me
        • CurrentUser
      • Datasources
        • Permissions
        • Test
        • GetPluginDynamicConfig
        • Structure
        • ListByOrg
        • ListByApp
        • JsDatasourcePlugins
        • Info
      • Applications
        • Public to all
        • Permissions
        • Restore
        • Recycle
          • List
        • Publish
        • CreateFromTemplate
        • View
        • List
        • Home
      • Library queries
        • Publish
        • ListByOrg
        • DropDownList
      • Folders
        • Permissions
        • Move
        • Elements
      • Organizations
        • Update
        • Role
        • Common settings
        • SwitchOrganization
        • Logo
        • Members
        • DatasourceTypes
        • Remove
        • Leave
      • Invitation
        • Invite
      • Groups
        • Update
        • Role
        • AddMember
        • Members
        • List
        • Remove
        • Leave
      • Configs
        • DeploymentId
      • Materials
        • List
      • Assets
      • Library query records
        • ListByLibraryQueryId
      • Query
        • Execute from node
        • Execute
      • Auth
        • Logout
        • Config
        • Configs
        • Tp
          • Login
        • Form
          • Login
      • Application
        • History snapshots
      • State
        • HealthCheck
      • Misc
        • Js library
          • Recommendations
          • Metas
      • Specification
    • Api Lowcoder v2.1.4
      • Users
        • Password
        • NewUserGuidanceShown
        • Mark status
        • Reset password
        • Photo
        • UserDetail
        • Me
        • CurrentUser
      • Datasources
        • Permissions
        • Test
        • GetPluginDynamicConfig
        • Structure
        • ListByOrg
        • ListByApp
        • JsDatasourcePlugins
        • Info
      • Applications
        • Public to all
        • Permissions
        • Restore
        • Recycle
          • List
        • Publish
        • CreateFromTemplate
        • View
        • List
        • Home
      • Library queries
        • Publish
        • ListByOrg
        • DropDownList
      • Folders
        • Permissions
        • Move
        • Elements
      • Organizations
        • Update
        • Role
        • Common settings
        • SwitchOrganization
        • Logo
        • Members
        • DatasourceTypes
        • Remove
        • Leave
      • Invitation
        • Invite
      • Groups
        • Update
        • Role
        • AddMember
        • Members
        • List
        • Remove
        • Leave
      • Configs
        • DeploymentId
      • Materials
        • List
      • Assets
      • Library query records
        • ListByLibraryQueryId
      • Query
        • Execute from node
        • Execute
      • Auth
        • Logout
        • Config
        • Configs
        • Tp
          • Login
        • Form
          • Login
      • Application
        • History snapshots
      • State
        • HealthCheck
      • Misc
        • Js library
          • Recommendations
          • Metas
      • Specification
    • API Lowcoder v2.1.6
      • Users
        • Password
        • NewUserGuidanceShown
        • Mark status
        • Reset password
        • Photo
        • UserDetail
        • Me
        • CurrentUser
      • Datasources
        • Permissions
        • Test
        • GetPluginDynamicConfig
        • Structure
        • ListByOrg
        • ListByApp
        • JsDatasourcePlugins
        • Info
      • Applications
        • Public to all
        • Permissions
        • Restore
        • Recycle
          • List
        • Publish
        • CreateFromTemplate
        • View
        • List
        • Home
      • Library queries
        • Publish
        • ListByOrg
        • DropDownList
      • Folders
        • Permissions
        • Move
        • Elements
      • Organizations
        • Update
        • Role
        • Common settings
        • SwitchOrganization
        • Logo
        • Members
        • DatasourceTypes
        • Remove
        • Leave
      • Groups
        • Update
        • Role
        • AddMember
        • Members
        • List
        • Remove
        • Leave
      • Configs
        • DeploymentId
      • Invitation
        • Invite
      • Materials
        • List
      • Assets
      • Library query records
        • ListByLibraryQueryId
      • Query
        • Execute from node
        • Execute
      • Application
        • History snapshots
      • Misc
        • Js library
          • Recommendations
          • Metas
      • Auth
        • Logout
        • Config
        • Api key
        • Configs
        • Api keys
        • Tp
          • Login
        • Form
          • Login
      • State
        • HealthCheck
    • Specification
Powered by GitBook
On this page
  1. API reference Lowcoder
  2. Api Lowcoder v2.0.1

Datasources

PreviousCurrentUserNextPermissions

Last updated 1 year ago

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
}
  • GET/api/datasources/{id}
  • PUT/api/datasources/{id}
  • DELETE/api/datasources/{id}
  • POST/api/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
}
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
}