post https://api.pactsafe.com/v1.1/contracts//versions//publish
To simplify the publishing of Versions via API, we've added a very simple route to call instead of including {version_number}
.
Simply POST
to /v1.1/contracts/{contract_id}/versions/@latest/publish
.
Note: This is not publishing by the id of the Version. To publish a Version by id, call /v1.1/versions/{version_id}/publish
.