Skip to main content

Pact Broker compatibility

Apiome speaks the Pact Broker's API, so the pact-broker CLI and the Pact libraries work against it after you change only their broker base URL and token. This page lists every endpoint of the Pact Broker's API and how much of it Apiome serves. A conformance suite runs the official tools against Apiome in CI to keep the list true.

What the statuses mean​

StatusMeaning
βœ… SupportedEvery method the Pact Broker allows works, in the Pact Broker's shape.
◐ PartialSome methods work. The others answer 501.
πŸ—“ PlannedNot served yet. The linked issue schedules it.
β€” Not plannedNot served, and nothing is scheduled. The notes say what to use instead.

When you reach an endpoint Apiome does not serve​

The pact-broker CLI finds every endpoint through the links on the broker's index. Apiome's index links only what it serves. So a command for a missing feature stops before it sends a request, and says the broker does not have it:

$ pact-broker delete-branch --branch main --pacticipant checkout-web
This version of the Pact Broker does not support deleting branches. …

A client or script that builds the URL itself never gets a bare 404 for a missing endpoint. It gets 501 Not Implemented with a Link header to this page, and a body that names the endpoint, its status, the methods that do work, the tracking issue (when one is scheduled) and the Apiome route to use instead:

{
"detail": {
"code": "pact-broker-not-implemented",
"message": "PUT is not supported on β€œA pacticipant” (partial). Supported: GET, DELETE. …",
"pointer": "/v1/tenants/acme/pact-broker/pacticipants/checkout-web",
"endpoint": "/pacticipants/{pacticipant}",
"status": "partial",
"supported_methods": ["GET", "DELETE"],
"alternative": "/v1/tenants/{tenant}/pacticipants/{pacticipant}",
"documentation": "https://docs.apiome.dev/ship/pact-broker/compatibility",
"pact_broker_version": "2.124.0"
}
}

A path that is not part of the Pact Broker's API at all gets the same 501, without the endpoint fields. A 404 from a supported endpoint still means what it means on the Pact Broker: that pact, version or pacticipant does not exist.

Behaviour that matches the Pact Broker​

  • Main branch detection. The first time a version of a pacticipant is published on develop, main or master, that branch becomes its main branch, unless one is already set. This is the Pact Broker's auto_detect_main_branch. It means {"mainBranch": true} selectors work without any set-up. See Choose pacts to verify with selectors.
  • Pact-Ruby verification results. The verifier in the pact-cli image sends testResults as an object ({"tests": [...], "summary": ...}). Apiome keeps its tests list. See Publish verification results.
  • Labels. …/labels, …/pacticipants/label/{label} and …/pacticipants/{p}/labels/{label} answer in the Pact Broker's shape. See Labels, deletes and retention.
  • Deletes are soft. DELETE …/pacticipants/{p} and …/versions/{v} answer 204 as on the Pact Broker, but what they delete can be restored for 30 days, and a deployed version is protected unless force=true. See Labels, deletes and retention.
  • GET …/for-verification. The Rust verifier inside pact-js, pact-python and pact-go reads this resource with GET before it posts its selectors. Apiome answers both forms.

Endpoints​

Checked against Pact Broker 2.124.0: 109 endpoints β€” 45 supported, 6 partial, 0 planned, 58 not planned.

Index​

EndpointApiome servesNot servedStatusNotes
/ β€” Index (HAL entry point)GETβ€”βœ… SupportedUsed by every client.

Publishing and fetching pacts​

