mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-20 08:04:28 +01:00
@@ -1062,7 +1062,7 @@ func (a *Api) SendStopTyping(c *gin.Context) {
|
||||
// @Accept json
|
||||
// @Produce json
|
||||
// @Param numbers query []string true "Numbers to check" collectionFormat(multi)
|
||||
// @Success 204 {object} SearchResponse
|
||||
// @Success 200 {object} []SearchResponse
|
||||
// @Failure 400 {object} Error
|
||||
// @Router /v1/search [get]
|
||||
func (a *Api) SearchForNumbers(c *gin.Context) {
|
||||
|
||||
@@ -940,10 +940,13 @@ var doc = `{
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"204": {
|
||||
"description": "No Content",
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.SearchResponse"
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/api.SearchResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
|
||||
@@ -925,10 +925,13 @@
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"204": {
|
||||
"description": "No Content",
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.SearchResponse"
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/api.SearchResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
|
||||
@@ -799,10 +799,12 @@ paths:
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"204":
|
||||
description: No Content
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/api.SearchResponse'
|
||||
items:
|
||||
$ref: '#/definitions/api.SearchResponse'
|
||||
type: array
|
||||
"400":
|
||||
description: Bad Request
|
||||
schema:
|
||||
|
||||
Reference in New Issue
Block a user