Sha256: 1564aa63fc433cec4a8785ec593b17d67aedb692cef45d9f7ecce1d4d0e188ef

Contents?: true

Size: 1.19 KB

Versions: 3

Compression:

Stored size: 1.19 KB

Contents

{
  "category": "Webhooks",
  "name": "Pact webhooks",
  "order": 25,
  "request": {
    "method": "GET",
    "path_template": "/pacts/provider/:provider_name/consumer/:consumer_name/webhooks",
    "path": "/pacts/provider/Bar/consumer/Foo/webhooks",
    "headers": {
      "Accept": "application/hal+json"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/hal+json;charset=utf-8"
    },
    "body": {
      "_links": {
        "self": {
          "title": "Pact webhooks",
          "href": "http://example.org/pacts/provider/Bar/consumer/Foo/webhooks"
        },
        "pb:create": {
          "title": "POST to create a webhook",
          "href": "http://example.org/pacts/provider/Bar/consumer/Foo/webhooks"
        },
        "pb:webhooks": [
          {
            "title": "A webhook for the pact between Foo and Bar",
            "name": "an example webhook",
            "href": "http://example.org/webhooks/d2181b32-8b03-4daf-8cc0-d9168b2f6fac"
          }
        ],
        "curies": [
          {
            "name": "pb",
            "href": "http://example.org/doc/webhooks-{rel}",
            "templated": true
          }
        ]
      }
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pact_broker-2.89.1 spec/fixtures/approvals/docs_webhooks_pact_webhooks_get.approved.json
pact_broker-2.89.0 spec/fixtures/approvals/docs_webhooks_pact_webhooks_get.approved.json
pact_broker-2.88.0 spec/fixtures/approvals/docs_webhooks_pact_webhooks_get.approved.json