summaryrefslogtreecommitdiffstats
path: root/docs/reaction.md
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-07-01 10:45:07 +0200
committerJoas Schilling <coding@schilljs.com>2022-07-01 17:29:24 +0200
commit1ec6a4f40d103186632ae62ece95f0b91db3ab0c (patch)
treee4f48ee6084e482203ddfbf297675734260cc6fc /docs/reaction.md
parent332352f40af5fdf63ed6e877e391704ea0290e40 (diff)
Fix table structures so IDEs stop complaining even though it is valid markdown
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'docs/reaction.md')
-rw-r--r--docs/reaction.md54
1 files changed, 27 insertions, 27 deletions
diff --git a/docs/reaction.md b/docs/reaction.md
index a4199949f..0185886ff 100644
--- a/docs/reaction.md
+++ b/docs/reaction.md
@@ -9,9 +9,9 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`: since Nextcloud 24
* Endpoint: `/reaction/{token}/{messageId}`
* Data:
- field | type | Description
- ---|---|---
- `reaction` | string | the reaction emoji
+| field | type | Description |
+|------------|--------|--------------------|
+| `reaction` | string | the reaction emoji |
* Response:
- Status code:
@@ -23,12 +23,12 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`: since Nextcloud 24
- Data:
Array with data of reactions:
- field | type | Description
- ---|---|---
- `actorType` | string | `guests` or `users`
- `actorId` | string | Actor id of the reacting participant
- `actorDisplayName` | string | Display name of the reaction author
- `timestamp` | int | Timestamp in seconds and UTC time zone
+| field | type | Description |
+|--------------------|--------|----------------------------------------|
+| `actorType` | string | `guests` or `users` |
+| `actorId` | string | Actor id of the reacting participant |
+| `actorDisplayName` | string | Display name of the reaction author |
+| `timestamp` | int | Timestamp in seconds and UTC time zone |
## Delete a reaction
@@ -37,9 +37,9 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`: since Nextcloud 24
* Endpoint: `/reaction/{token}/{messageId}`
* Data:
- field | type | Description
- ---|---|---
- `reaction` | string | the reaction emoji
+| field | type | Description |
+|------------|--------|--------------------|
+| `reaction` | string | the reaction emoji |
* Response:
- Status code:
@@ -50,12 +50,12 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`: since Nextcloud 24
- Data:
Array with data of reactions:
- field | type | Description
- ---|---|---
- `actorType` | string | `guests` or `users`
- `actorId` | string | Actor id of the reacting participant
- `actorDisplayName` | string | Display name of the reaction author
- `timestamp` | int | Timestamp in seconds and UTC time zone
+| field | type | Description |
+|--------------------|--------|----------------------------------------|
+| `actorType` | string | `guests` or `users` |
+| `actorId` | string | Actor id of the reacting participant |
+| `actorDisplayName` | string | Display name of the reaction author |
+| `timestamp` | int | Timestamp in seconds and UTC time zone |
## Retrieve reactions of a message by type
@@ -64,9 +64,9 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`: since Nextcloud 24
* Endpoint: `/reaction/{token}/{messageId}`
* Data:
- field | type | Description
- ---|---|---
- `reaction` | string | **Optional:** the reaction emoji
+| field | type | Description |
+|------------|--------|----------------------------------|
+| `reaction` | string | **Optional:** the reaction emoji |
* Response:
- Status code:
@@ -77,9 +77,9 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`: since Nextcloud 24
- Data:
Array with data of reactions:
- field | type | Description
- ---|---|---
- `actorType` | string | `guests` or `users`
- `actorId` | string | Actor id of the reacting participant
- `actorDisplayName` | string | Display name of the reaction author
- `timestamp` | int | Timestamp in seconds and UTC time zone
+| field | type | Description |
+|--------------------|--------|----------------------------------------|
+| `actorType` | string | `guests` or `users` |
+| `actorId` | string | Actor id of the reacting participant |
+| `actorDisplayName` | string | Display name of the reaction author |
+| `timestamp` | int | Timestamp in seconds and UTC time zone |