Actions64
- 定时任务 Actions
- 订阅管理 Actions
- 环境变量 Actions
- 配置文件 Actions
- 脚本管理 Actions
- 依赖管理 Actions
- 日志管理 Actions
- 系统设置 Actions
Overview
This node integrates with the Qinglong Panel API, a task scheduling and environment management platform. It allows users to manage various resources such as cron jobs, subscriptions, environment variables, configuration files, scripts, dependencies, logs, and system settings through n8n workflows.
Specifically, for the "环境变量" (Environment Variable) resource and the "移动环境变量位置" (Move Environment Variable Position) operation, the node enables repositioning an environment variable within the list of environment variables. This can be useful when the order of environment variables affects execution or organization.
Practical examples:
- Reordering environment variables to prioritize certain configurations.
- Adjusting environment variable positions after adding or removing variables to maintain a desired sequence.
Properties
| Name | Meaning |
|---|---|
| 请求Body | JSON object specifying the move details with keys: fromIndex (original position:number), toIndex (target position:number). |
The property expects a JSON input describing which environment variable to move from one index to another.
Example value:
{
"fromIndex": "原位置:number",
"toIndex": "目标位置:number"
}
Output
The node outputs the result of the API call in the json.result field of the first item in the output array. The structure depends on the Qinglong API response for the move environment variable operation but generally includes confirmation of the move or updated environment variable list.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating with the Qinglong Panel API.
- The node uses internal helper functions to obtain tokens and make authenticated HTTP requests to Qinglong endpoints.
- No additional external services are required beyond Qinglong's API.
Troubleshooting
Common issues:
- Incorrect or missing API credentials will cause authentication failures.
- Providing invalid indices in the request body (e.g., out-of-range
fromIndexortoIndex) may lead to API errors. - Using unsupported operations or resources will throw errors indicating the operation is not implemented.
Error messages:
"任务模块的<operation>操作暂未实现"means the requested operation is not yet implemented for the selected resource.- Authentication errors typically indicate problems with the API key or token retrieval.
Resolution tips:
- Verify that the API key credential is correctly configured.
- Ensure the JSON body has valid numeric indices within the range of existing environment variables.
- Confirm the resource and operation names match supported values.
Links and References
- Qinglong Panel API documentation: https://qinglong.online/api/
- n8n documentation on creating custom nodes: https://docs.n8n.io/integrations/creating-nodes/
- Qinglong GitHub repository (for reference): https://github.com/whyour/qinglong