Skip to main content
Version: v0.9.0

Handle negotiation callback event

POST 

/api/negotiations/callbacks/:id/events

Handle negotiation callback event

Request

Path Parameters

    id stringrequired

Bodyrequired

    @typestringrequired
    Example: dspace:ContractNegotiationEventMessage
    dspace:consumerPidstringrequired
    Example: urn:example:consumerPid
    dspace:providerPidstringrequired
    Example: urn:example:providerPid
    dspace:eventTypestringrequired
    Example: NEGOTIATION_STARTED

Responses

Schema
    statusstring

Authorization: http

name: bearertype: httpscheme: bearerbearerFormat: VPdescription: Verifiable Presentation needed to communicate between two instances of the control plane.
curl -L 'https://tsg.dataspac.es/api/negotiations/callbacks/:id/events' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
--data-raw '{
"@type": "dspace:ContractNegotiationEventMessage",
"dspace:consumerPid": "urn:example:consumerPid",
"dspace:providerPid": "urn:example:providerPid",
"dspace:eventType": "NEGOTIATION_STARTED"
}'
Request Collapse all
Auth
Parameters
— pathrequired
Body required
{
  "@type": "dspace:ContractNegotiationEventMessage",
  "dspace:consumerPid": "urn:example:consumerPid",
  "dspace:providerPid": "urn:example:providerPid",
  "dspace:eventType": "NEGOTIATION_STARTED"
}