Commit Graph

61 Commits

Author SHA1 Message Date
crummy
8ac02d28eb Correct "number" - it's actually the phone number 2024-10-28 13:37:50 +13:00
crummy
26a5a6039b Update swagger files from code, with swag tool 2024-10-28 13:07:05 +13:00
Bernhard B
54252a3d52 fixed swagger documentation
see #602
2024-10-14 15:58:35 +02:00
Bernhard B
94e93cbe35 added expiration_time parameter to create group endpoint
see #587
2024-10-07 23:02:33 +02:00
Jonathan Beaulieu
47390f85df Add missing groupid parameter
Was missing from delete and add group admin and member.
2024-09-13 11:24:48 +00:00
Jonathan Beaulieu
37cdcac44d Ran swag init with no changes 2024-09-13 11:22:07 +00:00
Bernhard B
e1ea5932c9 re-build swagger documentation 2024-08-20 21:44:11 +02:00
ahatius
8cd60ff6c3 Add support to disable notify-self flag on /v2/send endpoint 2024-08-07 18:54:24 +02:00
Bernhard B
f444622397 rebuilt swagger documentation 2024-06-18 19:50:09 +02:00
Bernhard B
bbd088fc0b added username support to /v2/send endpoint 2024-05-22 19:22:39 +02:00
Bernhard B
95e0b88671 rebuilt swagger documentation 2024-05-11 17:24:34 +02:00
Bernhard B
193a9f1e5b update Swagger documentation 2024-04-27 19:10:28 +02:00
Bernhard B
de631edfb0 return challenge tokens in send endpoint as explicit key 2024-03-25 16:11:04 +01:00
Bernhard B
efee49e792 add API endpoints to list and add sticker packs
see #398
2024-03-13 21:10:23 +01:00
Bernhard B
9c365e6f84 add possibility to edit messages
see #485
2024-03-07 20:11:57 +01:00
Bernhard B
f57512216c added endpoints to set/remove a username + change the account settings 2024-03-06 18:27:17 +01:00
Bernhard B
d5210041c6 fixed typo in swagger documentation
see #466
2024-01-08 20:49:29 +01:00
Bernhard B
13236b7c66 added /v1/rate-limit-challenge endpoint
see #456
2023-12-01 21:29:00 +01:00
Tomek Osika
385a591b32 get accounts 2023-11-12 02:19:13 +01:00
Bernhard B
b45aab70a7 improved REST API documentation 2023-10-07 11:29:41 +02:00
Bernhard B
b39980e66b added possibility to update the group description & the avatar
see #417
2023-10-03 19:49:36 +02:00
Bernhard B
35e2e903df made qrcode version configureable via query parameter (e.g
?qrcode_version=11)

see #402
2023-09-08 22:45:50 +02:00
Bernhard B
4dc19813b6 fixed bug in search endpoint
* when multiple accounts are registered, signal-cli expects the account
  specified with '-a'. In order to stay backwards compatible, the search
  endpoint was extended with an optional number parameter. i.e:
  '/search/{number}'. In case only one account is registered, the number
  parameter can be omitted.

see #369
2023-05-26 18:09:06 +02:00
Bernhard B
0dd742cb23 extended receive endpoint + AUTO_RECEIVE_SCHEDULE functionality
* added timeout, ignore_attachments and ignore_stories query parameter
  to receive endpoint.

* added AUTO_RECEIVE_SCHEDULE_RECEIVE_TIMEOUT,
  AUTO_RECEIVE_SCHEDULE_IGNORE_ATTACHMENTS and
  AUTO_RECEIVE_SCHEDULE_IGNORE_STORIES environment variables to the
  AUTO_RECEIVE_SCHEDULE functionality.

see #365
2023-05-14 21:21:38 +02:00
zeetabit
270278ca30 Bugfix for support attachment base64 and custom filename.
Introduce tests for attachment data parsing. Use tests at build stage.
2022-07-31 13:45:29 +02:00
zeetabit
14fd65c1e7 Support attachment base64 and custom filename. 2022-07-28 00:02:37 +02:00
Bernhard B
9e32aab972 updated swagger documentation 2022-05-28 18:51:39 +02:00
Bernhard B
798f897ad1 added trust mode parameter to json-rpc mode
see #240
2022-05-08 20:23:54 +02:00
Bernhard B
00ea8809b2 extended trust endpoint
* added possibility to trust all known keys. This option doesn't require
  the user to provide a safety number, but insted all known keys are
  trusted. This option is obviously less secure and should only be used
  for testing.

see #237
2022-04-09 09:23:34 +02:00
Bernhard B
d34fcb905e added new API endpoints to add/remove admins to/from Signal Groups
see #232
2022-03-29 19:20:57 +02:00
Bernhard B
3fcd6221d2 added new REST API endpoints
* added endpoint to add members to an existing group
* added endpoint to remove members from an existing group

see #210
2022-03-20 20:39:40 +01:00
Bernhard B
3a5f060546 updated swagger documentation 2022-03-19 19:03:28 +01:00
Bernhard B
bede4bc022 fixed swagger.json url
* the url to the swagger.json uses now the correct ip address.

see #225
2022-03-06 18:11:06 +01:00
Bernhard B
b64ee6bbb8 re-generated swagger documentation 2022-01-15 19:55:04 +01:00
Bernhard B
8e2403bee4 fixed swagger documentation for search endpoint
see #50
2022-01-03 15:21:29 +01:00
Bernhard B
43747af9d4 added search endpoint
* check whether one or more phone numbers are registered with
  the signal service.

see #50
2022-01-02 14:52:45 +01:00
Bernhard B
e5d170eaf6 rebuild swagger documentation 2021-11-06 14:55:09 +01:00
Bernhard B
d4b2dbea7f fixed swagger documentation
* some endpoints had a wrong HTTP status code in the swagger
  documentation.

see #175
2021-11-01 18:52:51 +01:00
Bernhard B
80805c069d added new API endpoints to show/hide typing indicators
see #166
2021-10-25 19:45:19 +02:00
Bernhard B
02f360e42c updated swagger documentation for receive endpoint 2021-10-18 18:45:41 +02:00
Bernhard B
314f9c47e2 fixed swaggo annotations 2021-09-05 18:59:37 +02:00
Bernhard B
91e7e43de9 changed default parameters in swagger documentation for create groups
endpoint

* reordered parameters in swagger annotation in order to default the
  add members & edit group permissions to 'only-admins' & set the default
  for the group link to 'disable'.

see #148
2021-07-10 19:59:13 +02:00
Bernhard B
5dc663e80e extended create groups endpoint
* added possibility to specify the description, the add group & edit
  group permissions and the group link state.

see #148
2021-07-10 19:51:37 +02:00
Bernhard B
68c6595ab9 return timestamp of sent message
see #137
2021-05-26 18:02:55 +02:00
Bernhard B
d9cbc9d985 fixes swagger documentation
* create groups endpoint was missing some information
2021-03-20 20:01:08 +01:00
Bernhard B
1291a99087 improved documentation
* added missing 'device_name' parameter to qrcodelink endpoint

see #95
2021-02-16 18:27:07 +01:00
Mike Degatano
889f37d951 Regenerated swagger 2021-02-13 14:44:11 -05:00
Bernhard B
de777799b6 fixed documentation error 2021-01-30 21:40:54 +01:00
Bernhard B
2c3a2f30a8 addd API endpoints to join/quit/block Signal Groups 2021-01-27 18:18:58 +01:00
Bernhard B
04e67d058b added configuration endpoints 2021-01-23 19:21:17 +01:00