update share backend (#125)

This commit is contained in:
Michael Quigley
2022-12-02 13:21:05 -05:00
parent d2cf19188a
commit 135fd483fa
15 changed files with 1081 additions and 9 deletions

View File

@ -470,6 +470,40 @@ func init() {
}
}
}
},
"patch": {
"security": [
{
"key": []
}
],
"tags": [
"service"
],
"operationId": "updateShare",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/updateShareRequest"
}
}
],
"responses": {
"200": {
"description": "service updated"
},
"401": {
"description": "unauthorized"
},
"404": {
"description": "not found"
},
"500": {
"description": "internal server error"
}
}
}
},
"/unaccess": {
@ -983,6 +1017,17 @@ func init() {
}
}
},
"updateShareRequest": {
"type": "object",
"properties": {
"backendProxyEndpoint": {
"type": "string"
},
"serviceToken": {
"type": "string"
}
}
},
"verifyRequest": {
"type": "object",
"properties": {
@ -1464,6 +1509,40 @@ func init() {
}
}
}
},
"patch": {
"security": [
{
"key": []
}
],
"tags": [
"service"
],
"operationId": "updateShare",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/updateShareRequest"
}
}
],
"responses": {
"200": {
"description": "service updated"
},
"401": {
"description": "unauthorized"
},
"404": {
"description": "not found"
},
"500": {
"description": "internal server error"
}
}
}
},
"/unaccess": {
@ -1977,6 +2056,17 @@ func init() {
}
}
},
"updateShareRequest": {
"type": "object",
"properties": {
"backendProxyEndpoint": {
"type": "string"
},
"serviceToken": {
"type": "string"
}
}
},
"verifyRequest": {
"type": "object",
"properties": {