| ... | ... | @@ -12,8 +12,10 @@ To give permission for usage of plugin to a certain agenda, the corresponding ac |
|
|
|
`POST /data/system/agenda_action/create`
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"agenda" : 5,
|
|
|
|
"action" : 7,
|
|
|
|
"action" : 7
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
To get the agenda id:
|
| ... | ... | @@ -35,11 +37,13 @@ To get the action id: |
|
|
|
```json
|
|
|
|
{
|
|
|
|
"conds" : {
|
|
|
|
"is_functional" : true,
|
|
|
|
"entity.is_functional" : true,
|
|
|
|
"entity.name" : "plugin_name",
|
|
|
|
"me.name" : "execute"
|
|
|
|
},
|
|
|
|
"attrs" :
|
|
|
|
"attrs" : {
|
|
|
|
"join" : "entity"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
SELECT action.id from system.action join system.entity on entity.id=entity and is_functional=true where action.name='execute' and entity.name='client_create' |
|
|
|
|