Sha256: 7d133b6a6059ed84345a25f816e7e487a14b47aa20ab41c45069bb9a3d3ebe60

Contents?: true

Size: 584 Bytes

Versions: 5

Compression:

Stored size: 584 Bytes

Contents

# Pacticipant branch

Allowed methods: `GET`, `DELETE`

Path: `/pacticipants/{pacticipant}/branches/{branch}`

Get or delete a pacticipant branch.

## Create

Branches cannot be created via the resource URL. They are created automatically when publishing contracts.

## Get

### Example

    curl http://broker/pacticipants/Bar/branches/main -H "Accept: application/hal+json"

## Delete

Deletes a pacticipant branch. Does NOT delete the associated pacticipant versions.

Send a `DELETE` request to the branch resource.

    curl -XDELETE http://broker/pacticipants/Bar/branches/main

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pact_broker-2.112.0 lib/pact_broker/doc/views/index/pacticipant-branch.markdown
pact_broker-2.111.0 lib/pact_broker/doc/views/index/pacticipant-branch.markdown
pact_broker-2.109.1 lib/pact_broker/doc/views/index/pacticipant-branch.markdown
pact_broker-2.109.0 lib/pact_broker/doc/views/index/pacticipant-branch.markdown
pact_broker-2.108.0 lib/pact_broker/doc/views/index/pacticipant-branch.markdown