Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Every record has a unique identifier in Europeana Cloud. We call these identifiers "global". A record can also have an identifier in its original the system; these ïdentifiers identifiers are referred to as “local”.

...

Having created one, you can assign your representation versions to this dataset. To do this use the /assignments call providing the global id, the representation name and the version identifier. If you wondon't pass provide the version identifier parameter, the latest persistent version will be assigned to data set.

Code Block
curl -X POST --user user:password -H "Content-Type: application/x-www-form-urlencoded" -d 'cloudId=

...

X67WPA7NGCZUKLACPWU3BORRGQUWTKSZNZDICEGZS6IXTRMINOIQ&representationName=thumbnail&version=

...

cd9f0050-

...

3dea-

...

11e6-

...

b03d-

...

fa163e8d4ae3' -i https://cloud.europeana.eu/api/data-providers/

...

PSNC/data-sets/exampleDataSet/assignments

 

To remove a representation version from a dataset, use the /assignments REST DELETE method when you specify the dataset and representation URL:

Code Block
curl -X 

...

DELETE --user user:password -H "Content-Type: application/x-www-form-urlencoded"

...

 -i https://cloud.europeana.eu/api/data-providers/

...

PSNC/data-sets/exampleDataSet/assignments?cloudId=X67WPA7NGCZUKLACPWU3BORRGQUWTKSZNZDICEGZS6IXTRMINOIQ\&representationName=thumbnail
 

Listing

To view the content of a dataset, use the /data-sets REST endpoint when providing the data provider id and the dataset id.

Code Block
curl -X GET 

...

-H "Accept: application/

...

xml" --user user:password -i

...

 https://cloud.europeana.eu/api/data-providers/

...

PSNC/data-sets/exampleDataSet/
 

Deletion

To delete the dataset use the /data-sets REST endpoint when providing the data provider id and the dataset id.

...