Agreement ID on Provider side #4277
Unanswered
johnnychoque
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The contract agreement id is unique, this means that has the same value both on provider and consumer side. Given the agreement id, you can get the negotiation using this API: please note that the swaggerhub publication has been deprecated, now we're publishing the openapi ui on github pages: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
Following the steps in the "Transfer Samples - consumer pull" repository, I have managed to get the Contract Agreement ID from the Consumer side using the API
GET /management/v2/contractnegotiations/<<NegotiationID>>
. To integrate the connector with another system, I need to get the Contract Agreement ID from the Provider side. As each connector manages its state machine, I understand that the Negotiation ID of the Consumer is different from the Provider. How can I get the Negotiation ID from the Provider side?I am using EDC 0.7.0 and in EDC Management API I have seen that there is the API
POST /v2/contractnegotiations/request
. According to the documentation, this API returns all contract negotiations according to a query.https://app.swaggerhub.com/apis/eclipse-edc-bot/management-api/0.7.0#/Contract%20Negotiation/queryNegotiations
I have tried to use it in the Consumer and Provider but in both it returns "Error 405 HTTP method POST is not supported by this URL". Is this API not implemented yet?
I would appreciate if you could give me some idea on how to get the Contract Agreement ID on the Provider side.
Regards,
Johnny
Beta Was this translation helpful? Give feedback.
All reactions