upd(messaging): permission API with DB
This commit is contained in:
+16
-6
@@ -718,12 +718,6 @@
|
||||
}
|
||||
],
|
||||
"get": [
|
||||
{
|
||||
"name": "scope",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"title": "Permissions scope"
|
||||
},
|
||||
{
|
||||
"name": "resource",
|
||||
"type": "string",
|
||||
@@ -756,6 +750,22 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "scopes",
|
||||
"path": "/permissions/scopes/{scope}",
|
||||
"method": "GET",
|
||||
"title": "List resources for given scope",
|
||||
"parameters": {
|
||||
"path": [
|
||||
{
|
||||
"name": "scope",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"title": "Scope"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -30,12 +30,6 @@
|
||||
"Path": "/permissions/{teamID}",
|
||||
"Parameters": {
|
||||
"get": [
|
||||
{
|
||||
"name": "scope",
|
||||
"required": true,
|
||||
"title": "Permissions scope",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "resource",
|
||||
"required": true,
|
||||
@@ -76,6 +70,22 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "scopes",
|
||||
"Method": "GET",
|
||||
"Title": "List resources for given scope",
|
||||
"Path": "/permissions/scopes/{scope}",
|
||||
"Parameters": {
|
||||
"path": [
|
||||
{
|
||||
"name": "scope",
|
||||
"required": true,
|
||||
"title": "Scope",
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user