Isn't the api.heroku.com/vendor/apps/1234 call based on the app id? My
problem is the opposite, I have the app name, and I need to get the
app id.
I can't simply look up all the app names of all the app ids we have in
our system because, in case of a failed provision call, the app id is
not in our system at all.
Cheers,
It's actually not the app id. It's the provider id that you assigned when creating the resources. You should (hopefully) have that. In practice, a lot of providers use the heroku app identifier (app...@heroku.com) as the id, but you don't have to. We store the id you return to us on our side, so we can look up the info based on your id.
-M
Thanks Morten, that's actually what we do as well (i.e. provider id ==
heroku app id). That doesn't answer my question though regarding apps
that haven't been successfully provisioned yet.
Any way I can get the ID of those if I know their name?
Currently not. I agree we should have better error reporting for this, and we will investigate how to provide that.
-m