Get all permissions effective for the matching user.
GET {{baseUrl}}/app/rest/users/:userLocator/permissions?locator=<string>&fields=<string>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
locator | string | ||
fields | string |
RESPONSES
status: OK
{"count":"\u003cinteger\u003e","permissionAssignment":[{"permission":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"global":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"project":{"id":"\u003cstring\u003e","internalId":"\u003cstring\u003e","uuid":"\u003cstring\u003e","name":"\u003cstring\u003e","parentProjectId":"\u003cstring\u003e","parentProjectInternalId":"\u003cstring\u003e","parentProjectName":"\u003cstring\u003e","archived":"\u003cboolean\u003e","description":"\u003cstring\u003e","href":"\u003cstring\u003e","webUrl":"\u003cstring\u003e","links":{"count":"\u003cinteger\u003e","link":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"parentProject":{"value":"\u003cCircular reference to #/components/schemas/project detected\u003e"},"readOnlyUI":{"value":"\u003cboolean\u003e","inherited":"\u003cboolean\u003e"},"defaultTemplate":{"id":"\u003cstring\u003e","internalId":"\u003cstring\u003e","name":"\u003cstring\u003e","templateFlag":"\u003cboolean\u003e","type":"\u003cstring\u003e","paused":"\u003cboolean\u003e","uuid":"\u003cstring\u003e","description":"\u003cstring\u003e","projectName":"\u003cstring\u003e","projectId":"\u003cstring\u003e","projectInternalId":"\u003cstring\u003e","href":"\u003cstring\u003e","webUrl":"\u003cstring\u003e","inherited":"\u003cboolean\u003e","links":{"count":"\u003cinteger\u003e","link":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"project":{"value":"\u003cCircular reference to #/components/schemas/project detected\u003e"},"templates":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"template":{"value":"\u003cCircular reference to #/components/schemas/buildType detected\u003e"},"vcs-root-entries":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"settings":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","property":[{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"parameters":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","property":[{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"steps":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"features":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"triggers":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"snapshot-dependencies":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"artifact-dependencies":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"agent-requirements":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"branches":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"builds":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"investigations":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"compatibleAgents":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"vcsRootInstances":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","vcs-root-instance":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"externalStatusAllowed":"\u003cboolean\u003e","pauseComment":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"locator":"\u003cstring\u003e"},"buildTypes":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","buildType":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"templates":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","buildType":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"parameters":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","property":[{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"vcsRoots":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","vcs-root":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"projectFeatures":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","projectFeature":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"projects":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","project":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"cloudProfiles":{"count":"\u003cinteger\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","href":"\u003cstring\u003e","cloudProfile":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"locator":"\u003cstring\u003e"}},{"permission":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"global":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"project":{"id":"\u003cstring\u003e","internalId":"\u003cstring\u003e","uuid":"\u003cstring\u003e","name":"\u003cstring\u003e","parentProjectId":"\u003cstring\u003e","parentProjectInternalId":"\u003cstring\u003e","parentProjectName":"\u003cstring\u003e","archived":"\u003cboolean\u003e","description":"\u003cstring\u003e","href":"\u003cstring\u003e","webUrl":"\u003cstring\u003e","links":{"count":"\u003cinteger\u003e","link":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"parentProject":{"value":"\u003cCircular reference to #/components/schemas/project detected\u003e"},"readOnlyUI":{"value":"\u003cboolean\u003e","inherited":"\u003cboolean\u003e"},"defaultTemplate":{"id":"\u003cstring\u003e","internalId":"\u003cstring\u003e","name":"\u003cstring\u003e","templateFlag":"\u003cboolean\u003e","type":"\u003cstring\u003e","paused":"\u003cboolean\u003e","uuid":"\u003cstring\u003e","description":"\u003cstring\u003e","projectName":"\u003cstring\u003e","projectId":"\u003cstring\u003e","projectInternalId":"\u003cstring\u003e","href":"\u003cstring\u003e","webUrl":"\u003cstring\u003e","inherited":"\u003cboolean\u003e","links":{"count":"\u003cinteger\u003e","link":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"project":{"value":"\u003cCircular reference to #/components/schemas/project detected\u003e"},"templates":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"template":{"value":"\u003cCircular reference to #/components/schemas/buildType detected\u003e"},"vcs-root-entries":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"settings":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","property":[{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"parameters":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","property":[{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"steps":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"features":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"triggers":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"snapshot-dependencies":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"artifact-dependencies":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"agent-requirements":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"branches":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"builds":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"investigations":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"compatibleAgents":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"vcsRootInstances":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","vcs-root-instance":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"externalStatusAllowed":"\u003cboolean\u003e","pauseComment":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"locator":"\u003cstring\u003e"},"buildTypes":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","buildType":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"templates":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","buildType":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"parameters":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","property":[{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"vcsRoots":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","vcs-root":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"projectFeatures":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","projectFeature":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"projects":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","project":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"cloudProfiles":{"count":"\u003cinteger\u003e","nextHref":"\u003cstring\u003e","prevHref":"\u003cstring\u003e","href":"\u003cstring\u003e","cloudProfile":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"locator":"\u003cstring\u003e"}}]}