ルート・スキーマ: ShareFolderEditRoleBody
タイプ: object
リクエスト本文では、共有フォルダ・ユーザー・ロール編集リクエストの詳細を定義します。 Boldは必須の値を示します。
ソースを表示
- message(optional): string
- role: string
使用可能な値: [ "viewer", "downloader", "contributor", "manager" ]
共有アイテムへのアクセス・レベル:
- ビューア: ビューアはファイルおよびフォルダを表示できますが、何かを変更することはできません。
- ダウンローダ: ダウンローダはファイルをダウンロードし、自分のコンピュータに保存することもできます。
- コントリビュータ: コントリビュータはファイルの変更、ファイルの更新、新規ファイルのアップロードおよびファイルの削除を行うこともできます。
- マネージャ: マネージャは他のロールの権限をすべて持ち、他のユーザーをメンバーとして追加したり、削除できます。
- userID: string
ユーザーのグローバル一意識別子(GUID)。ユーザーのログイン名、グループのGUID、または前述のカンマ区切りリスト(合計ID 1000以下)です。
{
"description":"The request body defines details of the edit shared folder user role request. <b>Bold</b> indicates a required value.",
"properties":{
"userID":{
"type":"string",
"description":"Globally unique identifier (GUID) for the user, login name of the user, GUID for the group or a comma-separated list of the above (no more than 1000 total IDs)."
},
"role":{
"type":"string",
"description":"<p>Access level for the shared item:</p><p><ul><li><b>viewer:</b> Viewers can look at files and folders but can't change things.</li><li><b>downloader:</b> Downloaders can also download files and save them to their own computers.</li><li><b>contributor:</b> Contributors can also modify files, update files, upload new files, and delete files.</li><li><b>manager:</b> Managers have all the privileges of the other roles and can add or remove other people as members.</li></ul></p>",
"enum":[
"viewer",
"downloader",
"contributor",
"manager"
]
},
"message":{
"type":"string",
"description":"Optional message sent to the user."
}
},
"required":[
"userID",
"role"
]
}