Open shaqk opened 4 years ago
A quite large refactor of fluxdb is pending merge, and FluxDB will now speak gRPC. It's our goal to bring those functionalities to GraphQL for the most part. Things will be more streaming, and we want to add more flexibility. The language for accessing things there will be defined and I'd like your feedback before we push anything.
We'll retrofit those endpoints, as eosws
(or some other component) will need to "shim" the REST interface, and talk gRPC behind the scenes.. in that case, it'll be easier to create a /v1/state/
interface with new names, and perhaps deprecate those /v0/state
endpoints. Because right now, fluxdb
itself services those REST requests (it's a passthrough from eosws
).
Proposed Changes:
GET /v0/state/tables/scopes -> GET /v0/state/table/rows GET /v0/state/tables/accounts -> GET /v0/state/table/accounts