to.science.labels

https://github.com/hbz/to.science.labels/blob/master/conf/routes

Create

Add Labels to Database

curl -u$API_USER:$PASSWORD -XPOST -F"data=@$ARCHIVE_HOME/src/REGAL_API/conf/labels.json" -F"format-cb=Json" $REGAL_API/tools/etikett -i -L

Add Label

Read

curl "$REGAL_API/tools/etikett" -H"accept: application/json"

Read Etikett

curl $REGAL_API/tools/etikett?url=http%3A%2F%2Fpurl.orms%2Fissued -H"accept: application/json"

Update

Delete

Delete Cache

curl -XDELETE -u$API_USER:$PASSWORD $REGAL_API/tools/etikett/cache

Misc