This operation returns the list of permissions the user has over a list of Folder, Content Fragments or Content Fragment Models. The Content Fragments are expected to be within the /content/dam
directory, the Content Fragment Models within the /conf
directory, and the Folders could be within either /content/dam
or the /conf
directory.
Request parameters to retrieve permissions.
OK
Bad Request. The Problem Details object will provide more information about the exact cause.
Unacceptable. indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
"The HTTP 413 Content Too Large response status code indicates that the request entity is larger than limits defined by server; the server might close the connection or return a Retry-After header field. Prior to RFC 9110 the response phrase for the status was Payload Too Large. That name is still widely used."
Unsupported Media Type. When provided as a response to a PATCH
request,
the response will provide an Accept-Patch
response header to notify
the client what patch document media types are supported.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "paths": [
- "/content/dam/sample-wknd-app",
- "/content/dam/wknd-shared",
- "/conf/global/settings/dam/cfm/models/sample-model"
], - "preferredPermissions": [
- "READ",
- "DELETE",
- "CREATE_CONTENT_FRAGMENT"
]
}
{- "items": [
- {
- "path": "/content/dam/wknd-shared",
- "permissions": [
- "CREATE_CONTENT_FRAGMENT"
]
}
]
}