OData support

The OneDrive API supports OData V4 at the minimum conformance level. Some of the features of the OneDrive API might not be available via the OData metadata or generated content.

Some of the key supported features include:

  • $metadata - Service document at the service root.
  • Support upserts - A single command for insert and update.
  • JSON objects - Returns data in one of the OData defined formats. If the service does not support the requested format, it replies with a 406 Not Acceptable error response.
  • Detects errors - Returns 501 Not Implemented for any unsupported functionality.

For more details, see the OData Minimum Conformance Level section from the article OData Version 4.0 Part 1.