Callback to suspend transfer process
POST/api/transfers/callbacks/:id/suspend
Callback to suspend transfer process
Request
Path Parameters
id stringrequired
Transfer ID
- application/json
Bodyrequired
@typestringrequired
dspace:providerPidstringrequired
dspace:consumerPidstringrequired
dspace:reasonstring[]required
Responses
- 200
Callback suspended transfer 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/callbacks/:id/suspend' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
--data-raw '{
"@type": "string",
"dspace:providerPid": "string",
"dspace:consumerPid": "string",
"dspace:reason": [
"string"
]
}'