RuleLookupResource
REST endpoint for looking up specific user access to specific resources. Copyright 2017 WANdisco.
The following resources are part of this group:
/rulelookup
Mount Point: /rulelookup
GET
Query a specific user's access to a resource
Parameters
| name | description | type | default |
|---|---|---|---|
| queryEnforced | "true" to query the current/enforced model, i.e. the model as it was the last time files where generated, "false" to query the pending/shadow model, i.e. the model as it will be when pending batch updates are eventually applied at some point in the future. Note that this query param is only applicable/relevant for when batched updates is enabled, if batch updates is disabled, this query param is ignored. | query | false |
| username | target username | query | |
| repositoryName | target repo | query | |
| resourcePath | target resource | query | / |
| svnOrGitRepo | if no value is supplied for the type of repository to look for, it will default to "SVN" as this is the most common repository type used with ACP. | query | SVN |
Response Body
| element: | rulelookupresults |
| media types: | */* application/xml |
(no documentation provided)
Status Codes
| code | description |
|---|---|
| 200 | OK |
| 404 | Not found - see returned ExceptionDTO |
| 400 | Bad request - see returned ExceptionDTO |
| 503 | Service unavailable - see returned ExceptionDTO |
| 401 | Authentication required. |
| 403 | Authorization required - access forbidden |