| ... | @@ -4,9 +4,11 @@ the query context must be defined. |
... | @@ -4,9 +4,11 @@ the query context must be defined. |
|
|
Example: to find out which entites (attribute "entity") a user may set as the base entity for a new saved
|
|
Example: to find out which entites (attribute "entity") a user may set as the base entity for a new saved
|
|
|
query (transition "add" on "extensions.query"), this will find the answer:
|
|
query (transition "add" on "extensions.query"), this will find the answer:
|
|
|
|
|
|
|
|
```JSON
|
|
`POST #/data/system/entity/query`
|
|
|
#/data/system/entity/query
|
|
|
|
|
{"context": {
|
|
```json
|
|
|
|
{
|
|
|
|
"context": {
|
|
|
"module" : "extensions",
|
|
"module" : "extensions",
|
|
|
"entity" : "query",
|
|
"entity" : "query",
|
|
|
"transition" : "add",
|
|
"transition" : "add",
|
| ... | @@ -17,8 +19,8 @@ query (transition "add" on "extensions.query"), this will find the answer: |
... | @@ -17,8 +19,8 @@ query (transition "add" on "extensions.query"), this will find the answer: |
|
|
|
|
|
|
|
If, in this list, the instance with id 5 is listed, this will be a valid request:
|
|
If, in this list, the instance with id 5 is listed, this will be a valid request:
|
|
|
|
|
|
|
|
```JSON
|
|
`POST /data/extensions/query/transitions/add`
|
|
|
#/data/extensions/query/transitions/add
|
|
```json
|
|
|
{
|
|
{
|
|
|
"entity" : 5,
|
|
"entity" : 5,
|
|
|
#other parameters
|
|
#other parameters
|
| ... | | ... | |