upd(messaging): permissions to rules
This commit is contained in:
+10
-10
@@ -704,15 +704,15 @@
|
||||
"parameters": {}
|
||||
},
|
||||
{
|
||||
"name": "getTeam",
|
||||
"path": "/permissions/{team}",
|
||||
"name": "get",
|
||||
"path": "/permissions/{teamID}",
|
||||
"method": "GET",
|
||||
"title": "Retrieve current permission settings",
|
||||
"parameters": {
|
||||
"path": [
|
||||
{
|
||||
"name": "team",
|
||||
"type": "string",
|
||||
"name": "teamID",
|
||||
"type": "uint64",
|
||||
"required": true,
|
||||
"title": "Team ID"
|
||||
}
|
||||
@@ -734,15 +734,15 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "setTeam",
|
||||
"path": "/permissions/{team}",
|
||||
"name": "set",
|
||||
"path": "/permissions/{teamID}",
|
||||
"method": "POST",
|
||||
"title": "Update permission settings",
|
||||
"parameters": {
|
||||
"path": [
|
||||
{
|
||||
"name": "team",
|
||||
"type": "string",
|
||||
"name": "teamID",
|
||||
"type": "uint64",
|
||||
"required": true,
|
||||
"title": "Team ID"
|
||||
}
|
||||
@@ -750,9 +750,9 @@
|
||||
"post": [
|
||||
{
|
||||
"name": "permissions",
|
||||
"type": "[]rules.Permission",
|
||||
"type": "[]rules.Rules",
|
||||
"required": true,
|
||||
"title": "List of permissions to set"
|
||||
"title": "List of rules to set"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -24,10 +24,10 @@
|
||||
"Parameters": {}
|
||||
},
|
||||
{
|
||||
"Name": "getTeam",
|
||||
"Name": "get",
|
||||
"Method": "GET",
|
||||
"Title": "Retrieve current permission settings",
|
||||
"Path": "/permissions/{team}",
|
||||
"Path": "/permissions/{teamID}",
|
||||
"Parameters": {
|
||||
"get": [
|
||||
{
|
||||
@@ -45,34 +45,34 @@
|
||||
],
|
||||
"path": [
|
||||
{
|
||||
"name": "team",
|
||||
"name": "teamID",
|
||||
"required": true,
|
||||
"title": "Team ID",
|
||||
"type": "string"
|
||||
"type": "uint64"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "setTeam",
|
||||
"Name": "set",
|
||||
"Method": "POST",
|
||||
"Title": "Update permission settings",
|
||||
"Path": "/permissions/{team}",
|
||||
"Path": "/permissions/{teamID}",
|
||||
"Parameters": {
|
||||
"path": [
|
||||
{
|
||||
"name": "team",
|
||||
"name": "teamID",
|
||||
"required": true,
|
||||
"title": "Team ID",
|
||||
"type": "string"
|
||||
"type": "uint64"
|
||||
}
|
||||
],
|
||||
"post": [
|
||||
{
|
||||
"name": "permissions",
|
||||
"required": true,
|
||||
"title": "List of permissions to set",
|
||||
"type": "[]rules.Permission"
|
||||
"title": "List of rules to set",
|
||||
"type": "[]rules.Rules"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user