Ga naar inhoud

Get a dataset

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

One dataset of the catalog, if it is visible to the caller.

id
required
string

The id of the dataset.

A dcat:Dataset.

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