mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-19 23:54:22 +01:00
updated swagger documentation for receive endpoint
This commit is contained in:
@@ -330,7 +330,7 @@ func wsPing(ws *websocket.Conn) {
|
|||||||
|
|
||||||
// @Summary Receive Signal Messages.
|
// @Summary Receive Signal Messages.
|
||||||
// @Tags Messages
|
// @Tags Messages
|
||||||
// @Description Receives Signal Messages from the Signal Network.
|
// @Description Receives Signal Messages from the Signal Network. If you are running the docker container in normal/native mode, this is a GET endpoint. In json-rpc mode this is a websocket endpoint.
|
||||||
// @Accept json
|
// @Accept json
|
||||||
// @Produce json
|
// @Produce json
|
||||||
// @Success 200 {object} []string
|
// @Success 200 {object} []string
|
||||||
|
|||||||
@@ -696,7 +696,7 @@ var doc = `{
|
|||||||
},
|
},
|
||||||
"/v1/receive/{number}": {
|
"/v1/receive/{number}": {
|
||||||
"get": {
|
"get": {
|
||||||
"description": "Receives Signal Messages from the Signal Network.",
|
"description": "Receives Signal Messages from the Signal Network. If you are running the docker container in normal/native mode, this is a GET endpoint. In json-rpc mode this is a websocket endpoint.",
|
||||||
"consumes": [
|
"consumes": [
|
||||||
"application/json"
|
"application/json"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -681,7 +681,7 @@
|
|||||||
},
|
},
|
||||||
"/v1/receive/{number}": {
|
"/v1/receive/{number}": {
|
||||||
"get": {
|
"get": {
|
||||||
"description": "Receives Signal Messages from the Signal Network.",
|
"description": "Receives Signal Messages from the Signal Network. If you are running the docker container in normal/native mode, this is a GET endpoint. In json-rpc mode this is a websocket endpoint.",
|
||||||
"consumes": [
|
"consumes": [
|
||||||
"application/json"
|
"application/json"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -615,7 +615,7 @@ paths:
|
|||||||
get:
|
get:
|
||||||
consumes:
|
consumes:
|
||||||
- application/json
|
- application/json
|
||||||
description: Receives Signal Messages from the Signal Network.
|
description: Receives Signal Messages from the Signal Network. If you are running the docker container in normal/native mode, this is a GET endpoint. In json-rpc mode this is a websocket endpoint.
|
||||||
parameters:
|
parameters:
|
||||||
- description: Registered Phone Number
|
- description: Registered Phone Number
|
||||||
in: path
|
in: path
|
||||||
|
|||||||
Reference in New Issue
Block a user