-
Notifications
You must be signed in to change notification settings - Fork 8
Integrations
The integrations endpoint is used to retrieve information about available integrations on a folder or document. Which integrations are available depends on the account and, if applicable, the type of the document.
We support the following integrations;
Document integrations can be used to view or edit a document using a third party client. The link to this endpoint is advertised on the document response with the @rel value integrations
.
GET .../files/integrations/document/123 HTTP/1.1
Accept: application/vnd.huddle.data+json
HTTP/1.1 200 OK
Content-Type: application/vnd.huddle.data+json
{
"officeOnline": {
"links": [
{
"rel": "integrations",
"href": "..."
}
],
"disabledReasons": []
}
}
Status Code | Reason |
---|---|
401 | Invalid authorization token |
404 | Document not found |
These string values are returned to indicate the reason(s) that an specific integration is not available.
Code | Reason |
---|---|
ACCOUNT_SETTING_DISABLED | - |
WORKSPACE_SETTING_DISABLED (or DOC_LIB_SETTING_DISABLED) | Workspace setting disabled |
Folder integrations can be used to determine which integrations are available. The link to this endpoint is advertised on the
folder response with the @rel value integrations
.
It will return a list of integrations that are available. This is currently only Microsoft Office Online.
If a user can edit the folder, the response contains document template integrations links with a @rel value create
for every available mime type.
GET .../files/integrations/folder/123 HTTP/1.1
Accept: application/vnd.huddle.data+json
HTTP/1.1 200 OK
Content-Type: application/vnd.huddle.data+json
{
"documentTemplates": {
"links": [{
"rel": "create",
"type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"href": "..."
}, {
"rel": "create",
"type": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
"href": "..."
}, {
"rel": "create",
"type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"href": "..."
}]
},
"officeOnline": {
"enabled": true,
"disabledReasons": []
}
}
Status Code | Reason |
---|---|
401 | Invalid authorization token |
404 | Folder not found |
- Basic concepts
-
Resources
- Actor
- Approvals
- BulkProcess
- Calendar
- Membership
- Company
- Document
- Document library settings
- Folder
- Paged Folder
- Pins
- Integrations
- Form
- Friends
- Invitation
- Link
- Document Lock
- Folder Lock
- Localisation
- MemberAutocomplete
- Notifications
- Offline item
- PeopleBulkProcess
- Permissions
- Presence
- PublishedDocuments
- Recents
- Recommendations
- Recycle Bin
- Search
- Share
- Tasks (Todos), File Requests, Approvals
- Tasks on Documents
- Actions
- UserApprovals
- User
- VersionHistory
- Workspace
- Workspaces
- SamlPartners
- Logout
- Impersonation
- Administration
- WebHooks