Mercurial > hg > LGDataverses
view scripts/search/tests/grant-spruce-admin-on-birds @ 14:be7787c36e58 default tip
new: nofity LGSercies for deleted files
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 02 Nov 2015 16:41:23 +0100 |
parents | a50cf11e5178 |
children |
line wrap: on
line source
#!/bin/sh . scripts/search/assumptions OUTPUT=`curl -s -X POST -H "Content-type:application/json" -d "{\"assignee\": \"@spruce\",\"role\": \"admin\"}" "http://localhost:8080/api/dataverses/birds/assignments?key=$ADMINKEY"` echo $OUTPUT echo echo $OUTPUT | jq ' .data | {assignee,_roleAlias}'