青龙面板[Qinglong] icon

青龙面板[Qinglong]

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

Overview

This node integrates with the QingLong panel API, a platform for managing scheduled tasks and scripts. Specifically, the "脚本管理" (Script Management) resource with the "获取脚本列表" (Get Script List) operation allows users to retrieve a list of scripts from a specified script path on the QingLong server.

Common scenarios where this node is beneficial include:

  • Automating retrieval of available scripts in a given directory on QingLong.
  • Integrating script management into broader workflows, such as triggering actions based on available scripts.
  • Monitoring or auditing scripts stored on QingLong by fetching their metadata.

Practical example:

  • A user wants to get all scripts under a certain folder path to decide which scripts to run or update next in an automated pipeline.

Properties

Name Meaning
脚本路径 (scriptPath) The directory path on QingLong where scripts are located. This is required to specify which folder's scripts to list.

Note: The "文件名" (scriptFile) property exists but is hidden for the "获取脚本列表" operation and thus not applicable here.

Output

The node outputs JSON data under the json.result field containing the response from the QingLong API endpoint /open/scripts. This typically includes an array or list of script metadata objects found at the specified script path.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the QingLong API.
  • The node calls the QingLong API endpoint /open/scripts with HTTP GET method.
  • The environment must have network access to the QingLong server API.

Troubleshooting

  • Common issues:

    • Incorrect or missing script path (scriptPath) parameter will result in no or error responses.
    • Authentication failures if the API key credential is invalid or expired.
    • Network connectivity issues to the QingLong API server.
  • Error messages:

    • If the operation is not implemented or unsupported, the node throws an error indicating the operation is not yet implemented.
    • API errors from QingLong (e.g., 401 Unauthorized, 404 Not Found) will be surfaced as node errors.
  • Resolutions:

    • Verify the scriptPath input is correct and accessible on the QingLong server.
    • Ensure the API key credential is valid and has necessary permissions.
    • Check network connectivity and firewall settings.

Links and References

Discussion