Display the new object ACL definition associated to a group, or display that portion of the new object ACL definition which relates to a particular principal.
/api/v1/group/get_newobj_acl?group=group&principal=principal&vdc=vdc
Name of the group. Prepend the group name with / to indicate a global group.
Name of the principal. <principal> is in the form:
Encoded principal in the form:
<name> - Local user or group.
/<name> - Global user or group.
<scope>:<type>:<name> - A fully qualified principal name where <scope> is 'global' or 'local', <type> is 'group' or 'user' and <name> is the group or user name.
For example, local:user:api@3tera.com=full should be passed as local%3Auser%3Aapi%403tera.com%3Dfull
If principal is an empty string, then the full new object ACL definition associated to a group is displayed; Otherwise, only the portion of the new object ACL definition which relates to a particular principal is displayed.
Name of the target virtual data center
synchronous
GET
GET http://192.168.123.200/api/v1/group/get_newobj_acl?group=apigroup&principal=&vdc=mygrid
<acl>
<entries>
<name>entries0</name>
<full>1</full>
<id>778fee4e-9b83-4160-8b79-8bb0e1a87af8</id>
</entries>
<owner>
<id></id>
</owner>
</acl>
{
"acl" : {
"owner" : {
"id" : ""
},
"entries" : {
"entries0" : {
"id" : "778fee4e-9b83-4160-8b79-8bb0e1a87af8",
"full" : 1
}
}
}
}
Entity vdc vdc not found - A VDC name was specified that is not configured in the WS_API application.
Entity not found - There is no principal name match for 'principal'
Missing required arguments (group). - Argument group=group missing in the request.
Note: This API is available with WS_API_r10-1.0.10-1 and above.
Replace the entire new object ACL definition associated to a group.
/api/v1/group/put_newobj_acl?group=group&acl=<ACLs>&vdc=controller-name
Name of the group; prepend the group name with / to indicate a global group.
URL-encoded ' / ' separated list of principals.
The principal for the owner must be a group.
For example, local:group:apigroup=full should be passed as local%3Agroup%3Aapigroup%3Dfull
For example, local:group:apigroup=full/local:user:test@3tera.com=configure should be passed as local%3Agroup%3Aapigroup%3Dfull%2Flocal%3Auser%3Atest%403tera.com%3Dconfigure
Name of the target virtual data center
synchronous
GET
GET http://192.168.123.200/api/v1/group/put_newobj_acl?group=apigroup&acl=apigroup%3Downer%2Ftest%403tera.com%3Dconfigure&vdc=mygrid
<message></message>
{
"message" : ""
}
Entity vdc controller-name not found - A VDC name was specified that is not configured in the WS_API application.
Entity not found - There is no principal name match for 'principal'
Missing required arguments (acl). - Argument acl=<ACL> missing in the request.
Missing required arguments (group). - Argument group=group missing in the request.
Note: This API is available with WS_API_r10-1.0.10-1 and above.
Replace that portion of a new object ACL definition associated to a group which relates to the owner or a principal entry.
/api/v1/group/modify_newobj_acl?group=group&acl=<ACLs>&vdc=controller-name
Name of the group; prepend the group name with / to indicate a global group.
URL-encoded ' / ' separated list of principals.
The principal for the owner must be a group.
For example, local:group:apigroup=full should be passed as local%3Agroup%3Aapigroup%3Dfull
For example, local:group:apigroup=full/local:user:test@3tera.com=configure should be passed as local%3Agroup%3Aapigroup%3Dfull%2Flocal%3Auser%3Atest%403tera.com%3Dconfigure
Name of the target virtual data center
synchronous
GET
GET http://192.168.123.200/api/v1/group/modify_newobj_acl?group=apigroup&acl=apigroup%3Downer%2Ftest%403tera.com%3Dconfigure&vdc=mygrid
<message></message>
{
"message" : ""
}
Entity vdc controller-name not found - A VDC name was specified that is not configured in the WS_API application.
Entity not found - There is no principal name match for 'principal'
Missing required arguments (acl). - Argument acl=<ACL> missing in the request.
Missing required arguments (group). - Argument group=group missing in the request.
Note: This API is available with WS_API_r10-1.0.10-1 and above.
|
Copyright © 2012 CA.
All rights reserved.
|
|