list_versions
Retrieve version history for a Nextcloud file using its file ID. Get details like version ID, last modified, size, author, and label for each version.
Instructions
List versions of a file by its file ID.
Returns the version history. Use the file_id from list_directory or search_files results.
Args: file_id: The numeric Nextcloud file ID. limit: Maximum number of versions to return (1-200, default 50). offset: Number of versions to skip for pagination (default 0).
Returns: JSON with "data" (list of versions with version_id, last_modified, size, content_type, author, label) and "pagination" (count, offset, limit, has_more).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| file_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |