Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M365 #21

Open
amirhouieh opened this issue Nov 27, 2023 · 0 comments
Open

M365 #21

amirhouieh opened this issue Nov 27, 2023 · 0 comments
Assignees
Labels
p:low providers Supported providers (as source)

Comments

@amirhouieh
Copy link
Member

amirhouieh commented Nov 27, 2023

We start SharePoint.
The entry point with share point ia defined as follows:

  • SharePoint/ Website/ document library

At this stage we only use document libraries.

Service and API Endpoints with Data Types

SharePoint

Operation API Endpoint Data Types
List Sites GET /sites?search={query} Sites
Access Specific Site GET /sites/{site-id} Site details
Access Lists GET /sites/{site-id}/lists Lists in a Site
Access Documents GET /sites/{site-id}/drive/root:/{path}:/children Documents in libraries (Word, PPT, Excel, PDF)

Teams

Operation API Endpoint Data Types
List Teams GET /teams Teams
Access Channels GET /teams/{team-id}/channels Channels within a Team
Access Messages GET /teams/{team-id}/channels/{channel-id}/messages Messages within a Channel

OneDrive

Operation API Endpoint Data Types
List Files/Folders GET /me/drive/root/children Files and folders
Access Specific File GET /me/drive/items/{item-id} Specific file details
File Content GET /me/drive/items/{item-id}/content Content of a specific file

Data Syncing

Initial Data Fetching

Upon service initialization, utilize the specified API calls to retrieve all existing data from the selected SharePoint lists, Teams channels, and OneDrive folders.

Real-time or Interval Data Syncing

Webhooks (Real-time Notifications)

Feature Description
Subscription Subscribe to resource changes via POST /subscriptions.
Notification Receive notifications at the specified notificationUrl.
Use Case Best for applications requiring immediate data updates.

Delta Queries (Incremental Changes)

Feature Description
Initial Request Use GET /me/drive/root/delta to fetch all data and a delta token/link.
Subsequent Requests Use the delta token to fetch updates since the last request.
Use Case Suitable for applications where periodic updates are adequate.

Choosing Sync Method

  • Webhooks for real-time updates.
  • Delta Queries for periodic syncing.
  • Hybrid approach can optimize immediacy and API efficiency, tailored to application needs.
@amirhouieh amirhouieh added the providers Supported providers (as source) label Nov 27, 2023
@amirhouieh amirhouieh moved this to Backlog in Roadmap Jan 13, 2024
@amirhouieh amirhouieh self-assigned this Feb 14, 2024
@amirhouieh amirhouieh moved this from Backlog to Todo in Roadmap Mar 2, 2024
@amirhouieh amirhouieh added this to the ProductHunt Launch #1 milestone Mar 2, 2024
@amirhouieh amirhouieh changed the title Microsoft Sharepoint M365 Mar 2, 2024
@jeangovil jeangovil moved this from Todo to Backlog in Roadmap Mar 4, 2024
@amirhouieh amirhouieh moved this from Backlog to Icebox in Roadmap Apr 18, 2024
@amirhouieh amirhouieh removed this from the ProductHunt Launch #1 milestone Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p:low providers Supported providers (as source)
Projects
Status: Icebox
Development

No branches or pull requests

2 participants