Versions Compared

Key

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

...

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

Code Block
curl -X DELETE -H "Accept: application/json" --user user:password -i

...

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

...

PSNC/data-sets/exampleDataSet/
 

Permissions

Permission Granularity

...

Taking our example, assume that you want to make your thumbnail files publicly available. For this use the /permit REST call to to change permissions for thumbnail representations of your records.

Code Block
curl -X POST --user user:password -i https://cloud.europeana.eu/api/records/

...

X67WPA7NGCZUKLACPWU3BORRGQUWTKSZNZDICEGZS6IXTRMINOIQ/representations/thumbnail/versions/

...

cd9f0050-

...

3dea-

...

11e6-

...

b03d-

...

fa163e8d4ae3/permit

 

If you want to give permissions to another user user:

Code Block
curl -X POST --user user:password https://cloud.europeana.eu/api/records/

...

X67WPA7NGCZUKLACPWU3BORRGQUWTKSZNZDICEGZS6IXTRMINOIQ/representations/thumbnail/versions/

...

cd9f0050-

...

3dea-

...

11e6-

...

b03d-fa163e8d4ae3/permissions/permission/users/anotherUser

In the URL above you should replace 'permission' with one of the values: read, write, delete, administration, all. 'anotherUser' should be replaced with a username.

 

 

/permit/permission

Future Work and Contact

Europeana Cloud is now in its alpha phase. During the remainder of the project we’ll improve the platform and the API based on the feedback from the community.

...