mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-19 15:44:28 +01:00
updated docs
This commit is contained in:
@@ -169,18 +169,8 @@ var doc = `{
|
||||
},
|
||||
"/v1/qrcodelink": {
|
||||
"get": {
|
||||
"parameters": [
|
||||
{
|
||||
"in": "query",
|
||||
"name": "device_name",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "The name of the device is being linked. This name will be shown in Signal as device."
|
||||
}
|
||||
],
|
||||
"description": "Returns a QR-Code image. In case of an error a JSON object will be returned. Due to security reason of Signal, the provided QR-Code will change with each request.",
|
||||
"description": "test",
|
||||
"produces": [
|
||||
"image/png".
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
@@ -189,14 +179,9 @@ var doc = `{
|
||||
"summary": "Link device and generate QR code.",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Ok",
|
||||
"content":
|
||||
"image"
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"description": "Image",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.Error"
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user