Actions64
- 定时任务 Actions
- 订阅管理 Actions
- 环境变量 Actions
- 配置文件 Actions
- 脚本管理 Actions
- 依赖管理 Actions
- 日志管理 Actions
- 系统设置 Actions
Overview
This node integrates with the QingLong panel API to manage dependencies in an automated workflow. Specifically, for the "依赖管理" (Dependency Management) resource and the "创建依赖" (Create Dependency) operation, it allows users to create new dependencies of various types such as Node.js, Python3, or Linux packages.
Typical use cases include automating the installation or registration of software dependencies required by scripts or tasks managed within the QingLong environment. For example, a user can automate adding a new Node.js package dependency before running a scheduled script that requires it.
Properties
| Name | Meaning |
|---|---|
| 类型 | The type of dependency to create. Options: nodejs, python3, linux. |
| 请求Body | JSON body containing details of the dependency to create. Example structure: |
| ```json | |
| [ | |
| { | |
| "name": "依赖名称:string", | |
| "type": "依赖类型:number", | |
| "remark": "备注(可选):string" | |
| } | |
| ] | |
| This includes the dependency name, its type as a number, and an optional remark. |
Output
The node outputs the result of the API call in the json field under result. This typically contains the response from the QingLong API about the created dependency, such as confirmation details or error messages.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential configured in n8n to authenticate requests to the QingLong panel API.
- The node depends on the QingLong API being accessible and properly configured to accept dependency management requests.
- No additional external services are required beyond the QingLong API.
Troubleshooting
- Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Incorrectly formatted JSON in the "请求Body" property may lead to request errors.
- Specifying an unsupported dependency type or invalid parameters may cause the API to reject the request.
- Error messages:
- Errors thrown by the node indicate unimplemented operations if the selected operation/resource combination is not supported.
- API errors returned from QingLong will be included in the node's output; check these for specific failure reasons.
- Resolution tips:
- Ensure the API key credential is valid and has necessary permissions.
- Validate JSON input format carefully.
- Confirm the dependency type matches one of the allowed options (
nodejs,python3,linux).
Links and References
- QingLong API documentation: https://qinglong.online/api/
- QingLong project homepage: https://qinglong.online/