npm install
- make a
grapi.yml
npm run dev
---
api_url: http://api.run.pviotal.io
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