Sha256: eff1ec278b07d1619457bb0126549e3487fa1408d172ed14269d45795450031a

Contents?: true

Size: 863 Bytes

Versions: 48

Compression:

Stored size: 863 Bytes

Contents

# Environment

Allowed methods: `GET`, `PUT`, `DELETE`

Path: `/environment/{uuid}`

## Viewing an environment

Example:

    curl http://${PACT_BROKER_HOST}/environments/79060381-269c-4769-9894-9ec3cab44729 \
      -H "Accept: application/hal+json"
    {
      "uuid": "79060381-269c-4769-9894-9ec3cab44729",
      "name": "test",
      "displayName": "Test",
      "production": false
    }

## Updating an environment

Example:

    curl -X PUT http://${PACT_BROKER_HOST}/environments/79060381-269c-4769-9894-9ec3cab44729 \
      -H "Content-Type: application/json" \
      -H "Accept: application/hal+json" \
      -d '{
          "name": "test",
          "displayName": "Test",
          "production": false
        }'

## Deleting an environment

Example:

    curl -v -X DELETE http://${PACT_BROKER_HOST}/environments/79060381-269c-4769-9894-9ec3cab44729

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
pact_broker-2.112.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.111.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.109.1 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.109.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.108.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.107.1 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.107.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.107.0.beta.1 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.106.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.105.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.104.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.103.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.102.2 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.102.1 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.102.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.101.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.100.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.99.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.98.0 lib/pact_broker/doc/views/index/environment.markdown
pact_broker-2.97.0 lib/pact_broker/doc/views/index/environment.markdown