AsaiToshiya on Nostr: NIP-86: Relay Management API ...
NIP-86: Relay Management API
https://github.com/nostr-protocol/nips/blob/relay-management-api/86.md
リレーを管理するための JSON RPC 風の API
リクエスト:
```
{
"method": "<method-name>",
"params": ["<array>", "<of>", "<parameters>"]
}
```
レスポンス:
```
{
"result": {"<arbitrary>": "<value>"},
"error": "<optional error message, if the call has errored>"
}
```
メソッド:
* `supportedmethods`
* `banpubkey`
* `listbannedpubkeys`
* `allowpubkey`
* `listallowedpubkeys`
* `listeventsneedingmoderation`
* `allowevent`
* `banevent`
* `listbannedevents`
* `changerelayname`
* `changerelaydescription`
* `changerelayicon`
* `allowkind`
* `disallowkind`
* `listallowedkinds`
* `blockip`
* `unblockip`
* `listblockedips`
PR: https://github.com/nostr-protocol/nips/pull/1325
#Nostr
https://github.com/nostr-protocol/nips/blob/relay-management-api/86.md
リレーを管理するための JSON RPC 風の API
リクエスト:
```
{
"method": "<method-name>",
"params": ["<array>", "<of>", "<parameters>"]
}
```
レスポンス:
```
{
"result": {"<arbitrary>": "<value>"},
"error": "<optional error message, if the call has errored>"
}
```
メソッド:
* `supportedmethods`
* `banpubkey`
* `listbannedpubkeys`
* `allowpubkey`
* `listallowedpubkeys`
* `listeventsneedingmoderation`
* `allowevent`
* `banevent`
* `listbannedevents`
* `changerelayname`
* `changerelaydescription`
* `changerelayicon`
* `allowkind`
* `disallowkind`
* `listallowedkinds`
* `blockip`
* `unblockip`
* `listblockedips`
PR: https://github.com/nostr-protocol/nips/pull/1325
#Nostr
quoting nevent1q…ehyehttps://github.com/nostr-protocol/nips/pull/1326
https://github.com/nostr-protocol/nips/pull/1325
https://github.com/nostr-protocol/nips/pull/1322
https://github.com/nostr-protocol/nips/pull/1321
#後で読むかもしれない