fusion44 / blitz_api

A management backend for the RaspiBlitz project written in Python / FastAPI
MIT License
19 stars 18 forks source link

Adding identity_uri to /lightning/get-info #89

Closed rootzoll closed 2 years ago

rootzoll commented 2 years ago

Open naming question: https://github.com/fusion44/blitz_api/issues/88#issuecomment-1128010617

Also the PR will just deliver the node URI on raspiblitz platform for now.

rootzoll commented 2 years ago

OK moved to "/lightning/get-info" ... only works for RASPIBLITZ Platform for now

rootzoll commented 2 years ago

@fusion44 ready to merge

rootzoll commented 2 years ago

identity_pubkey: str = Query("","the nodes pubkey") May 17 22:57:16 python[4160120]: TypeError: Query() takes 1 positional argument but 2 were given reverting back to just one argument for now

cstenglein commented 2 years ago

@rootzoll does it get send with the ln_info_lite SSE event as well?

I'm currently not calling an API for connection info, I get everything over SSE :)