Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Extension of data-provider Web-API in Guilin


POST /read-inventory-tree/

POST /read-inventory-tree/{nodeId}

POST /read-inventory-tree/{nodeId}/{uuid-level-0}/...


{
    "query":"2143524123"
    
}

=> Elasticsearch query (search through all properties)

POST /alias/doctype/_search
{
  "query": {
    "query_string": {
      "default_field": "*",
      "query": "*searchfor*"
    }
  }
}

Response:

key-level-n => databaseId

{
     "{key-level-0}":{
         "label":"1.0 Shelf",
         "children?":[
             {
                 "{key-level-1}": {
                      ...
                 }
             }
         ],
         "isMatch":true,
         "ownSeverity?":"major",
         "childrenSeveritySummary?":"minor"
     }
}
  • No labels