diff options
| author | Adam Soltys <[email protected]> | 2023-02-15 19:58:29 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-15 19:58:48 -0800 |
| commit | 12bf0c93d17d191a7bb58cfa72f9f94ee2c4d2af (patch) | |
| tree | 76c84fe466969bfea014823a2d14edafc5c41d95 /index.js | |
| parent | 3de8baffdbc1f026936c91f6976b57770c66cd8a (diff) | |
| download | coinos-server-12bf0c93d17d191a7bb58cfa72f9f94ee2c4d2af.tar.gz coinos-server-12bf0c93d17d191a7bb58cfa72f9f94ee2c4d2af.zip | |
messages endpoint
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,7 @@ app.get("/nostr.json", nostr.identities); app.get("/:pubkey/followers", nostr.followers); app.get("/:pubkey/follows", nostr.follows); app.get("/:pubkey/notes", nostr.notes); +app.get("/:a/:b/:since/messages", nostr.messages); app.get("/event/:id", nostr.event); app.post("/event", nostr.broadcast); @@ -52,6 +53,7 @@ app.get("/payments/:hash", auth, payments.get); app.post("/parse", payments.parse); app.get("/pot/:name", payments.pot); app.post("/take", auth, payments.take); +app.post("/buy", auth, payments.buy); app.get("/encode", lnurl.encode); app.get("/decode", lnurl.decode); |
