Hi Everyone, I couldn’t find an answer to my quest...
# pact-broker
a
Hi Everyone, I couldn’t find an answer to my question in the chat, so apologies If my question has already been asked... I’ m searching in the Pact Broker API (pactfoundation/pact-broker:2.115.0) a way to retrieve the pacticipants version by environment I couldn’t find something helpful with ruby CLI either is there a way to do that? thanks
I found something to work with
/environments/{env-uuid}/deployed-versions/currently-deployed
I was rather looking for a view by pacticipant, so if you have a better endpoint I’ll take it ! Anyway I’ll make do with that for the moment
r
I have this to get the latest version by participante and branch, may there is some similar:
Copy code
/pacticipants/{participant}/branches/{BRANCH}/latest-version
m
No API / CLI currently exists for that. You could consider creating a PR for it if interested? The data is all there it would just need an API route
a
Thanks for your answers, I have a workaround, but I’ll try to find time to add a route as I think it will be useful for the project 👍