URL Property
The server URL.
Object Oriented Interface
public function getURL(); public function setURL($value);
Procedural Interface
incloudstorage_onedrive_get($res, 68 ); incloudstorage_onedrive_set($res, 68, $value );
Default Value
'https://api.onedrive.com/v1.0'
Remarks
This property defines the server URL.
When using the class in legacy API mode, personal OneDrive accounts should use "https://api.onedrive.com/v1.0", and OneDrive for Business accounts should use a URL in the format "https://{tenant}-my.sharepoint.com/_api/v2.0".
When using the class with the Microsoft Graph API, the URL should be "https://graph.microsoft.com/v1.0" regardless of the account type (personal, business, and education accounts are all supported by the Graph API).
The value of this property will change if you configure the class to operate in a different API mode. Refer to the UseGraphAPI configuration setting's documentation for more information.
Data Type
String