cobweb-eu / cobweb

An empty project for all the issues.
0 stars 0 forks source link

on survey delete in the portal notify pcapi of that deletion #167

Open pvgenuchten opened 9 years ago

pvgenuchten commented 9 years ago

set up a hook in geonetwork to notify pcapi of any survey deletion

@xmichael can you add the link to be called here?

@Delawen can you set up the hook

@andreasmatheus can you verify the geonetwork gets enough privileges to call this url

xmichael commented 9 years ago

The hook should call the equivalent of:

curl -X DELETE https://dyfi.cobwebproject.eu/pcapi/editors/local/UUID/SID.edtr

Where UUID is the id of the user and SID the id of the survey. This can also be tested from the command line when logged in.