re-generated swagger documentation

This commit is contained in:
Bernhard B
2022-01-15 19:55:04 +01:00
parent 1f622e3305
commit b64ee6bbb8
3 changed files with 133 additions and 0 deletions

View File

@@ -1091,6 +1091,47 @@ var doc = `{
}
}
},
"/v1/unregister/{number}": {
"post": {
"description": "Disables push support for this device. **WARNING:** If *delete_account* is set to *true*, the account will be deleted from the Signal Server. This cannot be undone without loss.",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Devices"
],
"summary": "Unregister a phone number.",
"parameters": [
{
"type": "string",
"description": "Registered Phone Number",
"name": "number",
"in": "path",
"required": true
},
{
"description": "Additional Settings",
"name": "data",
"in": "body",
"schema": {
"$ref": "#/definitions/api.UnregisterNumberRequest"
}
}
],
"responses": {
"204": {},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/api.Error"
}
}
}
}
},
"/v2/send": {
"post": {
"description": "Send a signal message",
@@ -1323,6 +1364,15 @@ var doc = `{
}
}
},
"api.UnregisterNumberRequest": {
"type": "object",
"properties": {
"delete_account": {
"type": "boolean",
"example": false
}
}
},
"api.UpdateProfileRequest": {
"type": "object",
"properties": {