Hi. I am trying to use this pactflow API to get th...
# pactflow
k
Hi. I am trying to use this pactflow API to get the status of the verification of a bi-directional verification. But, it is saying the document does not exist. I suspect it is because this endpoint works with the consumer-driven pact verification only.
Copy code
{{baseUrl}}/pacts/provider/{provider-service}/consumer/{consumer-service}/version/0.1.648/verification-results/latest
The
provider-service
is sharing a swaggerfile and we are sending the consumer tests to this pacticipant. Is there another API endpoint that we can use to see if the tests have been verified and if they have passed or not? Other than the API I shared that a use for non-bi-directional. I checked that API documentation in pactflow and did not find anything other than this endpoint.
👋 1
m
I don’t think we have a public API for that, probably because
can-i-deploy
kind of gives you the same answer though. What info do you need that
can-i-deploy
doesn’t have?
k
Let me look at what comes back in the
can-i-deploy
results and get back to you.
👍 1