workflow icon indicating copy to clipboard operation
workflow copied to clipboard

GraphQL API

Open intellix opened this issue 9 years ago • 1 comments

So I'm playing with the API right now. I'm creating pipelines by attaching config data to my applications. When I request a list of applications from the API I'd also like to get the config data with those. At the moment I have to loop through each application and make a request for the config each time. If I have 10 applications that's an extra 10 requests.

GraphQL is making waves around the web as a REST API killer. The upcoming Github API changes are going to be using it as well.

Would be awesome to create a GraphQL API for Deis along with subscriptions for pushing data in real time to the client/ui whenever something happens instead of doing long-polling

Example of an API call I'd like to make:

query Applications {
  applications: {
    id,
    created,
    config: {
      values
    }
  }
}

intellix avatar Oct 15 '16 18:10 intellix

This issue was moved to teamhephy/workflow#48

Cryptophobia avatar Mar 20 '18 20:03 Cryptophobia