青龙面板[Qinglong] icon

青龙面板[Qinglong]

青龙面板计划任务节点.详细API请参考:https://qinglong.online/api/

Overview

This node integrates with the QingLong Panel API, a task scheduling and management platform. It allows users to manage various resources such as crontabs, subscriptions, environment variables, configuration files, scripts, dependencies, logs, and system settings through n8n workflows.

Specifically, for the resource 依赖管理 (Dependency Management) and operation 获取依赖列表 (Get Dependency List), the node fetches a list of dependencies filtered by type (e.g., nodejs, python3, linux). This is useful for automating the monitoring and management of software dependencies in QingLong, ensuring that required packages or modules are tracked and managed efficiently.

Practical examples:

  • Automatically retrieve and monitor installed Node.js dependencies on QingLong-managed environments.
  • Fetch Python3 package dependencies to verify versions or trigger updates.
  • List Linux system dependencies to audit or automate maintenance tasks.

Properties

Name Meaning
类型 依赖类型。可选值包括:nodejs、python3、linux,分别对应不同的依赖环境或语言。

Output

The node outputs JSON data under the json.result field containing the response from the QingLong API for the requested dependency list. The structure typically includes an array of dependency objects, each with details such as name, id, version, status, etc., depending on the QingLong API response.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the QingLong Panel API.
  • The node uses internal helper functions to obtain authentication tokens and make HTTP requests to QingLong endpoints.
  • No additional external services beyond QingLong API are needed.

Troubleshooting

  • Common issues:

    • Invalid or expired API credentials will cause authentication failures.
    • Requesting unsupported operations or resource types will throw errors indicating the operation is not implemented.
    • Network connectivity issues may prevent successful API calls.
  • Error messages:

    • "任务模块的<operation>操作暂未实现" means the requested operation is not yet implemented in the node.
    • Authentication errors usually indicate invalid or missing API credentials.
  • Resolutions:

    • Verify and update the API key credential used by the node.
    • Confirm the selected resource and operation are supported.
    • Check network access to the QingLong API endpoint.

Links and References

Discussion