Compare commits

...

2 commits

Author SHA256 Message Date
f9c789a7e5 v0.5.2 2026-01-13 17:32:17 -05:00
de5042b926 Add initialization vectors 2026-01-13 17:32:06 -05:00
3 changed files with 6 additions and 1 deletions

View file

@ -1 +1 @@
0.5.1 0.5.2

View file

@ -100,6 +100,7 @@ Returns messages for a channel with id = {id}
{ {
"id": "string", "id": "string",
"text": "string", "text": "string",
"iv": "string",
"edited": "boolean", "edited": "boolean",
"ownerId": "string", "ownerId": "string",
"creationDate": "number" "creationDate": "number"

View file

@ -10,6 +10,7 @@ Returns a message with id = {id}
{ {
"id": "string", "id": "string",
"text": "string", "text": "string",
"iv": "string",
"editHistory": "string[]", "editHistory": "string[]",
"edited": "boolean", "edited": "boolean",
"ownerId": "string", "ownerId": "string",
@ -27,6 +28,7 @@ _Requires an authorization header_
```json ```json
{ {
"text": "string", "text": "string",
"iv": "string",
"channelId": "string" "channelId": "string"
} }
``` ```
@ -39,6 +41,7 @@ Creates a new message and returns it
{ {
"id": "string", "id": "string",
"text": "string", "text": "string",
"iv": "string",
"editHistory": "string[]", "editHistory": "string[]",
"edited": "boolean", "edited": "boolean",
"ownerId": "string", "ownerId": "string",
@ -67,6 +70,7 @@ Updates a message with id = {id}
{ {
"id": "string", "id": "string",
"text": "string", "text": "string",
"iv": "string",
"editHistory": "string[]", "editHistory": "string[]",
"edited": "boolean", "edited": "boolean",
"ownerId": "string", "ownerId": "string",