diff --git a/lib/pact_broker/api/resources/index.rb b/lib/pact_broker/api/resources/index.rb index acef34a8d..0d6089102 100644 --- a/lib/pact_broker/api/resources/index.rb +++ b/lib/pact_broker/api/resources/index.rb @@ -50,6 +50,12 @@ def links title: 'Pacticipants', templated: false }, + 'pb:pacticipant' => + { + href: base_url + '/pacticipants/{pacticipant}', + title: 'Fetch pacticipant by name', + templated: true + }, 'pb:latest-provider-pacts' => { href: base_url + '/pacts/provider/{provider}/latest', @@ -94,6 +100,12 @@ def links title: 'Integrations', templated: false }, + 'pb:pacticipant-version-tag' => + { + href: base_url + '/pacticipants/{pacticipant}/versions/{version}/tags/{tag}', + title: "Get, create or delete a tag for a pacticipant version", + templated: true + }, 'beta:pending-provider-pacts' => { href: base_url + '/pacts/provider/{provider}/pending',