# Dragonfly Manager ## 概览 Dragonfly Manager Server ### 版本信息 *版本* : 1.0.0 ### 许可信息 *许可证* : Apache 2.0 *服务条款* : null ### URI scheme *域名* : localhost:8080 *基础路径* : /api/v1 ## 路径 ### Create Application ``` POST /api/v1/applications ``` #### 说明 create by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**Application**
*必填*|Application|[types.CreateApplicationRequest](#types-createapplicationrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Application](#model-application)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Application ### Get Applications ``` GET /api/v1/applications ``` #### 说明 Get Applications #### 参数 |类型|名称|说明|类型|默认值| |---|---|---|---|---| |**Query**|**page**
*必填*|current page|integer|`0`| |**Query**|**per_page**
*必填*|return max item count, default 10, max 50|integer|`10`| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|< [model.Application](#model-application) > array| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Application ### Get Application ``` GET /api/v1/applications/{id} ``` #### 说明 Get Application by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Application](#model-application)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Application ### Destroy Application ``` DELETE /api/v1/applications/{id} ``` #### 说明 Destroy by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Application ### Update Application ``` PATCH /api/v1/applications/{id} ``` #### 说明 Update by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Body**|**Application**
*必填*|Application|[types.UpdateApplicationRequest](#types-updateapplicationrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Application](#model-application)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Application ### Add CDN to Application ``` PUT /api/v1/applications/{id}/cdn-clusters/{cdn_cluster_id} ``` #### 说明 Add CDN to Application #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**cdn_cluster_id**
*必填*|cdn cluster id|string| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Application ### Delete CDN to Application ``` DELETE /api/v1/applications/{id}/cdn-clusters/{cdn_cluster_id} ``` #### 说明 Delete CDN to Application #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**cdn_cluster_id**
*必填*|cdn cluster id|string| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Application ### Add Scheduler to Application ``` PUT /api/v1/applications/{id}/scheduler-clusters/{scheduler_cluster_id} ``` #### 说明 Add Scheduler to Application #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Path**|**scheduler_cluster_id**
*必填*|scheduler cluster id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Application ### Delete Scheduler to Application ``` DELETE /api/v1/applications/{id}/scheduler-clusters/{scheduler_cluster_id} ``` #### 说明 Delete Scheduler to Application #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Path**|**scheduler_cluster_id**
*必填*|scheduler cluster id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Application ### Create CDNCluster ``` POST /api/v1/cdn-clusters ``` #### 说明 create by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**CDNCluster**
*必填*|DNCluster|[types.CreateCDNClusterRequest](#types-createcdnclusterrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.CDNCluster](#model-cdncluster)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * CDNCluster ### Get CDNClusters ``` GET /api/v1/cdn-clusters ``` #### 说明 Get CDNClusters #### 参数 |类型|名称|说明|类型|默认值| |---|---|---|---|---| |**Query**|**page**
*必填*|current page|integer|`0`| |**Query**|**per_page**
*必填*|return max item count, default 10, max 50|integer|`10`| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|< [model.CDNCluster](#model-cdncluster) > array| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * CDNCluster ### Get CDNCluster ``` GET /api/v1/cdn-clusters/{id} ``` #### 说明 Get CDNCluster by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.CDNCluster](#model-cdncluster)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * CDNCluster ### Destroy CDNCluster ``` DELETE /api/v1/cdn-clusters/{id} ``` #### 说明 Destroy by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * CDNCluster ### Update CDNCluster ``` PATCH /api/v1/cdn-clusters/{id} ``` #### 说明 Update by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Body**|**CDNCluster**
*必填*|CDNCluster|[types.UpdateCDNClusterRequest](#types-updatecdnclusterrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.CDNCluster](#model-cdncluster)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * CDNCluster ### Add Instance to CDNCluster ``` PUT /api/v1/cdn-clusters/{id}/cdns/{cdn_id} ``` #### 说明 Add CDN to CDNCluster #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**cdn_id**
*必填*|cdn id|string| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * CDNCluster ### Add SchedulerCluster to CDNCluster ``` PUT /api/v1/cdn-clusters/{id}/scheduler-clusters/{scheduler_cluster_id} ``` #### 说明 Add SchedulerCluster to CDNCluster #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Path**|**scheduler_cluster_id**
*必填*|scheduler cluster id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * CDNCluster ### Create CDN ``` POST /api/v1/cdns ``` #### 说明 create by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**CDN**
*必填*|CDN|[types.CreateCDNRequest](#types-createcdnrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.CDN](#model-cdn)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * CDN ### Get CDNs ``` GET /api/v1/cdns ``` #### 说明 Get CDNs #### 参数 |类型|名称|说明|类型|默认值| |---|---|---|---|---| |**Query**|**page**
*必填*|current page|integer|`0`| |**Query**|**per_page**
*必填*|return max item count, default 10, max 50|integer|`10`| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|< [model.CDN](#model-cdn) > array| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * CDN ### Get CDN ``` GET /api/v1/cdns/{id} ``` #### 说明 Get CDN by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.CDN](#model-cdn)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * CDN ### Destroy CDN ``` DELETE /api/v1/cdns/{id} ``` #### 说明 Destroy by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * CDN ### Update CDN ``` PATCH /api/v1/cdns/{id} ``` #### 说明 Update by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Body**|**CDN**
*必填*|CDN|[types.UpdateCDNRequest](#types-updatecdnrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.CDN](#model-cdn)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * CDN ### Create Config ``` POST /api/v1/configs ``` #### 说明 create by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**Config**
*必填*|Config|[types.CreateConfigRequest](#types-createconfigrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Config](#model-config)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Config ### Get Configs ``` GET /api/v1/configs ``` #### 说明 Get Configs #### 参数 |类型|名称|说明|类型|默认值| |---|---|---|---|---| |**Query**|**page**
*必填*|current page|integer|`0`| |**Query**|**per_page**
*必填*|return max item count, default 10, max 50|integer|`10`| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|< [model.Config](#model-config) > array| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Config ### Get Config ``` GET /api/v1/configs/{id} ``` #### 说明 Get Config by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Config](#model-config)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Config ### Destroy Config ``` DELETE /api/v1/configs/{id} ``` #### 说明 Destroy by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Config ### Update Config ``` PATCH /api/v1/configs/{id} ``` #### 说明 Update by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Body**|**Config**
*必填*|Config|[types.UpdateConfigRequest](#types-updateconfigrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Config](#model-config)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Config ### Get Health ``` GET /api/v1/healthy ``` #### 说明 Get app health #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Health ### Create Job ``` POST /api/v1/jobs ``` #### 说明 create by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**Job**
*必填*|Job|[types.CreateJobRequest](#types-createjobrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Job](#model-job)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Job ### Get Jobs ``` GET /api/v1/jobs ``` #### 说明 Get Jobs #### 参数 |类型|名称|说明|类型|默认值| |---|---|---|---|---| |**Query**|**page**
*必填*|current page|integer|`0`| |**Query**|**per_page**
*必填*|return max item count, default 10, max 50|integer|`10`| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|< [model.Job](#model-job) > array| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Job ### Get Job ``` GET /api/v1/jobs/{id} ``` #### 说明 Get Job by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Job](#model-job)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Job ### Destroy Job ``` DELETE /api/v1/jobs/{id} ``` #### 说明 Destroy by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Job ### Update Job ``` PATCH /api/v1/jobs/{id} ``` #### 说明 Update by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Body**|**Job**
*必填*|Job|[types.UpdateJobRequest](#types-updatejobrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Job](#model-job)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Job ### Create Oauth ``` POST /api/v1/oauth ``` #### 说明 create by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**Oauth**
*必填*|Oauth|[types.CreateOauthRequest](#types-createoauthrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Oauth](#model-oauth)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Oauth ### Get Oauths ``` GET /api/v1/oauth ``` #### 说明 Get Oauths #### 参数 |类型|名称|说明|类型|默认值| |---|---|---|---|---| |**Query**|**page**
*必填*|current page|integer|`0`| |**Query**|**per_page**
*必填*|return max item count, default 10, max 50|integer|`10`| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|< [model.Oauth](#model-oauth) > array| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Oauth ### Get Oauth ``` GET /api/v1/oauth/{id} ``` #### 说明 Get Oauth by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Oauth](#model-oauth)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Oauth ### Destroy Oauth ``` DELETE /api/v1/oauth/{id} ``` #### 说明 Destroy by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Oauth ### Update Oauth ``` PATCH /api/v1/oauth/{id} ``` #### 说明 Update by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Body**|**Oauth**
*必填*|Oauth|[types.UpdateOauthRequest](#types-updateoauthrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Oauth](#model-oauth)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Oauth ### Get Permissions ``` GET /api/v1/permissions ``` #### 说明 Get Permissions #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|< [rbac.Permission](#rbac-permission) > array| |**400**||无内容| |**500**||无内容| #### 生成 * `application/json` #### 标签 * Permission ### Create V1 Preheat ``` POST /api/v1/preheats ``` #### 说明 create by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**CDN**
*必填*|Preheat|[types.CreateV1PreheatRequest](#types-createv1preheatrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[types.CreateV1PreheatResponse](#types-createv1preheatresponse)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Preheat ### Get V1 Preheat ``` GET /api/v1/preheats/{id} ``` #### 说明 Get Preheat by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[types.GetV1PreheatResponse](#types-getv1preheatresponse)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Preheat ### Create Role ``` POST /api/v1/roles ``` #### 说明 Create Role by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**Role**
*必填*|Role|[types.CreateRoleRequest](#types-createrolerequest)| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Role ### Get Roles ``` GET /api/v1/roles ``` #### 说明 Get roles #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Role ### Get Role ``` GET /api/v1/roles/:role ``` #### 说明 Get Role #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**role**
*必填*|role|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Role ### Destroy Role ``` DELETE /api/v1/roles/:role ``` #### 说明 Destroy role by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**role**
*必填*|role|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Role ### Add Permission For Role ``` POST /api/v1/roles/:role/permissions ``` #### 说明 Add Permission by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**role**
*必填*|role|string| |**Body**|**Permission**
*必填*|Permission|[types.AddPermissionForRoleRequest](#types-addpermissionforrolerequest)| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Role ### Update Role ``` DELETE /api/v1/roles/:role/permissions ``` #### 说明 Remove Role Permission by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**role**
*必填*|role|string| |**Body**|**Permission**
*必填*|Permission|[types.DeletePermissionForRoleRequest](#types-deletepermissionforrolerequest)| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Role ### Create SchedulerCluster ``` POST /api/v1/scheduler-clusters ``` #### 说明 create by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**SchedulerCluster**
*必填*|SchedulerCluster|[types.CreateSchedulerClusterRequest](#types-createschedulerclusterrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.SchedulerCluster](#model-schedulercluster)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SchedulerCluster ### Get SchedulerClusters ``` GET /api/v1/scheduler-clusters ``` #### 说明 Get SchedulerClusters #### 参数 |类型|名称|说明|类型|默认值| |---|---|---|---|---| |**Query**|**page**
*必填*|current page|integer|`0`| |**Query**|**per_page**
*必填*|return max item count, default 10, max 50|integer|`10`| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|< [model.SchedulerCluster](#model-schedulercluster) > array| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SchedulerCluster ### Get SchedulerCluster ``` GET /api/v1/scheduler-clusters/{id} ``` #### 说明 Get SchedulerCluster by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.SchedulerCluster](#model-schedulercluster)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SchedulerCluster ### Destroy SchedulerCluster ``` DELETE /api/v1/scheduler-clusters/{id} ``` #### 说明 Destroy by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SchedulerCluster ### Update SchedulerCluster ``` PATCH /api/v1/scheduler-clusters/{id} ``` #### 说明 Update by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Body**|**SchedulerCluster**
*必填*|SchedulerCluster|[types.UpdateSchedulerClusterRequest](#types-updateschedulerclusterrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.SchedulerCluster](#model-schedulercluster)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SchedulerCluster ### Add Scheduler to schedulerCluster ``` PUT /api/v1/scheduler-clusters/{id}/schedulers/{scheduler_id} ``` #### 说明 Add Scheduler to schedulerCluster #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Path**|**scheduler_id**
*必填*|scheduler id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SchedulerCluster ### Create Scheduler ``` POST /api/v1/schedulers ``` #### 说明 create by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**Scheduler**
*必填*|Scheduler|[types.CreateSchedulerRequest](#types-createschedulerrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Scheduler](#model-scheduler)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Scheduler ### Get Schedulers ``` GET /api/v1/schedulers ``` #### 说明 Get Schedulers #### 参数 |类型|名称|说明|类型|默认值| |---|---|---|---|---| |**Query**|**page**
*必填*|current page|integer|`0`| |**Query**|**per_page**
*必填*|return max item count, default 10, max 50|integer|`10`| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|< [model.Scheduler](#model-scheduler) > array| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Scheduler ### Get Scheduler ``` GET /api/v1/schedulers/{id} ``` #### 说明 Get Scheduler by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Scheduler](#model-scheduler)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Scheduler ### Destroy Scheduler ``` DELETE /api/v1/schedulers/{id} ``` #### 说明 Destroy by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Scheduler ### Update Scheduler ``` PATCH /api/v1/schedulers/{id} ``` #### 说明 Update by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Body**|**Scheduler**
*必填*|Scheduler|[types.UpdateSchedulerRequest](#types-updateschedulerrequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.Scheduler](#model-scheduler)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Scheduler ### Create SecurityGroup ``` POST /api/v1/security-groups ``` #### 说明 create by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**SecurityGroup**
*必填*|SecurityGroup|[types.CreateSecurityGroupRequest](#types-createsecuritygrouprequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.SecurityGroup](#model-securitygroup)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityGroup ### Get SecurityGroups ``` GET /api/v1/security-groups ``` #### 说明 Get SecurityGroups #### 参数 |类型|名称|说明|类型|默认值| |---|---|---|---|---| |**Query**|**page**
*必填*|current page|integer|`0`| |**Query**|**per_page**
*必填*|return max item count, default 10, max 50|integer|`10`| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|< [model.SecurityGroup](#model-securitygroup) > array| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityGroup ### Get SecurityGroup ``` GET /api/v1/security-groups/{id} ``` #### 说明 Get SecurityGroup by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.SecurityGroup](#model-securitygroup)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityGroup ### Update SecurityGroup ``` PATCH /api/v1/security-groups/{id} ``` #### 说明 Update by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Body**|**SecurityGroup**
*必填*|SecurityGroup|[types.UpdateSecurityGroupRequest](#types-updatesecuritygrouprequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.SecurityGroup](#model-securitygroup)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityGroup ### Add CDN to SecurityGroup ``` PUT /api/v1/security-groups/{id}/cdn-clusters/{cdn_cluster_id} ``` #### 说明 Add CDN to SecurityGroup #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**cdn_cluster_id**
*必填*|cdn cluster id|string| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityGroup ### Add Scheduler to SecurityGroup ``` PUT /api/v1/security-groups/{id}/scheduler-clusters/{scheduler_cluster_id} ``` #### 说明 Add Scheduler to SecurityGroup #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Path**|**scheduler_cluster_id**
*必填*|scheduler cluster id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityGroup ### Add SecurityRule to SecurityGroup ``` PUT /api/v1/security-groups/{id}/security-rules/{security_rule_id} ``` #### 说明 Add SecurityRule to SecurityGroup #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Path**|**security_rule_id**
*必填*|security rule id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityGroup ### Destroy SecurityRule to SecurityGroup ``` DELETE /api/v1/security-groups/{id}/security-rules/{security_rule_id} ``` #### 说明 Destroy SecurityRule to SecurityGroup #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Path**|**security_rule_id**
*必填*|security rule id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityGroup ### Create SecurityRule ``` POST /api/v1/security-rules ``` #### 说明 create by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**SecurityRule**
*必填*|SecurityRule|[types.CreateSecurityRuleRequest](#types-createsecurityrulerequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.SecurityRule](#model-securityrule)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityRule ### Get SecurityRules ``` GET /api/v1/security-rules ``` #### 说明 Get SecurityRules #### 参数 |类型|名称|说明|类型|默认值| |---|---|---|---|---| |**Query**|**page**
*必填*|current page|integer|`0`| |**Query**|**per_page**
*必填*|return max item count, default 10, max 50|integer|`10`| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|< [model.SecurityRule](#model-securityrule) > array| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityRule ### Get SecurityRule ``` GET /api/v1/security-rules/{id} ``` #### 说明 Get SecurityRule by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.SecurityRule](#model-securityrule)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityRule ### Update SecurityRule ``` PATCH /api/v1/security-rules/{id} ``` #### 说明 Update by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Body**|**SecurityRule**
*必填*|SecurityRule|[types.UpdateSecurityRuleRequest](#types-updatesecurityrulerequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.SecurityRule](#model-securityrule)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityRule ### Destroy SecurityGroup ``` DELETE /api/v1/securityGroups/{id} ``` #### 说明 Destroy by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityGroup ### Destroy SecurityRule ``` DELETE /api/v1/securityRules/{id} ``` #### 说明 Destroy by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * SecurityRule ### Oauth Signin ``` GET /api/v1/user/signin/{name} ``` #### 说明 oauth signin by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**name**
*必填*|name|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * User ### Oauth Signin Callback ``` GET /api/v1/user/signin/{name}/callback ``` #### 说明 oauth signin callback by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**name**
*必填*|name|string| |**Query**|**code**
*必填*|code|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**404**|无内容| |**500**|无内容| #### 标签 * Oauth ### SignUp user ``` POST /api/v1/user/signup ``` #### 说明 signup by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**User**
*必填*|User|[types.SignUpRequest](#types-signuprequest)| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.User](#model-user)| |**400**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * User ### Get Users ``` GET /api/v1/users ``` #### 说明 Get Users #### 参数 |类型|名称|说明|类型|默认值| |---|---|---|---|---| |**Query**|**page**
*必填*|current page|integer|`0`| |**Query**|**per_page**
*必填*|return max item count, default 10, max 50|integer|`10`| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|< [model.CDN](#model-cdn) > array| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * CDN ### Get User ``` GET /api/v1/users/{id} ``` #### 说明 Get User by id #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|[model.User](#model-user)| |**400**||无内容| |**404**||无内容| |**500**||无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * User ### Reset Password For User ``` POST /api/v1/users/{id}/reset_password ``` #### 说明 reset password by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Body**|**User**
*必填*|User|[types.ResetPasswordRequest](#types-resetpasswordrequest)| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * User ### Get User Roles ``` GET /api/v1/users/{id}/roles ``` #### 说明 get roles by json config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| #### 响应 |HTTP代码|说明|类型| |---|---|---| |**200**|OK|< string > array| |**400**||无内容| |**500**||无内容| #### 生成 * `application/json` #### 标签 * User ### Add Role For User ``` PUT /api/v1/users/{id}/roles/{role} ``` #### 说明 add role to user by uri config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Path**|**role**
*必填*|role|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Users ### Delete Role For User ``` DELETE /api/v1/users/{id}/roles/{role} ``` #### 说明 delete role by uri config #### 参数 |类型|名称|说明|类型| |---|---|---|---| |**Path**|**id**
*必填*|id|string| |**Path**|**role**
*必填*|role|string| #### 响应 |HTTP代码|类型| |---|---| |**200**|无内容| |**400**|无内容| |**500**|无内容| #### 消耗 * `application/json` #### 生成 * `application/json` #### 标签 * Users ## 定义 ### model.Application |名称|类型| |---|---| |**bio**
*可选*|string| |**created_at**
*可选*|string| |**download_rate_limit**
*可选*|integer| |**id**
*可选*|integer| |**name**
*可选*|string| |**state**
*可选*|string| |**updated_at**
*可选*|string| |**url**
*可选*|string| |**user_id**
*可选*|integer| ### model.CDN |名称|类型| |---|---| |**cdnclusterID**
*可选*|integer| |**created_at**
*可选*|string| |**download_port**
*可选*|integer| |**host_name**
*可选*|string| |**id**
*可选*|integer| |**idc**
*可选*|string| |**ip**
*可选*|string| |**location**
*可选*|string| |**port**
*可选*|integer| |**state**
*可选*|string| |**updated_at**
*可选*|string| ### model.CDNCluster |名称|类型| |---|---| |**application_id**
*可选*|integer| |**bio**
*可选*|string| |**config**
*可选*|[model.JSONMap](#model-jsonmap)| |**created_at**
*可选*|string| |**id**
*可选*|integer| |**is_default**
*可选*|boolean| |**jobs**
*可选*|< [model.Job](#model-job) > array| |**name**
*可选*|string| |**scheduler_clusters**
*可选*|< [model.SchedulerCluster](#model-schedulercluster) > array| |**security_group_id**
*可选*|integer| |**updated_at**
*可选*|string| ### model.Config |名称|类型| |---|---| |**bio**
*可选*|string| |**created_at**
*可选*|string| |**id**
*可选*|integer| |**name**
*可选*|string| |**updated_at**
*可选*|string| |**user_id**
*可选*|integer| |**value**
*可选*|string| ### model.JSONMap *类型* : object ### model.Job |名称|类型| |---|---| |**args**
*可选*|[model.JSONMap](#model-jsonmap)| |**bio**
*可选*|string| |**cdn_clusters**
*可选*|< [model.CDNCluster](#model-cdncluster) > array| |**created_at**
*可选*|string| |**id**
*可选*|integer| |**result**
*可选*|[model.JSONMap](#model-jsonmap)| |**scheduler_clusters**
*可选*|< [model.SchedulerCluster](#model-schedulercluster) > array| |**state**
*可选*|string| |**task_id**
*可选*|string| |**type**
*可选*|string| |**updated_at**
*可选*|string| |**user_id**
*可选*|integer| ### model.Oauth |名称|类型| |---|---| |**bio**
*可选*|string| |**client_id**
*可选*|string| |**client_secret**
*可选*|string| |**created_at**
*可选*|string| |**id**
*可选*|integer| |**name**
*可选*|string| |**redirect_url**
*可选*|string| |**updated_at**
*可选*|string| ### model.Scheduler |名称|类型| |---|---| |**created_at**
*可选*|string| |**host_name**
*可选*|string| |**id**
*可选*|integer| |**idc**
*可选*|string| |**ip**
*可选*|string| |**location**
*可选*|string| |**net_config**
*可选*|[model.JSONMap](#model-jsonmap)| |**port**
*可选*|integer| |**schedulerClusterID**
*可选*|integer| |**state**
*可选*|string| |**updated_at**
*可选*|string| |**vips**
*可选*|string| ### model.SchedulerCluster |名称|类型| |---|---| |**application_id**
*可选*|integer| |**bio**
*可选*|string| |**cdn_clusters**
*可选*|< [model.CDNCluster](#model-cdncluster) > array| |**client_config**
*可选*|[model.JSONMap](#model-jsonmap)| |**config**
*可选*|[model.JSONMap](#model-jsonmap)| |**created_at**
*可选*|string| |**id**
*可选*|integer| |**is_default**
*可选*|boolean| |**jobs**
*可选*|< [model.Job](#model-job) > array| |**name**
*可选*|string| |**scopes**
*可选*|[model.JSONMap](#model-jsonmap)| |**security_group_id**
*可选*|integer| |**updated_at**
*可选*|string| ### model.SecurityGroup |名称|类型| |---|---| |**bio**
*可选*|string| |**created_at**
*可选*|string| |**id**
*可选*|integer| |**name**
*可选*|string| |**security_rules**
*可选*|< [model.SecurityRule](#model-securityrule) > array| |**updated_at**
*可选*|string| ### model.SecurityRule |名称|类型| |---|---| |**bio**
*可选*|string| |**created_at**
*可选*|string| |**domain**
*可选*|string| |**id**
*可选*|integer| |**name**
*可选*|string| |**proxy_domain**
*可选*|string| |**security_groups**
*可选*|< [model.SecurityGroup](#model-securitygroup) > array| |**updated_at**
*可选*|string| ### model.User |名称|类型| |---|---| |**avatar**
*可选*|string| |**bio**
*可选*|string| |**created_at**
*可选*|string| |**email**
*可选*|string| |**id**
*可选*|integer| |**location**
*可选*|string| |**name**
*可选*|string| |**phone**
*可选*|string| |**state**
*可选*|string| |**updated_at**
*可选*|string| ### rbac.Permission |名称|类型| |---|---| |**action**
*必填*|string| |**object**
*必填*|string| ### types.AddPermissionForRoleRequest |名称|类型| |---|---| |**action**
*必填*|string| |**object**
*必填*|string| ### types.CDNClusterConfig |名称|类型| |---|---| |**load_limit**
*可选*|integer| |**net_topology**
*可选*|string| ### types.CreateApplicationRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**download_rate_limit**
*可选*|integer| |**name**
*必填*|string| |**state**
*可选*|string| |**url**
*可选*|string| |**user_id**
*必填*|integer| ### types.CreateCDNClusterRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**config**
*必填*|[types.CDNClusterConfig](#types-cdnclusterconfig)| |**is_default**
*可选*|boolean| |**name**
*必填*|string| ### types.CreateCDNRequest |名称|类型| |---|---| |**cdn_cluster_id**
*必填*|integer| |**download_port**
*必填*|integer| |**host_name**
*必填*|string| |**idc**
*必填*|string| |**ip**
*必填*|string| |**location**
*可选*|string| |**port**
*必填*|integer| ### types.CreateConfigRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**name**
*必填*|string| |**user_id**
*必填*|integer| |**value**
*必填*|string| ### types.CreateJobRequest |名称|类型| |---|---| |**args**
*可选*|object| |**bio**
*可选*|string| |**cdn_cluster_ids**
*可选*|< integer > array| |**result**
*可选*|object| |**scheduler_cluster_ids**
*可选*|< integer > array| |**type**
*必填*|string| |**user_id**
*可选*|integer| ### types.CreateOauthRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**client_id**
*必填*|string| |**client_secret**
*必填*|string| |**name**
*必填*|string| |**redirect_url**
*可选*|string| ### types.CreateRoleRequest |名称|类型| |---|---| |**permissions**
*必填*|< [rbac.Permission](#rbac-permission) > array| |**role**
*必填*|string| ### types.CreateSchedulerClusterRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**cdn_cluster_id**
*可选*|integer| |**client_config**
*必填*|[types.SchedulerClusterClientConfig](#types-schedulerclusterclientconfig)| |**config**
*必填*|[types.SchedulerClusterConfig](#types-schedulerclusterconfig)| |**is_default**
*可选*|boolean| |**name**
*必填*|string| |**scopes**
*可选*|[types.SchedulerClusterScopes](#types-schedulerclusterscopes)| ### types.CreateSchedulerRequest |名称|类型| |---|---| |**host_name**
*必填*|string| |**idc**
*必填*|string| |**ip**
*必填*|string| |**location**
*可选*|string| |**net_config**
*可选*|object| |**port**
*必填*|integer| |**scheduler_cluster_id**
*必填*|integer| |**vips**
*可选*|string| ### types.CreateSecurityGroupRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**name**
*必填*|string| ### types.CreateSecurityRuleRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**domain**
*必填*|string| |**name**
*必填*|string| |**proxy_domain**
*可选*|string| ### types.CreateV1PreheatRequest |名称|类型| |---|---| |**filter**
*可选*|string| |**headers**
*可选*|< string, string > map| |**type**
*必填*|string| |**url**
*必填*|string| ### types.CreateV1PreheatResponse |名称|类型| |---|---| |**id**
*可选*|string| ### types.DeletePermissionForRoleRequest |名称|类型| |---|---| |**action**
*必填*|string| |**object**
*必填*|string| ### types.GetV1PreheatResponse |名称|类型| |---|---| |**finishTime**
*可选*|string| |**id**
*可选*|string| |**startTime**
*可选*|string| |**status**
*可选*|string| ### types.ResetPasswordRequest |名称|类型| |---|---| |**new_password**
*必填*|string| |**old_password**
*必填*|string| ### types.SchedulerClusterClientConfig |名称|类型| |---|---| |**load_limit**
*可选*|integer| ### types.SchedulerClusterConfig *类型* : object ### types.SchedulerClusterScopes *类型* : object ### types.SignUpRequest |名称|类型| |---|---| |**avatar**
*可选*|string| |**bio**
*可选*|string| |**email**
*必填*|string| |**location**
*可选*|string| |**name**
*必填*|string| |**password**
*必填*|string| |**phone**
*可选*|string| ### types.UpdateApplicationRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**download_rate_limit**
*可选*|integer| |**name**
*可选*|string| |**state**
*可选*|string| |**url**
*可选*|string| |**user_id**
*必填*|integer| ### types.UpdateCDNClusterRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**config**
*可选*|[types.CDNClusterConfig](#types-cdnclusterconfig)| |**is_default**
*可选*|boolean| |**name**
*可选*|string| ### types.UpdateCDNRequest |名称|类型| |---|---| |**cdn_cluster_id**
*可选*|integer| |**download_port**
*可选*|integer| |**idc**
*可选*|string| |**ip**
*可选*|string| |**location**
*可选*|string| |**port**
*可选*|integer| ### types.UpdateConfigRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**name**
*可选*|string| |**user_id**
*可选*|integer| |**value**
*可选*|string| ### types.UpdateJobRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**user_id**
*可选*|integer| ### types.UpdateOauthRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**client_id**
*可选*|string| |**client_secret**
*可选*|string| |**name**
*可选*|string| |**redirect_url**
*可选*|string| ### types.UpdateSchedulerClusterRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**cdn_cluster_id**
*可选*|integer| |**client_config**
*可选*|[types.SchedulerClusterClientConfig](#types-schedulerclusterclientconfig)| |**config**
*可选*|[types.SchedulerClusterConfig](#types-schedulerclusterconfig)| |**is_default**
*可选*|boolean| |**name**
*可选*|string| |**scopes**
*可选*|[types.SchedulerClusterScopes](#types-schedulerclusterscopes)| ### types.UpdateSchedulerRequest |名称|类型| |---|---| |**idc**
*可选*|string| |**ip**
*可选*|string| |**location**
*可选*|string| |**net_config**
*可选*|object| |**port**
*可选*|integer| |**scheduler_cluster_id**
*可选*|integer| |**scheduler_id**
*可选*|integer| |**vips**
*可选*|string| ### types.UpdateSecurityGroupRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**name**
*可选*|string| ### types.UpdateSecurityRuleRequest |名称|类型| |---|---| |**bio**
*可选*|string| |**domain**
*可选*|string| |**name**
*可选*|string| |**proxy_domain**
*可选*|string|