HelloZeroNet / HelloZeroNet/ZeroNet

Implement JSON API to allow easier interfacing

Aperta
#1,263 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
18.8k
Fork
2.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Environment

* ZeroNet version: from the future
* Operating system: All

### Describe the proposal:

Have an JSON API server to allow easier programmatic interaction with ZeroNet.
i.e. http://127.0.0.1:43110/api/sites?access_token=fcc0a328b7060b9394a0a73267c96bbb

#### Steps to reproduce:

1. Define the command set you would like to implement.
2. Write some **client side** code on a piece of paper before you start implementing anything. Since hand writing takes time, if it takes a lot of writing to use the interface, you should reconsider the API design.
3. Implement the interface, so that the example client code works.
4. Add a command line option for turning it on and off.

#### Benefits:

Developers need not simulate WebSocket requests anymore.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.