Skip to content

heroku/heroku-data-api-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heroku-data-api-plugin

A Heroku plugin to communicate with the undocumented, internal, unstable data APIs. We hope to bring you a real API one day.

Usage

GET Request

heroku data-api GET /client/v11/databases/postgresql-triangular-89732

POST Request

echo "{\"name\": \"readonly\"}" | heroku data-api POST /postgres/v0/databases/postgresql-triangular-89732/credentials

Dev Environments

A custom host (instead of postgres-api.heroku.com) can be set with the HEROKU_DATA_HOST environment variable, e.g.:

HEROKU_DATA_HOST=postgres-api.example.com heroku data-api GET /client/v11/databases/postgresql-awesome-12345

Installation

$ heroku plugins:install heroku-data-api

Update

$ heroku plugins:update heroku-data-api

THIS IS BETA SOFTWARE

Thanks for trying it out. If you find any problems, please report an issue and include your Heroku toolbelt version and your OS version.

About

Heroku CLI plugin to communicate with the internal, undocummented, unstable Data APIs

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%