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

RFE - Add support for GraphQL #2630

Closed
jhg03a opened this issue Aug 3, 2018 · 0 comments
Closed

RFE - Add support for GraphQL #2630

jhg03a opened this issue Aug 3, 2018 · 0 comments
Labels
new feature A new feature, capability or behavior Traffic Ops related to Traffic Ops

Comments

@jhg03a
Copy link
Contributor

jhg03a commented Aug 3, 2018

As an API user, I'd like to be able to supply a query for precisely the data that I want regardless of how the underlying database is structured. I can live with it being read-only in the short term.

The gain is that I can make 1 API call to get the data I want without having to make N rest calls to stitch together the dataset. It also allows me to not pay the price for data that is irrelevant, but normally returned by the rest interfaces. It also allows me to build complex filters as part of that query so I don't have to parse responses the size of /servers for example. It also gives me pagination of results too.

It would be evaluating how much of our existing golang TO Structs could be reused for this effort already.

@mitchell852 mitchell852 added Traffic Ops API (golang) new feature A new feature, capability or behavior labels Aug 3, 2018
jhg03a added a commit to jhg03a/trafficcontrol that referenced this issue Oct 12, 2018
@mitchell852 mitchell852 added Traffic Ops related to Traffic Ops and removed Traffic Ops related to Traffic Ops Traffic Ops API (golang) labels Oct 17, 2018
@jhg03a jhg03a closed this as completed Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature A new feature, capability or behavior Traffic Ops related to Traffic Ops
Projects
None yet
Development

No branches or pull requests

2 participants