Complete transfer process
POST/api/transfers/:id/complete
Complete transfer process
Request
Path Parameters
id stringrequired
Transfer ID
- application/json
Bodyrequired
@typestringrequired
Example:
dspace:TransferCompletionMessage
dspace:providerPidstringrequired
Example:
provider-pid-789
dspace:consumerPidstringrequired
Example:
consumer-pid-123
Responses
- 200
Transfer completed successfully
- application/json
- Schema
- Example (auto)
Schema
statusstring
{
"status": "success"
}
Authorization: http
name: bearertype: httpscheme: bearerbearerFormat: VPdescription: Verifiable Presentation needed to communicate between two instances of the control plane.
- curl
- http
- CURL
curl -L 'https://tsg.dataspac.es/api/transfers/:id/complete' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
--data-raw '{
"@type": "dspace:TransferCompletionMessage",
"dspace:providerPid": "provider-pid-789",
"dspace:consumerPid": "consumer-pid-123"
}'