SiYuan icon

SiYuan

Manage SiYuan notebooks, documents, blocks, attributes, and more. Designed for AI agent workflows.

System → Get Version

AI-generated

Overview

This node interacts with the SiYuan system to perform various system-related operations, including retrieving the system version. It is useful for workflows that need to check or log the current version of the SiYuan system, ensuring compatibility or for monitoring purposes.

Use Case Examples

  1. A user wants to automate the retrieval of the SiYuan system version to verify that the environment is up to date before running other automation tasks.
  2. A workflow that logs system information including the SiYuan version for audit or debugging purposes.

Output

JSON

  • version - The current version of the SiYuan system retrieved from the API

Dependencies

  • Requires SiYuan API URL and API token credentials for authentication.

Troubleshooting

  • If the API URL or token is missing or incorrect, the node will throw an error indicating that these credentials are required.
  • Unsupported resource or operation errors occur if the resource or operation parameters are invalid or not implemented.
  • Errors from the SiYuan API are formatted and returned if 'continueOnFail' is enabled, allowing the workflow to handle failures gracefully.

Links

Discussion