diff options
Diffstat (limited to '98.md')
| -rw-r--r-- | 98.md | 28 |
1 files changed, 11 insertions, 17 deletions
| @@ -2,7 +2,7 @@ NIP-98 | |||
| 2 | ====== | 2 | ====== |
| 3 | 3 | ||
| 4 | HTTP Auth | 4 | HTTP Auth |
| 5 | ------------------------- | 5 | --------- |
| 6 | 6 | ||
| 7 | `draft` `optional` | 7 | `draft` `optional` |
| 8 | 8 | ||
| @@ -24,22 +24,16 @@ The following tags MUST be included. | |||
| 24 | Example event: | 24 | Example event: |
| 25 | ```json | 25 | ```json |
| 26 | { | 26 | { |
| 27 | "id": "fe964e758903360f28d8424d092da8494ed207cba823110be3a57dfe4b578734", | 27 | "id": "fe964e758903360f28d8424d092da8494ed207cba823110be3a57dfe4b578734", |
| 28 | "pubkey": "63fe6318dc58583cfe16810f86dd09e18bfd76aabc24a0081ce2856f330504ed", | 28 | "pubkey": "63fe6318dc58583cfe16810f86dd09e18bfd76aabc24a0081ce2856f330504ed", |
| 29 | "content": "", | 29 | "content": "", |
| 30 | "kind": 27235, | 30 | "kind": 27235, |
| 31 | "created_at": 1682327852, | 31 | "created_at": 1682327852, |
| 32 | "tags": [ | 32 | "tags": [ |
| 33 | [ | 33 | ["u", "https://api.snort.social/api/v1/n5sp/list"], |
| 34 | "u", | 34 | ["method", "GET"] |
| 35 | "https://api.snort.social/api/v1/n5sp/list" | 35 | ], |
| 36 | ], | 36 | "sig": "5ed9d8ec958bc854f997bdc24ac337d005af372324747efe4a00e24f4c30437ff4dd8308684bed467d9d6be3e5a517bb43b1732cc7d33949a3aaf86705c22184" |
| 37 | [ | ||
| 38 | "method", | ||
| 39 | "GET" | ||
| 40 | ] | ||
| 41 | ], | ||
| 42 | "sig": "5ed9d8ec958bc854f997bdc24ac337d005af372324747efe4a00e24f4c30437ff4dd8308684bed467d9d6be3e5a517bb43b1732cc7d33949a3aaf86705c22184" | ||
| 43 | } | 37 | } |
| 44 | ``` | 38 | ``` |
| 45 | 39 | ||