hilja
1
i.e.: fly apps releases -a foo -j | jq '.[0].Version'.
I’d like to get some release version and image names. I know I can get the latest version by listing machines, but not past versions:
curl --request GET \
--url https://api.machines.dev/v1/apps/__APP_NAME__/machines
lillian
2
there isn’t a Machines API endpoint for it, it’s just in graphql at the moment. (you can look at the source code of fly-go https://github.com/superfly/fly-go/blob/e2fc7e015a5943359a568d8e079125534ca794c8/resource_releases.go#L5)
I’m not sure how we’d add it to Machines API 
1 Like
hilja
3
Maybe something like:
https://api.machines.dev/v1/apps/__APP_NAME__/machines/__MACHINE_ID__/releases
lillian
4
ah, you can probably do what you need with the List Machine Versions endpoint then.
system
Closed
5
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.