Ga naar inhoud

Get a transfer

GET
/dsp/transfers/{pid}
curl --request GET \
--url https://example.com/dsp/transfers/example \
--header 'Authorization: Bearer <token>'

The state of a transfer with the caller.

pid
required
string

Our process id (providerPid or consumerPid).

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"
]
}