Closed sebbader-sap closed 10 months ago
Idea: Let's also leverage the well-known approach as also proposed in #161 , e.g. by:
.../.well-known/dspace-protocol[/connector1]
{
"@context": "https://w3id.org/dspace/v1.0/context.json",
"protocolVersions": [
{
"version": "1.0",
"path": "/some/path/v1"
}
]
}
- The protocol defines a mechanism how the receiver can see for each message in which version it is
- The protocol defines an error message / code in the existing error message stating "version not supported" and gives an indication which version could be processed.
Not needed then as a request in a different message simply causes an error and it's up to the sender to figure out if he screwed up with the protocol versions.
Next step: Discuss proposal for #161 and mirror the explanation for this one here.
blocked by #172
PR has been approved and merged.
In the (close) future, dataspace connectors must be able to announce their supported protocol version (or versions) and somehow be able to negotiate on the applied one.
Proposal: