Using the REST API

The Live SDK REST API enables apps to programmatically access a user's Microsoft account info, contacts and friends, web-based activities and personal status, and media stored on Microsoft OneDrive.

Because this API is RESTful, you can use these APIs to work with most platforms and languages. After you have set up your development environment of your choice and have created an app to implement OneDrive to, your first step is to sign users in.

Note

Instead of using the Live SDK, you might want to try out the new OneDrive API. The OneDrive API is a RESTful API, that works directly with OneDrive, on many platforms, and completely independent of the Live SDK. This API provides a faster way to authenticate users, allows large file uploads, and more.

Note

Your app won't be able to work with a user's OneDrive files, unless the user is signed in to their Microsoft account.

Here are the topics to help you get started with the Live SDK REST API's, and use them to work with a user's OneDrive files and folders from within your app.

In this section

Topic

Description

Signing users in with REST

Sign users in with the REST API, so they can access their OneDrive info.

Downloading and uploading files (REST)

Download or upload a user's file on OneDrive, using the REST API.

Getting user data (REST)

Access a user's Microsoft account data from your server-side website, using the Live SDK.

Obtaining user consent (REST)

Obtain user consent in OneDrive using the REST API.

File and folder properties (REST)

Let users read their OneDrive file and folder properties from your app by using the REST API.

Move, copy, create, or delete a file or folder (REST)

Move, copy, create, or delete files or folders on OneDrive, using the Live SDK REST API.

Create, update, read, or delete albums (REST)

How to create, update, read, and delete albums from a user's OneDrive.

Read, create, or delete tags (REST)

Read, create, or delete a tag on OneDrive, using the REST API.