OK
PUT /library-queries/{libraryQueryId} HTTP/1.1
Host: api
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"name": "text",
"libraryQueryDSL": {
"ANY_ADDITIONAL_PROPERTY": {}
}
}
OK
{
"code": 1,
"message": "text",
"data": true,
"success": true
}
OK
DELETE /library-queries/{libraryQueryId} HTTP/1.1
Host: api
Accept: */*
OK
{
"code": 1,
"message": "text",
"data": true,
"success": true
}
OK
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"
}
}
OK
{
"code": 1,
"message": "text",
"data": {
"id": "text",
"organizationId": "text",
"name": "text",
"libraryQueryDSL": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"createTime": 1,
"creatorName": "text"
},
"success": true
}