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

Add share permission body to storage files #7081

Merged
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -516,11 +516,17 @@
],
"operationId": "Share_CreatePermission",
"description": "Create a permission (a security descriptor).",
"consumes": [
"application/json"
],
"parameters": [{
"$ref": "#/parameters/Timeout"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SharePermission"
}
],
"responses": {
Expand Down Expand Up @@ -569,6 +575,9 @@
],
"operationId": "Share_GetPermission",
"description": "Returns the permission (security descriptor) for a given key",
"produces": [
"application/json"
],
"parameters": [{
"$ref": "#/parameters/FilePermissionKey"
},
Expand Down Expand Up @@ -598,6 +607,9 @@
"format": "date-time-rfc1123",
"description": "A UTC date/time value generated by the service that indicates the time at which the response was initiated."
}
},
"schema": {
"$ref": "#/definitions/SharePermission"
}
},
"default": {
Expand Down Expand Up @@ -3971,6 +3983,19 @@
}
}
}
},
"SharePermission": {
"description": "A permission (a security descriptor) at the share level.",
"type": "object",
"required": [
"permission"
],
"properties": {
"permission": {
"type": "string",
"description": "The permission in the Security Descriptor Definition Language (SDDL)."
}
}
}
},
"parameters": {
Expand Down Expand Up @@ -4404,6 +4429,16 @@
"type": "integer",
"minimum": 0,
"x-ms-parameter-location": "method"
},
"SharePermission": {
"name": "sharePermission",
"in": "body",
"description": "A permission (a security descriptor) at the share level.",
"required": true,
"schema": {
"$ref": "#/definitions/SharePermission"
},
"x-ms-parameter-location": "method"
}
}
}