NIP-86: Relay Management API

https://github.com/nostr-protocol/nips/blob/relay-management-api/86.md

リレーを管理するための JSON RPC 風の API

リクエスト:

```

{

"method": "",

"params": ["", "", ""]

}

```

レスポンス:

```

{

"result": {"": ""},

"error": ""

}

```

メソッド:

* `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

nostr:nevent1qqs9a6ja4muue8g4nhkwhf0m4qgn9s69sq8ek4phj3rnsrlmzz002sgy6ehye

Reply to this note

Please Login to reply.

Discussion

No replies yet.