Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for getting supported version for specific participant #687

Open
canny bot opened this issue Jun 26, 2024 · 3 comments
Open

API for getting supported version for specific participant #687

canny bot opened this issue Jun 26, 2024 · 3 comments

Comments

@canny
Copy link

canny bot commented Jun 26, 2024

Slack Thread: https://pact-foundation.slack.com/archives/C9VPNUJR2/p1654156877302549
We are implementing contract testing for mobile apps. To perform the record release & record support ended for multiple supported versions for mobile apps. How do we get the list of production versions from pact broker for a specific participant. In our case there are multiple active versions on production but we want to keep n-3 versions for the contract validation.
As per our finding we can use below APIs to get the supported versions from pact broker but it will require some custom code to be written to get from the APIs.
To get environment ID:
http://localhost/environments/
To get the currently supported version:
http://localhost/environments/{envIdFromAboveAPIResponse}/released-versions/currently-supported
Expected:
It will be nice to have an endpoint to get the supported version from pact broker for specific participant.

https://pact.canny.io/admin/board/feature-requests/p/api-for-getting-supported-version-for-specific-participant

Copy link
Author

canny bot commented Jun 26, 2024

This issue has been linked to a Canny post: API for getting supported version for specific participant 🎉

Copy link
Author

canny bot commented Jun 26, 2024

This issue has been linked to a Canny post: CLI for getting supported version for specific participant 🎉

Copy link
Author

canny bot commented Jun 26, 2024

This issue has been linked to a Canny post: API for getting supported version for specific participant 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants