deis / workflow

The open source PaaS for Kubernetes.
https://deis.com/workflow/
MIT License
1.3k stars 180 forks source link

GraphQL API #558

Open intellix opened 8 years ago

intellix commented 8 years ago

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
    }
  }
}
Cryptophobia commented 6 years ago

This issue was moved to teamhephy/workflow#48