Library queries

put
Authorizations
Path parameters
libraryQueryIdstringRequired
Body
namestringOptional
Responses
200
OK
*/*
put
PUT /library-queries/{libraryQueryId} HTTP/1.1
Host: api
Content-Type: application/json
Accept: */*
Content-Length: 64

{
  "name": "text",
  "libraryQueryDSL": {
    "ANY_ADDITIONAL_PROPERTY": {}
  }
}
200

OK

{
  "code": 1,
  "message": "text",
  "data": true,
  "success": true
}
delete
Authorizations
Path parameters
libraryQueryIdstringRequired
Responses
200
OK
*/*
delete
DELETE /library-queries/{libraryQueryId} HTTP/1.1
Host: api
Accept: */*
200

OK

{
  "code": 1,
  "message": "text",
  "data": true,
  "success": true
}
post
Authorizations
Body
idstringOptional
organizationIdstringOptional
namestringOptional
createdBystringOptional
baseQuerySupplierobjectOptional
Responses
200
OK
*/*
post
POST /library-queries HTTP/1.1
Host: api
Content-Type: application/json
Accept: */*
Content-Length: 247

{
  "id": "text",
  "organizationId": "text",
  "name": "text",
  "libraryQueryDSL": {
    "ANY_ADDITIONAL_PROPERTY": {}
  },
  "createdBy": "text",
  "baseQuerySupplier": {},
  "query": {
    "datasourceId": "text",
    "compType": "text",
    "comp": {
      "ANY_ADDITIONAL_PROPERTY": {}
    },
    "timeout": "text"
  }
}
200

OK

{
  "code": 1,
  "message": "text",
  "data": {
    "id": "text",
    "organizationId": "text",
    "name": "text",
    "libraryQueryDSL": {
      "ANY_ADDITIONAL_PROPERTY": {}
    },
    "createTime": 1,
    "creatorName": "text"
  },
  "success": true
}