...
In order to create a data provider you need to use this request: https://cloud.europeana. eu/docs/now/uis/index.html#295750320. You need to provide a unique identifier for the provider in the providerId parameter. You can specify additional properties and send them as JSON in data block:
...
If the provider was created successfully you will get a response with HTTP code 200. You can use the GET method (https://cloud.europeana.eu/docs/now/uis/index.html#-927343388) on the same endpoint to make sure that the system returns information about the data provider, when queried by its id:
...
Prior to uploading data to a record, the system needs to generate its global identifier and map it to the local one. You can do this by making https://cloud.europeana.eu/docs/now/uis/index.html#-1895778121 this request.
Code Block | ||
---|---|---|
| ||
curl -X POST --user user:password -i https://cloud.europeana.eu/api/cloudIds?providerId=PSNC\&recordId=exampleLocalRecord |
...