Skip to main content

Drivers & Templates

Library driver discovery and configuration templates.

GET /api/library-drivers

List available library drivers.

Authentication: Required

Response:

{
"_links": {
"self": { "href": "/api/library-drivers" }
},
"_embedded": {
"inf:library-driver": [
{
"id": "local",
"name": "Local Files",
"description": "Store files locally in Informer",
"supportsSync": false,
"supportsUpload": true,
"isLocal": true,
"defaultSyncInterval": null
},
{
"id": "google-drive",
"name": "Google Drive",
"description": "Sync files from Google Drive",
"supportsSync": true,
"supportsUpload": false,
"isLocal": false,
"defaultSyncInterval": 60
},
{
"id": "onedrive",
"name": "OneDrive",
"description": "Sync files from Microsoft OneDrive",
"supportsSync": true,
"supportsUpload": false,
"isLocal": false,
"defaultSyncInterval": 60
}
]
},
"start": 0,
"count": 3,
"total": 3
}

GET /api/library-drivers/{id}

Get details for a specific library driver.

Authentication: Required

Path Parameters:

ParameterTypeDescription
idstringDriver ID (local, google-drive, etc.)

Response:

{
"id": "google-drive",
"name": "Google Drive",
"description": "Sync files from Google Drive",
"supportsSync": true,
"supportsUpload": false,
"isLocal": false,
"defaultSyncInterval": 60
}

GET /api/library-templates

List library templates for common configurations.

Authentication: Required

Response:

{
"_links": {
"self": { "href": "/api/library-templates" }
},
"_embedded": {
"inf:library-template": [
{
"id": "local-team-docs",
"name": "Team Documentation",
"type": "local",
"description": "Local library for team documentation",
"shared": true,
"assistantAccess": true
},
{
"id": "google-drive-sync",
"name": "Google Drive Sync",
"type": "google-drive",
"description": "Sync from Google Drive folder",
"syncInterval": 60
}
]
},
"start": 0,
"count": 2,
"total": 2
}