...
Code Block |
---|
https://cloud.europeana.eu/api/records/X67WPA7NGCZUKLACPWU3BORRGQUWTKSZNZDICEGZS6IXTRMINOIQ/representations/thumbnail/versions/cd9f0050-3dea-11e6-b03d-fa163e8d4ae3/files/1df7a491-8d8a-4180-9eb0-cd18c52a4b81 |
You can add multiple many files to a version.
The newly created version is a temporary one, which means it can be removed. To make a version persistent, you can use the /persist call:
Code Block |
---|
curl -X POST --user user:password -i https://cloud.europeana.eu/api/records/X67WPA7NGCZUKLACPWU3BORRGQUWTKSZNZDICEGZS6IXTRMINOIQ/representations/thumbnail/versions/cd9f0050-3dea-11e6-b03d-fa163e8d4ae3/persist |
...
Code Block |
---|
curl -X POST --user user:password -H "Content-Type: application/x-www-form-urlencoded" -d 'dataSetId=exampleDataSet' -i https://cloud.europeana.eu/api/data-providers/PSNC/data-sets |
Modification
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 won't pass the version identifier parameter, the latest persistent version will be assigned to data set.
...