<#158 Add stage and branch attributes to version r...
# pact-broker
g
#158 Add stage and branch attributes to version resource Issue created by bethesque A pacticipant version can only have one branch, but can belong to many stages. Resources:
Copy code
PUT /pacticipant/PACTICIPANT/version/VERSION/branch/BRANCH
PUT /pacticipant/PACTICIPANT/version/VERSION/stages/STAGE
GET /pacts/provider/PROVIDER/consumer/CONSUMER/latest/branch/BRANCH
GET /pacts/provider/PROVIDER/consumer/CONSUMER/latest/stage/STAGE
The list of valid stages should be restricted and configurable, but the branches can be free text. pact-foundation/pact_broker