From e6c9bf4ea23dfc353d8b2cbaf6f988f5f4cc414a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariano=20P=C3=A9rez=20Rodr=C3=ADguez?= Date: Tue, 2 May 2023 13:01:16 -0300 Subject: [PATCH] Apply changes to fit linter --- 11.md | 58 +++++++++++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/11.md b/11.md index 42614239..f5de2370 100644 --- a/11.md +++ b/11.md @@ -249,30 +249,38 @@ 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. - >curl -H "Accept: application/nostr+json" https://eden.nostr.land - - {"name":"eden.nostr.land", - "description":"Eden Nostr Land - Toronto 1-01", - "pubkey":"00000000827ffaa94bfea288c3dfce4422c794fbb96625b6b31e9049f729d700", - "contact":"me@ricardocabral.io", - "supported_nips":[1,2,4,9,11,12,15,16,20,22,26,28,33,40], - "supported_nip_extensions":["11a"], - "software":"git+https://github.com/Cameri/nostream.git", - "version":"1.22.6", - "limitation":{"max_message_length":1048576, - "max_subscriptions":10, - "max_filters":2500, - "max_limit":5000, - "max_subid_length":256, - "min_prefix":4, - "max_event_tags":2500, - "max_content_length":65536, - "min_pow_difficulty":0, - "auth_required":false, - "payment_required":true}, - "payments_url":"https://eden.nostr.land/invoices", - "fees":{"admission":[{"amount":5000000,"unit":"msats"}], - "publication":[]}} +```shell +$ curl -H "Accept: application/nostr+json" https://eden.nostr.land +{ + "name": "eden.nostr.land", + "description": "Eden Nostr Land - Toronto 1-01", + "pubkey": "00000000827ffaa94bfea288c3dfce4422c794fbb96625b6b31e9049f729d700", + "contact": "me@ricardocabral.io", + "supported_nips": [1,2,4,9,11,12,15,16,20,22,26,28,33,40], + "supported_nip_extensions": ["11a"], + "software": "git+https://github.com/Cameri/nostream.git", + "version": "1.22.6", + "limitation": { + "max_message_length": 1048576, + "max_subscriptions": 10, + "max_filters": 2500, + "max_limit": 5000, + "max_subid_length": 256, + "min_prefix": 4, + "max_event_tags": 2500, + "max_content_length": 65536, + "min_pow_difficulty": 0, + "auth_required": false, + "payment_required": true + }, + "payments_url": "https://eden.nostr.land/invoices", + "fees": { + "admission": [{ "amount": 5000000, "unit": "msats" }], + "publication": [] + } +} +```