Skip to main content
Source: equa-server/modules/api/src/endpoints/microsoft-endpoints.ts

Microsoft Endpoints

These endpoints are only available when Microsoft authentication is enabled. Requires the MICROSOFT_* environment variables to be configured. Source: endpoints.ts line 113 — if (isMicrosoftAuthEnabled(process.env))
Endpoints for integrating with Microsoft 365 (OneDrive/SharePoint) for document storage and management. These endpoints use Microsoft Graph API tokens to access group drives. All Microsoft endpoints require authentication.

List Documents

List all documents in the organization’s Microsoft-connected document store.
This endpoint overlaps with the Data Room GET /organization/:organization/document endpoint. The server routes to the appropriate handler based on the organization’s document storage configuration (Microsoft vs S3-based data room).

Get Document Content

Download a document as an attachment from Microsoft 365 or S3.

View Document Inline

View a document inline in the browser.

Upload Document

Upload a single document to the Microsoft-connected document store.

Upload Multiple Documents

Upload multiple documents in a single request.

Create Folder

Create a new folder in the Microsoft-connected document store.

Move Document

Move or rename a document in the Microsoft document store.

Delete Document

Delete a document from the Microsoft document store.