Actions64
- 定时任务 Actions
- 订阅管理 Actions
- 环境变量 Actions
- 配置文件 Actions
- 脚本管理 Actions
- 依赖管理 Actions
- 日志管理 Actions
- 系统设置 Actions
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/scriptswith 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.
- Incorrect or missing script path (
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
scriptPathinput 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.
- Verify the
Links and References
- QingLong API documentation: https://qinglong.online/api/
- QingLong project homepage: https://qinglong.online/