GET /files/{id}
or POST /files/download
Provider | Picker Type | Navigation Model | Notes |
---|---|---|---|
SharePoint | Native | Site → Drive → Folder → File | Microsoft-native picker with StackOne-built site selection UI |
OneDrive | Native | Drive → Folder → File | Standard OneDrive picker scoped to user’s personal/business drive |
Google Drive | Native | Drive → Folder → File | Uses Google Picker SDK |
Confluence | Custom | Space → Page | Pages act as both folders and files based on content/children |
Notion (Coming Soon) | Custom | Workspace → Page | Pages/blocks behave similarly to Confluence in dual file/folder roles |
fileId
corresponds to a StackOne-normalized file object that can be accessed via API:
GET /files/{id}
– fetch file metadataPOST /files/{id}/download
– retrieve file contents (if supported)hasContent
, hasChildren
is providedFeature / Capability | SharePoint | OneDrive | Google Drive | Confluence | Notion (coming) |
---|---|---|---|---|---|
Picker Type | Native | Native | Native | Custom | Custom |
Tree Navigation | ✅ | ✅ | ✅ | ✅ | ✅ |
Multi-file Selection | ✅ | ✅ | ✅ | ✅ | ✅ |
Selectable File Types | Any document | Any document | Any document | Pages | Pages |
Folder Navigation | ✅ | ✅ | ✅ | ✅ | ✅ |
Dual-role Items | N/A | N/A | N/A | ✅ (pages) | ✅ (pages/blocks) |
Output (on select) | List of File objects | List of File objects | List of File objects | List of File objects | List of File objects |
Unified Fetch / Download | ✅ | ✅ | ✅ | ✅ | ✅ |
GET /files/{id}
POST /files/{id}/download
Files.Read.All
, Sites.Read.All
https://www.googleapis.com/auth/drive.readonly