EndpointApiome servesNot servedStatusNotes
/contracts/publish β€” Publish the pacts of a consumer versionPOSTβ€”βœ… SupportedUsed by pact-broker publish, pact-js publishPacts, pact-jvm pactPublish.
/pacts/provider/{provider}/consumer/{consumer}/version/{consumerVersion} β€” A pact of a consumer versionGET PUTDELETE PATCH◐ PartialUsed by older pact-broker publish, pact-jvm publisher. PATCH (merging interactions into a published pact) is not planned: a pact is immutable. DELETE: Delete the consumer version instead (DELETE …/pacticipants/{p}/versions/{v}), which removes its pacts.
/pacts/provider/{provider}/consumer/{consumer}/latest β€” Latest pact of a consumer and providerGETβ€”βœ… Supportedβ€”
/pacts/provider/{provider}/consumer/{consumer}/latest/{tag} β€” Latest pact with a tagGETβ€”βœ… Supportedβ€”
/pacts/provider/{provider}/consumer/{consumer}/branch/{branch}/latest β€” Latest pact from a branchGETβ€”βœ… Supportedβ€”
/pacts/provider/{provider}/consumer/{consumer}/latest-untagged β€” Latest untagged pactβ€”GETβ€” Not plannedTags are legacy in the Pact Broker; use branches, or …/latest.
/pacts/provider/{provider}/consumer/{consumer}/pact-version/{sha} β€” A pact by its content versionGETβ€”βœ… SupportedUsed by every verifier.
/pacts/provider/{provider}/consumer/{consumer}/pact-version/{sha}/metadata/{metadata} β€” A pact as a for-verification link names itGETβ€”βœ… Supportedβ€”
/pacts/provider/{provider}/for-verification β€” Pacts a provider must verify (consumer-version selectors)GET POSTβ€”βœ… SupportedUsed by pact-js, pact-jvm, pact-go, pact-python, the Rust and Ruby verifiers. The Rust verifier GETs the resource before it POSTs its selectors.
/pacts/provider/{provider}/latest β€” Latest pact of every consumerGETβ€”βœ… Supportedβ€”
/pacts/provider/{provider}/latest/{tag} β€” Latest tagged pact of every consumerGETβ€”βœ… Supportedβ€”
/pacts/provider/{provider} β€” Every pact of a providerβ€”GETβ€” Not plannedUse …/latest or for-verification.
/pacts/provider/{provider}/tag/{tag} β€” Every pact of a provider with a tagβ€”GETβ€” Not plannedUse …/latest/{tag} or a tag selector.
/pacts/provider/{provider}/branch β€” Pacts from each consumer's main branchβ€”GETβ€” Not plannedUse a mainBranch selector on for-verification.
/pacts/provider/{provider}/branch/{branch} β€” Pacts from a consumer branchβ€”GETβ€” Not plannedUse a branch selector on for-verification.
/pacts/provider/{provider}/branch/latest β€” Latest pacts from each consumer's main branchβ€”GETβ€” Not plannedUse a mainBranch selector on for-verification.
/pacts/provider/{provider}/branch/{branch}/latest β€” Latest pacts from a consumer branchβ€”GETβ€” Not plannedUse a branch selector on for-verification.
/pacts/latest β€” Latest pact of every integrationβ€”GETβ€” Not plannedUsed by pact-broker list-latest-pact-versions. Not planned in the broker shape. Use the GET …/matrix query.
/pacts/provider/{provider}/provider-states β€” Provider states the consumers useβ€”GETβ€” Not plannedProvider states are declared in Apiome's own registry (PFX-3.3, #6933).
/pacts/provider/{provider}/provider-states/branch/{branch} β€” Provider states from a consumer branchβ€”GETβ€” Not plannedSee PFX-3.3 (#6933).
/pacts/provider/{provider}/provider-states/environment/{uuid} β€” Provider states of what is deployed in an environmentβ€”GETβ€” Not plannedSee PFX-3.3 (#6933).
/pact/provider/{provider}/consumer/{consumer}/version/{consumerVersion} β€” Deprecated singular /pact/… pathβ€”GET PUT DELETE PATCHβ€” Not plannedDeprecated in the Pact Broker; use /pacts/….
/pact/provider/{provider}/consumer/{consumer}/latest β€” Deprecated singular /pact/…/latest pathβ€”GETβ€” Not plannedDeprecated in the Pact Broker; use /pacts/…/latest.

Pact history and diffs​

EndpointApiome servesNot servedStatusNotes
/pacts/provider/{provider}/consumer/{consumer}/versions β€” Every published pact of an integrationβ€”GET DELETEβ€” Not plannedNot planned in the broker shape; clean a history up with a retention run. Use /v1/tenants/{tenant}/pact-retention.
/pacts/provider/{provider}/consumer/{consumer}/versions/{consumerVersion} β€” Deprecated alias of …/version/{v}β€”GET PUT DELETE PATCHβ€” Not plannedDeprecated in the Pact Broker; use …/version/{v}.
/pacts/provider/{provider}/consumer/{consumer}/tag/{tag} β€” Every pact with a tagβ€”GET DELETEβ€” Not plannedTags are legacy in the Pact Broker; use branches.
/pacts/provider/{provider}/consumer/{consumer}/branch/versions β€” Pacts from the main branchβ€”GET DELETEβ€” Not plannedNot planned.
/pacts/provider/{provider}/consumer/{consumer}/branch/{branch} β€” Pacts from a branchβ€”GET DELETEβ€” Not plannedNot planned.
/pacts/provider/{provider}/consumer/{consumer}/branch/latest/versions β€” Latest pacts from the main branchβ€”GET DELETEβ€” Not plannedNot planned.
/pacts/provider/{provider}/consumer/{consumer}/branch/{branch}/latest/versions β€” Latest pacts from a branchβ€”GET DELETEβ€” Not plannedNot planned.
/pacts/provider/{provider}/consumer/{consumer}/version/{consumerVersion}/previous-distinct β€” The previous different pactβ€”GETβ€” Not plannedThe pact viewer shows the difference (PFX-5.2, #6946).
/pacts/provider/{provider}/consumer/{consumer}/version/{consumerVersion}/diff/previous-distinct β€” Diff with the previous different pactβ€”GETβ€” Not plannedThe pact viewer shows the difference (PFX-5.2, #6946).
/pacts/provider/{provider}/consumer/{consumer}/version/{consumerVersion}/diff/version/{otherVersion} β€” Diff with another consumer version's pactβ€”GETβ€” Not plannedThe pact viewer shows the difference (PFX-5.2, #6946).
/pacts/provider/{provider}/consumer/{consumer}/pact-version/{sha}/diff/pact-version/{otherSha} β€” Diff with another pact versionβ€”GETβ€” Not plannedThe pact viewer shows the difference (PFX-5.2, #6946).

Verification results​

EndpointApiome servesNot servedStatusNotes
/pacts/provider/{provider}/consumer/{consumer}/pact-version/{sha}/verification-results β€” Publish a verification resultPOSTβ€”βœ… SupportedUsed by every verifier with result publishing on.
/pacts/provider/{provider}/consumer/{consumer}/pact-version/{sha}/metadata/{metadata}/verification-results β€” Publish a result (for-verification link form)POSTβ€”βœ… SupportedUsed by verifiers that follow pb:publish-verification-results.
/pacts/provider/{provider}/consumer/{consumer}/pact-version/{sha}/verification-results/latest β€” Latest result of a pact versionGETβ€”βœ… Supportedβ€”
/pacts/provider/{provider}/consumer/{consumer}/pact-version/{sha}/verification-results/{number} β€” One verification resultGETDELETE◐ PartialDeleting one result is not planned; deleting the provider version removes the results it published.
/pacts/provider/{provider}/consumer/{consumer}/pact-version/{sha}/metadata/{metadata}/verification-results/{number} β€” One result (for-verification link form)β€”GET DELETEβ€” Not plannedUse …/pact-version/{sha}/verification-results/{n}.
/pacts/provider/{provider}/consumer/{consumer}/pact-version/{sha}/verification-results/{number}/triggered-webhooks β€” Webhooks a result triggeredGETβ€”βœ… Supportedβ€”
/pacts/provider/{provider}/consumer/{consumer}/version/{consumerVersion}/verification-results/latest β€” Latest result of a consumer version's pactβ€”GETβ€” Not plannedUse …/pact-version/{sha}/verification-results/latest.
/pacts/provider/{provider}/consumer/{consumer}/latest/verification-results/latest β€” Latest result of the latest pactβ€”GETβ€” Not plannedUse the matrix.
/pacts/provider/{provider}/consumer/{consumer}/latest/{tag}/verification-results/latest β€” Latest result of the latest tagged pactβ€”GETβ€” Not plannedUse the matrix.
/verification-results/consumer/{consumer}/version/{consumerVersion}/latest β€” Latest results for a consumer versionβ€”GETβ€” Not plannedUse the matrix (q[][pacticipant]=…&q[][version]=…).

Pacticipants and versions​

EndpointApiome servesNot servedStatusNotes
/pacticipants β€” List or create pacticipantsβ€”GET POSTβ€” Not plannedUsed by pact-broker list-pacticipants, create-or-update-pacticipant. Not planned in the broker shape. Use /v1/tenants/{tenant}/pacticipants.
/pacticipants/{pacticipant} β€” A pacticipantGET DELETEPUT PATCH◐ PartialUsed by pact-broker describe-pacticipant, create-or-update-pacticipant. To create or update one (main branch, repository URL) use Apiome's pacticipant API. DELETE is soft: restorable until it is purged, and refused while a version is deployed unless force=true. Use /v1/tenants/{tenant}/pacticipants/{pacticipant}.
/pacticipants/{pacticipant}/versions β€” Versions of a pacticipantβ€”GETβ€” Not plannedNot planned in the broker shape. Use /v1/tenants/{tenant}/pacticipants/{pacticipant}/versions.
/pacticipants/{pacticipant}/versions/{version} β€” A pacticipant versionGET DELETEPUT PATCH◐ PartialUsed by pact-broker describe-version, record-deployment, create-or-update-version. To record a version without publishing a pact use Apiome's pacticipant API. DELETE is soft: restorable until it is purged, and refused while it is deployed unless force=true. Use /v1/tenants/{tenant}/pacticipants/{pacticipant}/versions/{version}.
/pacticipants/{pacticipant}/latest-version β€” Latest version of a pacticipantβ€”GETβ€” Not plannedUsed by pact-broker describe-version --latest. Not planned in the broker shape. Use /v1/tenants/{tenant}/pacticipants/{pacticipant}/versions.
/pacticipants/{pacticipant}/latest-version/{tag} β€” Latest version with a tagβ€”GETβ€” Not plannedNot planned in the broker shape. Use /v1/tenants/{tenant}/pacticipants/{pacticipant}/versions?tag={tag}.
/pacticipants/{pacticipant}/deployed-or-released/versions β€” Versions deployed or released anywhereβ€”GETβ€” Not plannedUse the environment's currently-deployed and currently-supported lists.
/pacticipants/{pacticipant}/environments/{uuid}/versions β€” Versions in an environmentβ€”GETβ€” Not plannedUse the environment's currently-deployed and currently-supported lists.

Branches and tags​

EndpointApiome servesNot servedStatusNotes
/pacticipants/{pacticipant}/branches β€” Branches of a pacticipantβ€”GET DELETEβ€” Not plannedNot planned in the broker shape. Use /v1/tenants/{tenant}/pacticipants/{pacticipant}/branches.
/pacticipants/{pacticipant}/branches/{branch} β€” A branchβ€”GET DELETEβ€” Not plannedUsed by pact-broker delete-branch. Not planned: a branch goes when its versions are deleted, by hand or by a retention run. Use /v1/tenants/{tenant}/pact-retention.
/pacticipants/{pacticipant}/branches/{branch}/versions β€” Versions on a branchβ€”GETβ€” Not plannedNot planned in the broker shape. Use /v1/tenants/{tenant}/pacticipants/{pacticipant}/versions?branch={branch}.
/pacticipants/{pacticipant}/branches/{branch}/versions/{version} β€” Add a version to a branchPUTGET DELETE◐ PartialUsed by pact-broker create-version-tag --auto-create-version, pact-jvm. A version's branches are on its own document; taking one off a branch is not planned.
/pacticipants/{pacticipant}/branches/{branch}/latest-version β€” Latest version on a branchβ€”GETβ€” Not plannedNot planned in the broker shape. Use /v1/tenants/{tenant}/pacticipants/{pacticipant}/branches.
/pacticipants/{pacticipant}/versions/{version}/tags/{tag} β€” A tag on a versionPUTGET DELETE◐ PartialUsed by pact-broker create-version-tag, publish --tag. A version's tags are on its own document; removing one tag is not planned.
/pacticipants/{pacticipant}/tags/{tag}/versions β€” Versions with a tagβ€”GETβ€” Not plannedNot planned in the broker shape. Use /v1/tenants/{tenant}/pacticipants/{pacticipant}/versions?tag={tag}.

Environments and deployments​

EndpointApiome servesNot servedStatusNotes
/environments β€” List or create environmentsGET POSTβ€”βœ… SupportedUsed by pact-broker list-environments, create-environment.
/environments/{uuid} β€” An environmentGET PUT DELETEβ€”βœ… SupportedUsed by pact-broker describe-environment, update-environment, delete-environment.
/environments/{uuid}/deployed-versions/currently-deployed β€” What is deployed in an environmentGETβ€”βœ… SupportedUsed by pact-broker record-undeployment.
/environments/{uuid}/released-versions/currently-supported β€” What is released and supportedGETβ€”βœ… SupportedUsed by pact-broker record-support-ended.
/pacticipants/{pacticipant}/versions/{version}/deployed-versions/environment/{uuid} β€” Record a deploymentGET POSTβ€”βœ… SupportedUsed by pact-broker record-deployment.
/pacticipants/{pacticipant}/versions/{version}/released-versions/environment/{uuid} β€” Record a releaseGET POSTβ€”βœ… SupportedUsed by pact-broker record-release.
/deployed-versions/{uuid} β€” A deployment (mark it undeployed)GET PATCHβ€”βœ… SupportedUsed by pact-broker record-undeployment. apiome pact record-undeployment picks the deployment the same way (the named instance, or the unnamed one) and the Environments board's Record an undeployment sends the same patch; who ended it is kept for the Environments history (PFX-8.13).
/released-versions/{uuid} β€” A release (end its support)GET PATCHβ€”βœ… SupportedUsed by pact-broker record-support-ended. apiome pact record-support-ended and the board's End support send the same patch; from then on can-i-deploy no longer counts the release (PFX-8.13).

Matrix and can-i-deploy​

EndpointApiome servesNot servedStatusNotes
/matrix β€” The compatibility matrixGETβ€”βœ… SupportedUsed by pact-broker can-i-deploy.
/can-i-deploy β€” Can a version be deployed to an environmentGETβ€”βœ… Supportedβ€”
/matrix/provider/{provider}/consumer/{consumer} β€” The matrix of one integrationβ€”GETβ€” Not plannedUse GET …/matrix with two q[] selectors.
/pacticipants/{pacticipant}/latest-version/{tag}/can-i-deploy/to/{to} β€” Can the latest tagged version be deployed to a tagβ€”GETβ€” Not plannedTags are legacy; use GET …/can-i-deploy.
/pacticipants/{pacticipant}/branches/{branch}/latest-version/can-i-deploy/to-environment/{environment} β€” Can a branch's latest version be deployedβ€”GETβ€” Not plannedUse GET …/can-i-deploy with the version.

Webhooks​

EndpointApiome servesNot servedStatusNotes
/webhooks β€” List or create webhooksGET POSTβ€”βœ… SupportedUsed by pact-broker create-webhook.
/webhooks/{uuid} β€” A webhookGET PUT DELETEβ€”βœ… SupportedUsed by pact-broker create-or-update-webhook.
/webhooks/{uuid}/execute β€” Run a webhook nowPOSTβ€”βœ… SupportedUsed by pact-broker test-webhook.
/webhooks/execute β€” Run an unsaved webhookPOSTβ€”βœ… Supportedβ€”
/webhooks/provider/{provider}/consumer/{consumer} β€” Webhooks of an integrationGET POSTβ€”βœ… Supportedβ€”
/webhooks/provider/{provider} β€” Webhooks of a providerGET POSTβ€”βœ… Supportedβ€”
/webhooks/consumer/{consumer} β€” Webhooks of a consumerGET POSTβ€”βœ… Supportedβ€”
/pacts/provider/{provider}/consumer/{consumer}/webhooks β€” Webhooks of a pactGET POSTβ€”βœ… Supportedβ€”
/pacts/provider/{provider}/consumer/{consumer}/webhooks/status β€” Webhook status of a pactGETβ€”βœ… Supportedβ€”
/pacts/provider/{provider}/consumer/{consumer}/version/{consumerVersion}/triggered-webhooks β€” Webhooks a publication triggeredGETβ€”βœ… Supportedβ€”
/triggered-webhooks/{uuid}/logs β€” Execution log of a webhook runGETβ€”βœ… Supportedβ€”

Badges​

EndpointApiome servesNot servedStatusNotes
/pacts/provider/{provider}/consumer/{consumer}/latest/badge β€” Badge of the latest pactβ€”GETβ€” Not plannedApiome serves public SVG and shields.io status badges for a public project instead, not the broker's tag-aware ones. Use /v1/browse/tenants/{tenant}/projects/{project}/pact-badges.
/pacts/provider/{provider}/consumer/{consumer}/latest/{tag}/badge β€” Badge of the latest tagged pactβ€”GETβ€” Not plannedApiome serves public SVG and shields.io status badges for a public project instead, not the broker's tag-aware ones. Use /v1/browse/tenants/{tenant}/projects/{project}/pact-badges.
/pacts/provider/{provider}/consumer/{consumer}/latest-untagged/badge β€” Badge of the latest untagged pactβ€”GETβ€” Not plannedApiome serves public SVG and shields.io status badges for a public project instead, not the broker's tag-aware ones. Use /v1/browse/tenants/{tenant}/projects/{project}/pact-badges.
/matrix/provider/{provider}/latest/{providerTag}/consumer/{consumer}/latest/{tag}/badge β€” Badge of a tagged matrix rowβ€”GETβ€” Not plannedApiome serves public SVG and shields.io status badges for a public project instead, not the broker's tag-aware ones. Use /v1/browse/tenants/{tenant}/projects/{project}/pact-badges.
/pacticipants/{pacticipant}/latest-version/{tag}/can-i-deploy/to/{to}/badge β€” can-i-deploy badge (tag to tag)β€”GETβ€” Not plannedApiome serves public SVG and shields.io status badges for a public project instead, not the broker's tag-aware ones. Use /v1/browse/tenants/{tenant}/projects/{project}/pact-badges.
/pacticipants/{pacticipant}/branches/{branch}/latest-version/can-i-deploy/to-environment/{environment}/badge β€” can-i-deploy badge (branch to environment)β€”GETβ€” Not plannedApiome serves public SVG and shields.io status badges for a public project instead, not the broker's tag-aware ones. Use /v1/browse/tenants/{tenant}/projects/{project}/pact-badges.
/pacticipants/{pacticipant}/main-branch/can-i-merge/badge β€” can-i-merge badgeβ€”GETβ€” Not plannedApiome serves public SVG and shields.io status badges for a public project instead, not the broker's tag-aware ones. Use /v1/browse/tenants/{tenant}/projects/{project}/pact-badges.

Labels​

EndpointApiome servesNot servedStatusNotes
/labels β€” Every labelGETβ€”βœ… Supportedβ€”
/pacticipants/label/{label} β€” Pacticipants with a labelGETβ€”βœ… Supportedβ€”
/pacticipants/{pacticipant}/labels/{label} β€” A label on a pacticipantGET PUT DELETEβ€”βœ… SupportedPUT on an unknown pacticipant is a 404; the Pact Broker would create the pacticipant.

Other​

EndpointApiome servesNot servedStatusNotes
/integrations β€” Every integrationβ€”GET DELETEβ€” Not plannedThe Contracts workspace UI lists integrations (PFX-5.3, #6947).
/integrations/provider/{provider}/consumer/{consumer} β€” Delete an integrationβ€”DELETEβ€” Not plannedNot planned: delete the consumer's versions (or a pacticipant) instead. Use /v1/tenants/{tenant}/pact-retention.
/dashboard β€” Dashboard dataβ€”GETβ€” Not plannedThe Pact Broker's own UI; Apiome has its own.
/dashboard/provider/{provider}/consumer/{consumer} β€” Dashboard data of an integrationβ€”GETβ€” Not plannedThe Pact Broker's own UI; Apiome has its own.
/relationships β€” Integrations as CSVβ€”GETβ€” Not plannedThe Pact Broker's own UI.
/groups/{pacticipant} β€” Network graph dataβ€”GETβ€” Not plannedSee PFX-5.3 (#6947).
/metrics β€” Row countsβ€”GETβ€” Not plannedApiome reports usage under /v1/ops.
/test/error β€” Error testβ€”GET POSTβ€” Not plannedA Pact Broker diagnostic.

Provider contracts (PactFlow)​

EndpointApiome servesNot servedStatusNotes
/contracts/provider/{provider}/version/{providerVersion} β€” The OpenAPI provider contract of a provider versionGET PUTβ€”βœ… SupportedUsed by PactFlow's provider-contract publishing API. Also takes apiomeVersion to render the contract from an Apiome version (PFX-2.1, #6925). Publishing compares the contract with the pacts that need it and stores bi-directional verification results; the answer lists them in comparisons (PFX-2.3, #6927). verificationResults is read β€” JUnit, Newman JSON, Schemathesis NDJSON, or an Apiome report via providerVerificationReportId β€” into selfVerification; a contract without passing evidence is unverified (PFX-2.4, #6928).

Apiome additions​

EndpointApiome servesNot servedStatusNotes
/pacts/check β€” Check a pact against provider versions before publishingPOSTβ€”βœ… SupportedUsed by apiome pact check, the Publish page. Not a Pact Broker endpoint. Compares an unpublished pact with the provider contracts of the versions against names (main, deployed:<env>, version:<n>, draft:<revision>) and stores nothing (PFX-8.4, #7301).
/pacts/generate β€” Generate a pact from a mock capture sessionPOSTβ€”βœ… SupportedUsed by apiome pact record, the Pact from a mock page. Not a Pact Broker endpoint. Turns the calls a consumer made to the hosted mock with X-Mock-Capture into a Pact v4 document and a report (left-out calls, overrides, the check against the mocked spec, the change since the previous pact); stores nothing (PFX-9.2, #7320). Also takes traffic (the capture history: window, caller) or scenarios (operations Γ— mock scenarios) instead of a session (PFX-9.5, #7323).
/pacts/record β€” Publish, hold or skip a pact recorded in CIPOSTβ€”βœ… SupportedUsed by apiome pact record --publish, the record command of the GitHub Action. Not a Pact Broker endpoint. Applies the mock's standing recording policy to a pact generated from a capture session: publish only when the tests passed (or always), and publish a pact that got looser while telling the owners, or hold it for review (PFX-9.6, #7324).
/pacts/generate/traffic β€” Count the past traffic a pact can be generated fromGETβ€”βœ… SupportedUsed by The Pact from a mock page. Not a Pact Broker endpoint. How many captured calls one mock version holds for a consumer in a window and from a caller, and the callers in the window; stores nothing (PFX-9.5, #7323).
/pacts/generate/scenarios β€” List the operation Γ— scenario pairs a pact can be built fromGETβ€”βœ… SupportedUsed by The Pact from a mock page. Not a Pact Broker endpoint. Operations Γ— the version's mock scenarios: what the mock answers to each pair, or why it cannot serve it; stores nothing (PFX-9.5, #7323).
/contracts/provider/{provider}/version/{providerVersion}/check β€” Check a provider contract before publishing itPOSTβ€”βœ… SupportedUsed by The Publish a provider contract page. Not a Pact Broker endpoint. Takes the publish body (or contentUrl) and reports what the publish would record against each consumer's pact, the operations no pact uses, and a conflicting earlier contract; stores nothing (PFX-8.6, #7303).

The conformance suite​

The suite runs the real tools against a fresh Apiome. It drives three clients through publish β†’ verify β†’ record-deployment β†’ can-i-deploy:

ClientWhat it exercises
pact-broker CLI (pactfoundation/pact-cli)create-environment, publish, pact-provider-verifier with result publishing, record-deployment, can-i-deploy (yes, then no for an unverified version), create-version-tag, record-release, record-support-ended, record-undeployment, describe-environment, list-environments, create-webhook, create-or-update-webhook.
pact-jsA PactV3 consumer test, then the Verifier (the Rust core) fetching pacts with selectors and publishing its result.
pact-jvmA JUnit 5 consumer test, the Gradle plugin's pactPublish, then a JUnit 5 provider test that verifies from the broker and publishes its result.

The suite also compares the HAL documents the clients read (the index, the pacticipant, the pact, for-verification, the verification result, environments, the matrix, can-i-deploy, a webhook and a 501) with checked-in golden transcripts. Any change to what a Pact client sees therefore shows up in review.

Run it on your machine with Docker and uv:

scripts/pact_conformance/run.sh # every client
scripts/pact_conformance/run.sh --clients cli # the CLI only
scripts/pact_conformance/run.sh --update-golden # after an intended change to a response

CI runs the Pact Broker conformance workflow on every pull request that changes the Pact Broker routes or the suite. You can also start it from the Actions tab.