Skip to content
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

Generalize the response json format for operations #34

Open
travelist opened this issue Jul 1, 2015 · 0 comments
Open

Generalize the response json format for operations #34

travelist opened this issue Jul 1, 2015 · 0 comments

Comments

@travelist
Copy link
Contributor

Currently [POST|GET] /api/v1/oprations/* APIs do not have the consistent json format. So let's modify the response format for example:
{ params: {constant_value: 1, target: [1,2]...}, outputs: [{id:1, name:"age"}, ...], success: true, ... }
for params, it will describe component-dependent values, for outputs, it will show the column indices and names for the next component.

This is just a idea, any ideas to improve this is appreciated.

@travelist travelist assigned travelist and unassigned johnugeorge Sep 27, 2015
@travelist travelist added the WIP label Sep 27, 2015
travelist added a commit that referenced this issue Sep 27, 2015
Effecting APIs:
  - /api/v1/oprations/:ComponentName/:id
  - /api/v1/oprations/:id

Related-Issue: #34
travelist added a commit that referenced this issue Sep 27, 2015
@travelist travelist removed their assignment Jul 5, 2019
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

2 participants