Im using a local crowd environment for development and i would like to add a group admin via rest api as described in => https://docs.atlassian.com/atlassian-crowd/4.0.0/REST/#admin/1.0/group-level-admin-addGroupAdministrators
So far i couldn't understand the json schema needed to add a group administrator =>
{
"<span>id</span>": <span>"https://docs.atlassian.com/jira/REST/schema/list-of-directory-entity-rest#"</span>,
"<span>title</span>": <span>"List of Directory Entity Rest"</span>,
"<span>type</span>": <span>"array"</span>,
"<span>items</span>": <span>{
"title": "Directory Entity Rest",
"type": "object",
"properties": {
"id": {
"title": "Directory Entity Id",
"type": "object"
},
"type": {
"type": "string",
"enum": [
"USER",
"GROUP"
]
}
},
"additionalProperties": false
}</span>}
As value for the id i used the groupId as mentioned here=>https://community.atlassian.com/t5/Crowd-questions/How-do-you-get-the-groupId-required-by-the-Crowd-group-level/qaq-p/1127534 which worked for a rest api get on a group but i dont understand the other values in the schema.