-
-
Save brandur/9e0f3ca60f33ead88743 to your computer and use it in GitHub Desktop.
Backward compatible sizes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
$ curl -H "Accept: application/vnd.heroku+json; version=3" -n https://api.heroku.com/apps/mutelight/formation/web -X PATCH -H "Content-Type: application/json" -d '{"size":"2"}' | |
{ | |
"command":"bundle exec puma --quiet --threads 8:32 --port $PORT config.ru", | |
"created_at":"2011-12-20T22:37:57Z", | |
"id":"74429111-42e2-4dc1-8141-b841aa164d06", | |
"type":"web", | |
"quantity":1, | |
"size":"2X", | |
"updated_at":"2014-02-03T19:38:35Z" | |
} | |
$ curl -H "Accept: application/vnd.heroku+json; version=3" -n https://api.heroku.com/apps/mutelight/formation/web -X PATCH -H "Content-Type: application/json" -d '{"size":"1"}' | |
{ | |
"command":"bundle exec puma --quiet --threads 8:32 --port $PORT config.ru", | |
"created_at":"2011-12-20T22:37:57Z", | |
"id":"74429111-42e2-4dc1-8141-b841aa164d06", | |
"type":"web", | |
"quantity":1, | |
"size":"1X", | |
"updated_at":"2014-02-03T19:38:42Z" | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment