Roles

Organisation of security roles
More information: http://geoserver.org/comm/
Contact Info: geoserver-users@sourceforge.net
Version: 1.0.0
BasePath:/geoserver/rest/security
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

Access

Methods

[ Jump to Models ]

Table of Contents

Default

Default

Up
delete /roles/role/{role}
Delete a role (roleDefaultDelete)
Delete a role in the default role service.

Path parameters

role (required)
Path Parameter — the name of the role

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
delete /roles/role/{role}/group/{group}
Disassociate a role from a group (roleDefaultGroupDelete)
Disassociate a role in the default role service with a group.

Path parameters

role (required)
Path Parameter — the name of the role
group (required)
Path Parameter — the name of the group

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
post /roles/role/{role}/group/{group}
Associate a role with a group (roleDefaultGroupPost)
Associate an existing role in the default role service with a group.

Path parameters

role (required)
Path Parameter — the name of the role
group (required)
Path Parameter — the name of the group

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
post /roles/role/{role}
Add a role (roleDefaultPost)
Add a role in the default role service.

Path parameters

role (required)
Path Parameter — the name of the role

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
delete /roles/role/{role}/user/{user}
Disassociate a role from a user (roleDefaultUserDelete)
Disassociate a role in the default role service with a user.

Path parameters

role (required)
Path Parameter — the name of the role
user (required)
Path Parameter — the name of the user

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
post /roles/role/{role}/user/{user}
Associate a role with a user (roleDefaultUserPost)
Associate an existing role in the default role service with a user.

Path parameters

role (required)
Path Parameter — the name of the role
user (required)
Path Parameter — the name of the user

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
delete /service/{serviceName}/role/{role}
Delete a role (roleDelete)
Delete a role in a particular role service.

Path parameters

serviceName (required)
Path Parameter — the name of the role service
role (required)
Path Parameter — the name of the role

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
delete /service/{serviceName}/roles/role/{role}/group/{group}
Disassociate a role from a group (roleGroupDelete)
Disassociate a role in a particular role service with a group.

Path parameters

serviceName (required)
Path Parameter — the name of the role service
role (required)
Path Parameter — the name of the role
group (required)
Path Parameter — the name of the group

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
post /service/{serviceName}/roles/role/{role}/group/{group}
Associate a role with a group (roleGroupPost)
Associate an existing role in a particular role service with a group.

Path parameters

serviceName (required)
Path Parameter — the name of the role service
role (required)
Path Parameter — the name of the role
group (required)
Path Parameter — the name of the group

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
post /service/{serviceName}/role/{role}
Add a role (rolePost)
Add a role in a particular role service.

Path parameters

serviceName (required)
Path Parameter — the name of the role service
role (required)
Path Parameter — the name of the role

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
delete /service/{serviceName}/roles/role/{role}/user/{user}
Disassociate a role from a user (roleUserDelete)
Disassociate a role in a particular role service with a user.

Path parameters

serviceName (required)
Path Parameter — the name of the role service
role (required)
Path Parameter — the name of the role
user (required)
Path Parameter — the name of the user

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
post /service/{serviceName}/roles/role/{role}/user/{user}
Associate a role with a user (roleUserPost)
Associate an existing role in a particular role service with a user.

Path parameters

serviceName (required)
Path Parameter — the name of the role service
role (required)
Path Parameter — the name of the role
user (required)
Path Parameter — the name of the user

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
get /roles
Query all roles (rolesDefaultGet)
Query all roles in the default role service.

Return type

Roles

Example data

Content-Type: application/xml
null

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK Roles

Up
get /roles/group/{group}
Query all roles for group (rolesDefaultGroupGet)
Query all roles for the group in the default role service.

Path parameters

group (required)
Path Parameter — the name of the group

Return type

Roles

Example data

Content-Type: application/xml
null

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK Roles

Up
get /roles/user/{user}
Query all roles for user (rolesDefaultUserGet)
Query all roles for the user in the default role service.

Path parameters

user (required)
Path Parameter — the name of the user

Return type

Roles

Example data

Content-Type: application/xml
null

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK Roles

Up
get /roles/service/{serviceName}/roles/
Query all roles (rolesGet)
Query all roles in a particular role service.

Path parameters

serviceName (required)
Path Parameter — the name of the role role service

Return type

Roles

Example data

Content-Type: application/xml
null

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK Roles

Up
get /roles/service/{serviceName}/group/{group}
Query all roles for group (rolesGroupGet)
Query all roles for the group in a particular role service.

Path parameters

serviceName (required)
Path Parameter — the name of the role role service
group (required)
Path Parameter — the name of the group

Return type

Roles

Example data

Content-Type: application/xml
null

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK Roles

Up
get /roles/service/{serviceName}/user/{user}
Query all roles for user (rolesUserGet)
Query all roles for the user in a particular role service.

Path parameters

serviceName (required)
Path Parameter — the name of the role role service
user (required)
Path Parameter — the name of the user

Return type

Roles

Example data

Content-Type: application/xml
null

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK Roles

Models

[ Jump to Methods ]

Table of Contents

  1. Role - role
  2. Roles - roles

Role - role Up

Roles - roles Up