Skip to content

Backend: http proxy to gitbase #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bzz opened this issue Apr 13, 2018 · 0 comments
Closed

Backend: http proxy to gitbase #2

bzz opened this issue Apr 13, 2018 · 0 comments
Assignees
Milestone

Comments

@bzz
Copy link
Contributor

bzz commented Apr 13, 2018

Implement 2 endpoints

  1. Query: POST /query
req: { query:””, limit: N }
res: { meta:{..table headers..}, data:[row,...,], 
        status:{ elapsed, error/warning } 
}

No streaming yet. Include UAST -> JSON conversion.

  1. Tables: GET /tables
res:  same

And two more endpoints as just a mocks

  1. UAST: POST /parse
 req: { code: “”, filter: “” }
 res: { uast: “”, status: {} }
  1. Filter: POST /filter
  req: {} //need to include a binary PB
  res: { uast: “”, status {} }
@bzz bzz added this to the alpha0 milestone Apr 13, 2018
@carlosms carlosms self-assigned this Apr 24, 2018
@carlosms carlosms mentioned this issue Apr 25, 2018
@carlosms carlosms closed this as completed May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants