Microsoft OneDrive (With Drive ID)

Consume Microsoft OneDrive API with custom Drive ID

File → Get

AI-generated

Summary

Retrieve metadata and details for a specific file in Microsoft OneDrive using the file's unique File ID.

Inputs

  • File ID (required) — The unique identifier of the file to retrieve.

Output shape

a JSON object containing the file's metadata and properties from Microsoft OneDrive

The operation returns metadata for the specified file ID. If the file ID is invalid or the file does not exist, an error is thrown.

Examples

Example 1: Get details of a file by its File ID

Set the operation to 'Get', resource to 'File', and provide the 'File ID' of the target file.

Links

Discussion