mirror of
https://github.com/openziti/zrok.git
synced 2025-08-19 12:24:37 +02:00
update shares to include add/remove access grants (#432)
This commit is contained in:
@@ -988,6 +988,9 @@ func init() {
|
||||
"200": {
|
||||
"description": "share updated"
|
||||
},
|
||||
"400": {
|
||||
"description": "bad request"
|
||||
},
|
||||
"401": {
|
||||
"description": "unauthorized"
|
||||
},
|
||||
@@ -1721,9 +1724,21 @@ func init() {
|
||||
"updateShareRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"addAccessGrants": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"backendProxyEndpoint": {
|
||||
"type": "string"
|
||||
},
|
||||
"removeAccessGrants": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"shrToken": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -2728,6 +2743,9 @@ func init() {
|
||||
"200": {
|
||||
"description": "share updated"
|
||||
},
|
||||
"400": {
|
||||
"description": "bad request"
|
||||
},
|
||||
"401": {
|
||||
"description": "unauthorized"
|
||||
},
|
||||
@@ -3461,9 +3479,21 @@ func init() {
|
||||
"updateShareRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"addAccessGrants": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"backendProxyEndpoint": {
|
||||
"type": "string"
|
||||
},
|
||||
"removeAccessGrants": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"shrToken": {
|
||||
"type": "string"
|
||||
}
|
||||
|
Reference in New Issue
Block a user