Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: aggregated provider states #734

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 14, 2024

  1. feat: aggregated provider state endpoint

    # Provider States - Aggregated view by provider
    
    Allowed methods: `GET`
    
    Path: `/pacts/provider/{provider}/provider-states`
    
    This resource returns a aggregated de-duplicated list of all provider states for a given provider.
    
    Provider states are collected from the latest pact on the main branch for any dependant consumers.
    
    Example response
    
    ```json
    {
        "providerStates": [
            {
                "name": "an error occurs retrieving an alligator"
            },
            {
                "name": "there is an alligator named Mary"
            },
            {
                "name": "there is not an alligator named Mary"
            }
        ]
    }
    ```
    YOU54F committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    6a7b4ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    96f1328 View commit details
    Browse the repository at this point in the history