CA Release Automation (Nolio) have its public REST API, which can be used for various management and administration activity without login to Web-Interface. In this documents we are going to brief on REST API for Managing and Migrating Users permission.
CA Release Automation - All versions
Note: Each REST API requires a basic authentication. The request should be having authentication token for invoking the API.
REST API Swagger: http://NAC-IP:NAC-PORT/datamanagement/apis/public.html
Get Users Groups:
Get Group Permissions:
(The other query parameter can be used in this requests are application=My and applicationId)
Create a New Group:
{
"role":
{
"type": "user",
"applicationCreator": false,
"artifactsManager": false
},
"isLdap": false,
"name": "groupname4",
"ldap": false
}
Add Users to Groups:
{
"groupIds": [
7
],
"userIds": [
17,18
]
}
Update Group Permission:
{
"groupIds": [
5
],
"list": [
{
"owner": false,
"canView": true,
"designer": false,
"publisher": false,
"designViewer": false,
"canExecuteProcessesInAllEnvironments": false,
"canApproveReleasesInAllEnvironments": false,
"canExecuteReleasesInAllEnvironments": false,
"environmentPermissions": [
{
"admin": false,
"templateCategoriesCanDeploy": [],
"canExecuteAllProcesses": true,
"releaseDesigner": false,
"processesCanExecute": [],
"canExecuteAllReleases": false,
"canApproveAllReleases": true,
"name": "Environment for Single Server Architecture",
"id": "2"
}
],
"deploymentPlanDesigner": true,
"canViewExecutionComponents": false,
"releasesTemplateDesigner": true,
"name": "Test Application",
"id": "3"
},
{
"owner": false,
"canView": true,
"designer": true,
"publisher": false,
"designViewer": true,
"canExecuteProcessesInAllEnvironments": false,
"canApproveReleasesInAllEnvironments": true,
"canExecuteReleasesInAllEnvironments": true,
"deploymentPlanDesigner": false,
"canViewExecutionComponents": false,
"releasesTemplateDesigner": false,
"name": "My",
"id": "4"
}
]
}