Skip to content
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
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 All @@ -547,6 +553,9 @@
"type": "string",
"description": "Key of the permission set for the directory/file."
}
},
"schema": {
"$ref": "#/definitions/SharePermission"
}
},
"default": {
Expand Down Expand Up @@ -3971,6 +3980,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 +4426,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"
}
}
}