Get a transfer
GET
/dsp/transfers/{pid}
const url = 'https://example.com/dsp/transfers/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/dsp/transfers/example \ --header 'Authorization: Bearer <token>'The state of a transfer with the caller.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”pid
required
string
Our process id (providerPid or consumerPid).
Responses
Section titled “Responses”A TransferProcess.
Media typeapplication/json
object
Example generated
{}Not authenticated.
Media typeapplication/json
A DSP error (dspace:…Error): code and reason, as JSON-LD.
object
@context
required
object
@type
required
E.g. ContractNegotiationError.
string
code
required
string
reason
required
Array<string>
Example generated
{ "@context": {}, "@type": "example", "code": "example", "reason": [ "example" ]}Not found.
Media typeapplication/json
A DSP error (dspace:…Error): code and reason, as JSON-LD.
object
@context
required
object
@type
required
E.g. ContractNegotiationError.
string
code
required
string
reason
required
Array<string>
Example generated
{ "@context": {}, "@type": "example", "code": "example", "reason": [ "example" ]}