Contract-Negotiations
Last updated
Was this helpful?
Last updated
Was this helpful?
This section provides an overview of all available APIs that adhere to the OpenAPI specification. All APIs are loaded from the OpenAPI specification file: Link. Please note that the API base-paths may differ depending on the connector, the specific API base-path can be seen in the UI dashboard.
Initiates a contract negotiation for a given offer and with the given counter part. Please note that successfully invoking this endpoint only means that the negotiation was initiated. Clients must poll the /{id}/state endpoint to track the state
/v2/contractnegotiations
https://w3id.org/edc/v0.0.1/ns/ContractRequest
null
please use counterPartyAddress instead
please use policy instead of offer
ODRL offer
{"@context":"http://www.w3.org/ns/odrl.jsonld","@type":"odrl:Offer","@id":"offer-id","assigner":"providerId","target":"assetId","permission":[],"prohibition":[],"obligation":[]}
please use policy.assigner instead
Returns all contract negotiations according to a query
/v2/contractnegotiations/request
https://w3id.org/edc/v0.0.1/ns/QuerySpec
{"@context":{"@vocab":"https://w3id.org/edc/v0.0.1/ns/"},"@type":"Criterion","operandLeft":"fieldName","operator":"=","operandRight":"some value"}
ASC
, DESC
No body
Gets a contract negotiation with the given ID
/v2/contractnegotiations/{id}
Gets a contract agreement for a contract negotiation with the given ID
/v2/contractnegotiations/{id}/agreement
Gets the state of a contract negotiation with the given ID
/v2/contractnegotiations/{id}/state
No body
Terminates the contract negotiation.
/v2/contractnegotiations/{id}/terminate
https://w3id.org/edc/v0.0.1/ns/TerminateNegotiation
No body