Skip to content
/ grapi Public

Experimental graphql layer on top of Cloud Foundry API

License

Notifications You must be signed in to change notification settings

Gerg/grapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grapi

Start

  1. npm install
  2. make a grapi.yml
  3. npm run dev

Example grapi.yml

---
api_url: http://api.run.pviotal.io

Example query

curl -X POST -H "Content-Type: application/graphql" -H "Authorization: $(cf oauth-token)" localhost:5000/graphql -d "{apps(limit: 1) {name, packages {guid, state}, processes {guid, type, allocated_memory_mb, instance_count, instances {index, actual_memory_mb}, routes {host}}, droplets {guid, state, package {guid}}, current_droplet {guid}}, tasks {name, command, droplet {guid}}}" | jq

About

Experimental graphql layer on top of Cloud Foundry API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published