Apply changes to fit linter

This commit is contained in:
Mariano Pérez Rodríguez 2023-05-02 13:01:16 -03:00
parent 887f7a9e64
commit e6c9bf4ea2
No known key found for this signature in database
GPG Key ID: 695E1DF7F390D47A

24
11.md
View File

@ -249,12 +249,14 @@ Relays that require payments may want to expose their fee schedules.
} }
``` ```
### Examples ### ### Examples
As of 2 May 2023 the following `curl` command provided these results. As of 2 May 2023 the following `curl` command provided these results.
>curl -H "Accept: application/nostr+json" https://eden.nostr.land ```shell
$ curl -H "Accept: application/nostr+json" https://eden.nostr.land
{"name":"eden.nostr.land", {
"name": "eden.nostr.land",
"description": "Eden Nostr Land - Toronto 1-01", "description": "Eden Nostr Land - Toronto 1-01",
"pubkey": "00000000827ffaa94bfea288c3dfce4422c794fbb96625b6b31e9049f729d700", "pubkey": "00000000827ffaa94bfea288c3dfce4422c794fbb96625b6b31e9049f729d700",
"contact": "me@ricardocabral.io", "contact": "me@ricardocabral.io",
@ -262,7 +264,8 @@ As of 2 May 2023 the following `curl` command provided these results.
"supported_nip_extensions": ["11a"], "supported_nip_extensions": ["11a"],
"software": "git+https://github.com/Cameri/nostream.git", "software": "git+https://github.com/Cameri/nostream.git",
"version": "1.22.6", "version": "1.22.6",
"limitation":{"max_message_length":1048576, "limitation": {
"max_message_length": 1048576,
"max_subscriptions": 10, "max_subscriptions": 10,
"max_filters": 2500, "max_filters": 2500,
"max_limit": 5000, "max_limit": 5000,
@ -272,7 +275,12 @@ As of 2 May 2023 the following `curl` command provided these results.
"max_content_length": 65536, "max_content_length": 65536,
"min_pow_difficulty": 0, "min_pow_difficulty": 0,
"auth_required": false, "auth_required": false,
"payment_required":true}, "payment_required": true
},
"payments_url": "https://eden.nostr.land/invoices", "payments_url": "https://eden.nostr.land/invoices",
"fees":{"admission":[{"amount":5000000,"unit":"msats"}], "fees": {
"publication":[]}} "admission": [{ "amount": 5000000, "unit": "msats" }],
"publication": []
}
}
```