mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-20 16:14:29 +01:00
get accounts
This commit is contained in:
@@ -45,6 +45,35 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/v1/accounts": {
|
||||
"get": {
|
||||
"description": "Lists all of the devices linked or registered",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Accounts"
|
||||
],
|
||||
"summary": "List all accounts",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.Error"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/v1/attachments": {
|
||||
"get": {
|
||||
"description": "List all downloaded attachments",
|
||||
@@ -1951,6 +1980,9 @@ var doc = `{
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2090,6 +2122,10 @@ var doc = `{
|
||||
"description": "Register and link Devices.",
|
||||
"name": "Devices"
|
||||
},
|
||||
{
|
||||
"description": "List registered and linked accounts",
|
||||
"name": "Accounts"
|
||||
},
|
||||
{
|
||||
"description": "Create, List and Delete Signal Groups.",
|
||||
"name": "Groups"
|
||||
|
||||
@@ -29,6 +29,35 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/v1/accounts": {
|
||||
"get": {
|
||||
"description": "Lists all of the devices linked or registered",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Accounts"
|
||||
],
|
||||
"summary": "List all accounts",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.Error"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/v1/attachments": {
|
||||
"get": {
|
||||
"description": "List all downloaded attachments",
|
||||
@@ -1935,6 +1964,9 @@
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2074,6 +2106,10 @@
|
||||
"description": "Register and link Devices.",
|
||||
"name": "Devices"
|
||||
},
|
||||
{
|
||||
"description": "List registered and linked accounts",
|
||||
"name": "Accounts"
|
||||
},
|
||||
{
|
||||
"description": "Create, List and Delete Signal Groups.",
|
||||
"name": "Groups"
|
||||
|
||||
@@ -311,6 +311,25 @@ paths:
|
||||
summary: Lists general information about the API
|
||||
tags:
|
||||
- General
|
||||
/v1/accounts:
|
||||
get:
|
||||
description: Lists all of the devices linked or registered
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
"400":
|
||||
description: Bad Request
|
||||
schema:
|
||||
$ref: '#/definitions/api.Error'
|
||||
summary: List all accounts
|
||||
tags:
|
||||
- Accounts
|
||||
/v1/attachments:
|
||||
get:
|
||||
description: List all downloaded attachments
|
||||
@@ -1372,6 +1391,8 @@ tags:
|
||||
name: General
|
||||
- description: Register and link Devices.
|
||||
name: Devices
|
||||
- description: List registered and linked accounts
|
||||
name: Accounts
|
||||
- description: Create, List and Delete Signal Groups.
|
||||
name: Groups
|
||||
- description: Send and Receive Signal Messages.
|
||||
|
||||
Reference in New Issue
Block a user