upd(messaging): update api docs and spec
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"Struct": [
|
||||
{
|
||||
"imports": [
|
||||
"github.com/crusttech/crust/internal/rbac"
|
||||
"github.com/crusttech/crust/internal/rules"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -73,7 +73,7 @@
|
||||
"name": "permissions",
|
||||
"required": true,
|
||||
"title": "List of permissions to set",
|
||||
"type": "[]rbac.Permission"
|
||||
"type": "[]rules.Permission"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+1
-1
@@ -492,7 +492,7 @@ The following event types may be sent with a message event:
|
||||
| Parameter | Type | Method | Description | Default | Required? |
|
||||
| --------- | ---- | ------ | ----------- | ------- | --------- |
|
||||
| team | string | PATH | Team ID | N/A | YES |
|
||||
| permissions | []rbac.Permission | POST | List of permissions to set | N/A | YES |
|
||||
| permissions | []rules.Permission | POST | List of permissions to set | N/A | YES |
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user