青龙面板[Qinglong] icon

青龙面板[Qinglong]

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

Overview

This node integrates with the QingLong panel API to manage various resources related to automation tasks, including dependency management. Specifically, for the "依赖管理" (Dependency Management) resource and the "删除依赖" (Delete Dependency) operation, the node allows users to delete one or more dependencies of a specified type (e.g., nodejs, python3, linux) from the QingLong environment.

Common scenarios where this node is beneficial include:

  • Automating cleanup of unused or outdated dependencies in QingLong.
  • Managing dependencies programmatically as part of CI/CD pipelines or scheduled workflows.
  • Maintaining system hygiene by removing unnecessary packages without manual intervention.

Practical example:

  • A user wants to remove several Node.js dependencies that are no longer needed. They select the "依赖管理" resource, choose the "删除依赖" operation, specify the type as "nodejs", and select the dependencies to delete. The node then calls the QingLong API to delete these dependencies.

Properties

Name Meaning
类型 依赖类型。Options: nodejs, python3, linux. Specifies which type of dependencies to operate on.
依赖列表【可多选】 依赖列表,支持多选。The list of dependencies to delete, loaded dynamically based on the selected type.

Output

The node outputs the JSON response from the QingLong API under the field json.result. This typically contains the result of the delete operation, such as success status or error messages returned by the API.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the QingLong API.
  • The node uses the QingLong API endpoints under /open/dependencies to perform operations.
  • Proper configuration of the QingLong API credentials in n8n is necessary.

Troubleshooting

  • Common issues:

    • Invalid or expired API token: Ensure the API key credential is valid and has not expired.
    • Selecting dependencies that do not exist or have already been deleted may cause errors.
    • Network connectivity issues to the QingLong server can cause request failures.
  • Error messages:

    • "任务模块的<operation>操作暂未实现" ("The operation of the task module is not yet implemented"): Indicates the requested operation is not supported; verify the operation name.
    • API errors returned from QingLong will be passed through; check the message for details like permission denied or invalid parameters.
  • Resolution:

    • Verify the selected dependency IDs and types are correct.
    • Check API credentials and network access.
    • Confirm the QingLong server is reachable and operational.

Links and References

Discussion