Device Information
Get Device Info
Retrieve information about the Kolibri device.GET /api/device/info
Response Fields
Kolibri version number
Unique device identifier
Operating system (e.g., “Linux”, “Windows”, “Android”)
Array of URLs where Kolibri is accessible
Path to database file or database type
Free space available for content in bytes
Current server time in ISO 8601 format
Server timezone name
Installation type (e.g., “deb”, “pip”, “pex”)
Python version running Kolibri
Device Settings
Get Device Settings
Retrieve current device settings.GET /api/device/devicesettings
Response Fields
Default language for the device
Default landing page (e.g., “learn”, “sign-in”)
Whether guest access is allowed
Whether importing unlisted channels from peers is allowed
Whether learners can access unassigned resources
Whether other browsers can connect (for app context)
Additional device-specific settings
Update Device Settings
Update device settings.PATCH /api/device/devicesettings
Request Parameters
Default language ID
Default landing page
Enable/disable guest access
Enable/disable unlisted channel import from peers
Enable/disable learner access to unassigned resources
Device Name
Get Device Name
Retrieve the device name.GET /api/device/devicename
Response
Update Device Name
Update the device name.PATCH /api/device/devicename
Device Permissions
List Device Permissions
Retrieve device permissions for users.GET /api/device/devicepermissions
Response Fields
Permission record identifier
User UUID
Whether user has superuser permissions
Whether user can manage content
Create Device Permission
Grant device permissions to a user.POST /api/device/devicepermissions
Request Parameters
UUID of the user
Grant superuser permissions
Grant content management permissions
Update Device Permission
Update existing device permissions.PATCH /api/device/devicepermissions/:id
Delete Device Permission
Revoke device permissions from a user.DELETE /api/device/devicepermissions/:id
Free Space
Check Free Space
Check available storage space for content.GET /api/device/freespace?path=Content
Query Parameters
Must be “Content” to check content storage space
Response
Free space in bytes
Path Permissions
Check Path Permissions
Check if a filesystem path is writable.GET /api/device/pathpermission
Query Parameters
Filesystem path to check (defaults to content directory)
Response
Whether the path is writable
Whether the path is a directory
Resolved absolute path
Device Restart
Get Restart Status
Check if Kolibri is running and can be restarted.GET /api/device/restart
Restart Device
Restart the Kolibri server.POST /api/device/restart
Drives
List Available Drives
Get information about mounted drives with Kolibri content.GET /api/device/driveinfo
Response
Returns an array of drive objects:Drive identifier
Drive name/label
Mount path
Free space in bytes
Array of channel objects available on this drive
Get Drive Info
Get information about a specific drive.GET /api/device/driveinfo/:id