Provides the description with the labels in lookup of predicates
In the last update of the predicate page, we included the possibility that a predicate has a description, It would be helpful to show this description in autocomplete suggestions.
Example:
curl 'http://localhost:8080/api/predicates/?q=yie&page=1&items=10' -i -X GET
-H 'Content-Type: application/json;charset=utf-8'
-H 'Accept: application/json'
Result :
[
{
"id": "P1",
"label": "yields",
"description": "yields predicate description",
"created_at": "2020-06-04T11:05:38.356352Z",
"created_by": "00000000-0000-0000-0000-000000000000",
"_class": "predicate"
},
...
]
Edited by Kheir Eddine