Creates a global role in the Dataverse installation. The data POSTed are assumed to be a role JSON.
POST http://$SERVER/api/admin/roles
Listing global roles gets back JSON with a status "OK" element and a "data" array of alias,
name, permissions (an array of permissions), description and id elements.
I can't seem to format some JSON to match the required format by the POST API call. I've tried an
object with alias/name/permissions/descriptions and an array with one of those as an element, but
all I get back is an error 415 page and a:
"
The server refused this request because the request entity is in a format not supported by
the requested resource for the requested method.
"
any ideas what the right format is?
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To post to this group, send email to dataverse...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/71de0c1c-7cf0-4d53-b65d-b5f0144606c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.