List available drives and types for Microsoft OneDrive
Description
Competition Assessment
None
relates to
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity
Show:
Timothy Moore II December 16, 2019 at 6:26 PM
Docs PR: https://github.com/freenas/freenas-docs/pull/1645
webui help text PR: https://github.com/freenas/webui/pull/3281
Vladimir Vinogradenko October 18, 2019 at 1:45 PM
No, we don't (at least yet). Pass empty (or do not pass anything) if token was entered manually, otherwise pass ones acquired from oauth window.
Complete
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Lola Yang
Lola YangReporter
Vladimir Vinogradenko
Vladimir VinogradenkoComponents
Fix versions
Priority
More fields
Time tracking
More fields
Time trackingKatalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created October 17, 2019 at 12:32 PM
Updated July 1, 2022 at 4:43 PM
Resolved December 16, 2019 at 8:12 PM
Above "Drive Account Type" and "Drive ID" we must show dropdown list that must be populated on Access Token field change by calling:
+ Lists all available drives and their types for given Microsoft OneDrive credentials.
+
+ .. examples(websocket)::
+
+ :::javascript
+ {
+ "id" : "6841f242-840a-11e6-a437-00e04d680384" ,
+ "msg" : "method" ,
+ "method" : "cloudsync.onedrive_list_drives" ,
+ "params" : [{
+ "client_id" : "..." ,
+ "client_secret" : "",
+ "token" : "{...}" ,
+ }]
+ }
+
+ Returns
+
+ [{ "drive_type" : "PERSONAL" , "drive_id" : "6bb903a25ad65e46" }]
When user selects item, corresponding fields values are replaced.
If this method returns error, instead of dropdown we should show "Credentials are invalid" message