I want to use OnedDrive API to get OneDrive type, whether it is Personal or Bussiness.I know cid of Onedrive. How can i get this from commandline. Is there any possibility. I tried http, where we can get info by requesting.
Related
I'm trying to integrate Google Drive using the SDK with my app written in VB.Net using API Key and I'm following this tutorial https://developers.google.com/api-client-library/dotnet/get_started#simple
What happens is that when calling the ExecuteAsync method, I receive back an Exception saying that the user does not have sufficient permissions for this file.
Basically, I only have the API key (with restriction to access only Google Drive API) and I don't want to ask the user for permissions, because I'd like to use a specific account (so everyone would be sending files to that account).
I couldn't find a way to "link" this API Key to a specific account also.
I ended up using a service account for the Google Drive API.
The idea here was quite simple, where I created this account and downloaded a generated JSON file that is used by the SDK to Authenticate and call the API.
With this service account, I didn't use the API Key and I could leverage Permissions
and set permissions to each user on each created folder.
My Dropbox account has been connected/synced with various devices.I want to get the devices information like most recent activities.
I tried Dropbox's HTTP API endpoints as explained in https://www.dropbox.com/developers/documentation/http/documentation.
But I am not able to get the devices information.Please someone help to get the devices information.
The Dropbox API doesn't offer a way to get the device information for the linked user account. We'll consider it a feature request.
Note that the Dropbox Business API does offer this functionality, but that's only available for Business accounts:
https://www.dropbox.com/developers/documentation/http/teams#team-devices-list_member_devices
I'm using the onedrive RESTful API to integrate a webapp and share file between a group of people. I manage to correctly authenticate a user and get its access token, create folders and upload files.
The problem I'm having is finding a way to invite people to a folder. The closest documentation I have found is about permissions, where it talks about updating permissions (read, write, creating links) however I cant get a way to invite a specific user to a folder like its done directly in the One drive official webapp OneDrive Invite people to folder img
We don't officially support adding permissions through OneDrive API yet. If you need to do this in a production environment right now you'd need to use the SharePoint REST API to add the user permissions.
In the near future we'll be adding an invite function to the OneDrive API. While we haven't released documentation on it yet, you can see the unofficial syntax for it by looking at the service metadata information for the consumer service (https://api.onedrive.com/v1.0/$metadata). Of course, usage of this API would not be supported until it is documented on dev.onedrive.com though.
-Ryan
Dropbox,How can I get the information of current login user in c#.
like username,email address of desktop dropbox client.
Please help
The Dropbox API offers account information via the /account/info endpoint:
https://www.dropbox.com/developers/core/docs#account-info
The documentation there also covers which pieces of information are available.
Dropbox doesn't offer an official C# SDK, so you can either use the HTTP endpoint above directly, or use a third party library. There are some listed here:
https://www.dropbox.com/developers/core/sdks/other
I'm working on a 3rd party tool that integrates the Dropbox API and I would like to be able to display the name of the user who last modified the file.
The API documentation doesn't seem to supply this information, but I just want to verify that I'm not overlooking anything.
Anyone have experience with this area of the Dropbox API?
I can verify that this is not currently exposed via the API.