upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/29.md
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2023-11-23 17:42:32 -0300
committerfiatjaf <fiatjaf@gmail.com>2024-02-23 20:52:12 -0300
commit363212b375e7f2c7692e5f46452e9feae7b4a322 (patch)
tree5ae0c3179e20cea2bd2ca172001b4c4ea0d74c0b /29.md
parent7e7ddea0554e8c3208a73f82ab9ef2e1bcc42ee1 (diff)
add kinds to README.
Diffstat (limited to '29.md')
-rw-r--r--29.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/29.md b/29.md
index 398b329..6c36377 100644
--- a/29.md
+++ b/29.md
@@ -99,15 +99,15 @@ Clients can send these events to a relay in order to accomplish a moderation act
99 99
100Each moderation action uses a different kind and requires different arguments, which are given as tags. These are defined in the following table: 100Each moderation action uses a different kind and requires different arguments, which are given as tags. These are defined in the following table:
101 101
102| kind | name | tags | 102| kind | name | tags |
103| --- | --- | --- | 103| --- | --- | --- |
104| 9000 | `add-user` | `p` (pubkey hex) | 104| 9000 | `add-user` | `p` (pubkey hex) |
105| 9001 | `remove-user` | `p` (pubkey hex) | 105| 9001 | `remove-user` | `p` (pubkey hex) |
106| 9002 | `edit-metadata` | `name`, `about`, `picture` (string) | 106| 9002 | `edit-metadata` | `name`, `about`, `picture` (string) |
107| 9003 | `add-permission` | `p` (pubkey), `permission` (name) | 107| 9003 | `add-permission` | `p` (pubkey), `permission` (name) |
108| 9004 | `remove-permission` | `p` (pubkey), `permission` (name) | 108| 9004 | `remove-permission` | `p` (pubkey), `permission` (name) |
109| 9005 | `delete-event` | `e` (id hex) | 109| 9005 | `delete-event` | `e` (id hex) |
110| 9006 | `edit-group-status` | `public`, `open`, `private`, `closed` | 110| 9006 | `edit-group-status` | `public` or `private`, `open` or `closed` |
111 111
112- *group metadata* (`kind:39000`) (optional) 112- *group metadata* (`kind:39000`) (optional)
113 113