Contract-Definitions
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.
Updated a contract definition with the given ID. The supplied JSON structure must be a valid JSON-LD object
/v2/contractdefinitions
https://w3id.org/edc/v0.0.1/ns/ContractDefinition
{"@context":{"@vocab":"https://w3id.org/edc/v0.0.1/ns/"},"@type":"Criterion","operandLeft":"fieldName","operator":"=","operandRight":"some value"}
No body
Creates a new contract definition
/v2/contractdefinitions
https://w3id.org/edc/v0.0.1/ns/ContractDefinition
{"@context":{"@vocab":"https://w3id.org/edc/v0.0.1/ns/"},"@type":"Criterion","operandLeft":"fieldName","operator":"=","operandRight":"some value"}
Returns all contract definitions according to a query
/v2/contractdefinitions/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 an contract definition with the given ID
/v2/contractdefinitions/{id}
Removes a contract definition with the given ID if possible. DANGER ZONE: Note that deleting contract definitions can have unexpected results, especially for contract offers that have been sent out or ongoing or contract negotiations.
/v2/contractdefinitions/{id}
No body