Portitor

Portitor connector HTTP interface

HTTP interface of portitor-connector. The DSP endpoints follow the DSP 2025-1 HTTPS bindings; the message schemas are the official DSP 2025-1 JSON Schemas (copied unchanged in crates/portitor-dsp/tests/schemas). DSP itself publishes no OpenAPI file; this one is written by hand and a test checks that every path in it is served. As consumer, the connector sends callbackAddress = public URL + /dsp/2025-1/callback, so providers call the callback paths below. No authentication until 0.5 (DCP).

Machine-readable: openapi.json (OpenAPI 3.1.0), with the official DSP JSON Schemas next to it. Open it in any OpenAPI viewer.

MethodPathWhat it doesResponses
GET/.well-known/dspace-versionDSP versions this connector supports200
POST/dsp/2025-1/catalog/requestReturn the catalog200, 400
GET/dsp/2025-1/catalog/datasets/{id}Return one dataset200, 404
POST/dsp/2025-1/negotiations/requestStart a negotiation201, 400
GET/dsp/2025-1/negotiations/{providerPid}State of a negotiation200, 404
POST/dsp/2025-1/negotiations/{providerPid}/requestCounter-offer from the consumer200, 400, 404
POST/dsp/2025-1/negotiations/{providerPid}/eventsConsumer accepts the provider's offer200, 400, 404
POST/dsp/2025-1/negotiations/{providerPid}/agreement/verificationConsumer verifies the agreement200, 400, 404
POST/dsp/2025-1/negotiations/{providerPid}/terminationConsumer ends the negotiation200, 400, 404
GET/dsp/2025-1/callback/negotiations/{consumerPid}Return the state of a negotiation this connector started as consumer200, 404
POST/dsp/2025-1/callback/negotiations/{consumerPid}/offersProvider sends an offer200, 400, 404
POST/dsp/2025-1/callback/negotiations/{consumerPid}/agreementProvider sends the agreement200, 400, 404
POST/dsp/2025-1/callback/negotiations/{consumerPid}/eventsProvider finalizes the negotiation200, 400, 404
POST/dsp/2025-1/callback/negotiations/{consumerPid}/terminationProvider ends the negotiation200, 400, 404
GET/healthLiveness200