support for 'patch' access (frontend) to update description (for bind address) (#834)

This commit is contained in:
Michael Quigley
2025-02-04 22:16:02 -05:00
parent c9c60b4dd1
commit 2a49705a48
26 changed files with 1545 additions and 0 deletions

View File

@ -89,6 +89,47 @@ func init() {
"description": "internal server error"
}
}
},
"patch": {
"security": [
{
"key": []
}
],
"tags": [
"share"
],
"operationId": "updateAccess",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"properties": {
"description": {
"type": "string"
},
"frontendToken": {
"type": "string"
}
}
}
}
],
"responses": {
"200": {
"description": "access updated"
},
"401": {
"description": "unauthorized"
},
"404": {
"description": "not found"
},
"500": {
"description": "internal server error"
}
}
}
},
"/account": {
@ -2292,6 +2333,47 @@ func init() {
"description": "internal server error"
}
}
},
"patch": {
"security": [
{
"key": []
}
],
"tags": [
"share"
],
"operationId": "updateAccess",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"properties": {
"description": {
"type": "string"
},
"frontendToken": {
"type": "string"
}
}
}
}
],
"responses": {
"200": {
"description": "access updated"
},
"401": {
"description": "unauthorized"
},
"404": {
"description": "not found"
},
"500": {
"description": "internal server error"
}
}
}
},
"/account": {