Browse sources$ls -a sources
Logo of one-drive
OneDrive
Simplify file access and management with OneDrive integration
Sync your customers' dataFiber pulls data from your customers' OneDrive accounts into your database or cloud storage. Skip months of integration work and begin syncing in minutes.
Logo of one-drive
Logo of one-drive
Logo of one-drive
Logo of one-drive
Logo of one-drive
Logo of one-drive
Logo of one-drive
Logo of one-drive
Logo of one-drive
Logo of one-drive
Fiber
postgres-prod
one_drive_files
Your customers' OneDrive accounts
Your production database
Meet your new integration toolkit: SQLReplace calls to the OneDrive API with an interface you already use. Access the data you need straight from your database.
-- Fetch all the Files belonging to the OneDrive
-- account of a particular user.

SELECT *
FROM fiber.one_drive_file
WHERE account_id = '{user.one_drive_id}'
-- Fetch all the Files belonging to the OneDrive
-- account of a particular user.

SELECT *
FROM fiber.one_drive_file
WHERE account_id = '{user.one_drive_id}'
Code
CREATE TABLE fiber.one_drive_file (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
account_id TEXT,
contents TEXT,
byte_size DOUBLE PRECISION,
encoding TEXT,
mime_type TEXT
)
CREATE TABLE fiber.one_drive_file (
id TEXT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE,
updated_at TIMESTAMP WITH TIME ZONE,
account_id TEXT,
contents TEXT,
byte_size DOUBLE PRECISION,
encoding TEXT,
mime_type TEXT
)
Model definition
About this source
Logo of one-drive
OneDriveMicrosoft's file hosting and collaboration solution.onedrive.com  ↗
Available resources
    Files
Missing a resource? We will build it for you.
Similar sources
OAuth
Need help with OAuth for OneDrive?Handshake ↗ is a Next.js app boilerplate that handles your OAuth with OneDrive and over 200 other APIs. Setup and deploy within minutes.
Logo of one-driveIntegrate OneDrive using Fiber Fiber makes it easy to access third-party data from OneDrive accounts. Get started in just a few minutes.