Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage/feature/recursive acl #8666

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added set acl recursive operation
kasobol-msft committed Mar 5, 2020
commit 6124cb9f8204d28ec368d8b918f2e98cf1f3357e
Original file line number Diff line number Diff line change
@@ -1685,6 +1685,126 @@
}
]
},
"/{filesystem}/{path}?action=setAccessControlRecursive": {
"patch": {
"tags": [
"directory"
],
"operationId": "Path_SetAccessControlRecursive",
"description": "Set the access control list for a path and subpaths.",
"parameters": [
{
"$ref": "#/parameters/Timeout"
},
{
"$ref": "#/parameters/Continuation"
},
{
"$ref": "#/parameters/LeaseIdOptional"
},
{
"$ref": "#/parameters/Acl"
},
{
"$ref": "#/parameters/IfMatch"
},
{
"$ref": "#/parameters/IfNoneMatch"
},
{
"$ref": "#/parameters/IfModifiedSince"
},
{
"$ref": "#/parameters/IfUnmodifiedSince"
},
{
"$ref": "#/parameters/ClientRequestId"
},
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Set directory access control recursive response.",
"headers": {
"Date": {
"type": "string",
"format": "date-time-rfc1123",
"description": "A UTC date/time value generated by the service that indicates the time at which the response was initiated."
},
"ETag": {
"type": "string",
"format": "etag",
"description": "An HTTP entity tag associated with the file or directory."
},
"Last-Modified": {
"type": "string",
"format": "date-time-rfc1123",
"description": "The data and time the file or directory was last modified. Write operations on the file or directory update the last modified time."
},
"x-ms-client-request-id": {
"x-ms-client-name": "ClientRequestId",
"type": "string",
"description": "If a client request id header is sent in the request, this header will be present in the response with the same value."
},
"x-ms-continuation": {
"x-ms-client-name": "Continuation",
"description": "When performing setAccessControlRecursive on a directory, the number of paths that are processed with each invocation is limited. If the number of paths to be processed exceeds this limit, a continuation token is returned in this response header. When a continuation token is returned in the response, it must be specified in a subsequent invocation of the setAccessControlRecursive operation to continue the setAccessControlRecursive operation on the directory.",
"type": "string"
},
"x-ms-request-id": {
"x-ms-client-name": "RequestId",
"type": "string",
"description": "A server-generated UUID recorded in the analytics logs for troubleshooting and correlation."
},
"x-ms-version": {
"x-ms-client-name": "Version",
"type": "string",
"description": "The version of the REST protocol used to process the request."
}
},
"schema": {
"$ref": "#/definitions/SetAccessControlRecursiveResponse"
}
},
"default": {
"description": "Failure",
"headers": {
"x-ms-client-request-id": {
"x-ms-client-name": "ClientRequestId",
"type": "string",
"description": "If a client request id header is sent in the request, this header will be present in the response with the same value."
},
"x-ms-request-id": {
"x-ms-client-name": "RequestId",
"type": "string",
"description": "A server-generated UUID recorded in the analytics logs for troubleshooting and correlation."
},
"x-ms-version": {
"x-ms-client-name": "Version",
"type": "string",
"description": "The version of the REST protocol used to process the request."
}
},
"schema": {
"$ref": "#/definitions/StorageError"
}
}
}
},
"parameters": [
{
"name": "action",
"in": "query",
"required": true,
"type": "string",
"enum": [
"setAccessControlRecursive"
]
}
]
},
"/{filesystem}/{path}?action=flush": {
"patch": {
"tags": [