Confluence Concept | StackOne Equivalent | Notes |
---|---|---|
Space | drive | Top-level container for content within a site |
Page with children | folder/file | A page can act as both a folder and a file |
listFolders
and listFiles
endpointsGET exportword?pageId={.id}
GET /wiki/rest/api/content/{id}?expand=body.export_view
StackOne Model Object | How It Maps to Confluence |
---|---|
drive | A Confluence space |
folder | A page with child pages |
file | A page with content or an attached document |
metadata | Indicates if an item has hasContent , hasChildren , or both |
path | Virtualized to reflect the nested hierarchy of pages within a space |
Operation | API Used | Notes |
---|---|---|
List sites | Configured in StackOne per connected account | No Confluence API call; configuration-level |
List spaces in site | GET /wiki/rest/api/space | Lists all available spaces |
List pages in a space | GET /wiki/rest/api/content/search?cql=... | Filters top-level or nested pages using CQL |
Upload attachment to page | POST /api/v2/pages | Used for file uploads |
Download attachment | GET rest/api/content/{id}?expand=body.export_view | Direct file download endpoint |
Type | Displayed As | Condition |
---|---|---|
Page with body | File (can be selected) | body.storage.value present |
Page with children | Folder (can be expanded) | ancestors.length > 0 |
write:confluence-content
read:confluence-space.summary
read:confluence-props
write:confluence-props
read:confluence-content.all
read:confluence-content.summary
search:confluence
readonly:content.attachment:confluence
Area | Confluence |
---|---|
Picker UX | Custom-built hierarchical UI |
Root Model | Site → Space → Page (acts as file/folder) |
File API | CQL-based search of pages and attachments |
Folder Behavior | Pages act as folders if they contain child pages |
File Behavior | Pages act as files if they have content or attachments |
Selection Logic | Pages can be both selectable and expandable simultaneously |
StackOne Normalization | All content mapped to unified file / folder objects |