Dragonfly Manager Server
Version : 1.0.0
License : Apache 2.0
Terms of service : null
Host : localhost:8080
BasePath : /api/v1
POST /api/v1/applications
create by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | Application required |
Application | types.CreateApplicationRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Application |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Application
GET /api/v1/applications
Get Applications
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | page required |
current page | integer | 0 |
Query | per_page required |
return max item count, default 10, max 50 | integer | 10 |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < model.Application > array |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Application
GET /api/v1/applications/{id}
Get Application by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Application |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Application
DELETE /api/v1/applications/{id}
Destroy by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- Application
PATCH /api/v1/applications/{id}
Update by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Body | Application required |
Application | types.UpdateApplicationRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Application |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Application
PUT /api/v1/applications/{id}/cdn-clusters/{cdn_cluster_id}
Add CDN to Application
Type | Name | Description | Schema |
---|---|---|---|
Path | cdn_cluster_id required |
cdn cluster id | string |
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- Application
DELETE /api/v1/applications/{id}/cdn-clusters/{cdn_cluster_id}
Delete CDN to Application
Type | Name | Description | Schema |
---|---|---|---|
Path | cdn_cluster_id required |
cdn cluster id | string |
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- Application
PUT /api/v1/applications/{id}/scheduler-clusters/{scheduler_cluster_id}
Add Scheduler to Application
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Path | scheduler_cluster_id required |
scheduler cluster id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- Application
DELETE /api/v1/applications/{id}/scheduler-clusters/{scheduler_cluster_id}
Delete Scheduler to Application
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Path | scheduler_cluster_id required |
scheduler cluster id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- Application
POST /api/v1/cdn-clusters
create by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | CDNCluster required |
DNCluster | types.CreateCDNClusterRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.CDNCluster |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- CDNCluster
GET /api/v1/cdn-clusters
Get CDNClusters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | page required |
current page | integer | 0 |
Query | per_page required |
return max item count, default 10, max 50 | integer | 10 |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < model.CDNCluster > array |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- CDNCluster
GET /api/v1/cdn-clusters/{id}
Get CDNCluster by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.CDNCluster |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- CDNCluster
DELETE /api/v1/cdn-clusters/{id}
Destroy by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- CDNCluster
PATCH /api/v1/cdn-clusters/{id}
Update by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Body | CDNCluster required |
CDNCluster | types.UpdateCDNClusterRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.CDNCluster |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- CDNCluster
PUT /api/v1/cdn-clusters/{id}/cdns/{cdn_id}
Add CDN to CDNCluster
Type | Name | Description | Schema |
---|---|---|---|
Path | cdn_id required |
cdn id | string |
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- CDNCluster
PUT /api/v1/cdn-clusters/{id}/scheduler-clusters/{scheduler_cluster_id}
Add SchedulerCluster to CDNCluster
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Path | scheduler_cluster_id required |
scheduler cluster id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- CDNCluster
POST /api/v1/cdns
create by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | CDN required |
CDN | types.CreateCDNRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.CDN |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- CDN
GET /api/v1/cdns
Get CDNs
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | page required |
current page | integer | 0 |
Query | per_page required |
return max item count, default 10, max 50 | integer | 10 |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < model.CDN > array |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- CDN
GET /api/v1/cdns/{id}
Get CDN by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.CDN |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- CDN
DELETE /api/v1/cdns/{id}
Destroy by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- CDN
PATCH /api/v1/cdns/{id}
Update by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Body | CDN required |
CDN | types.UpdateCDNRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.CDN |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- CDN
POST /api/v1/configs
create by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | Config required |
Config | types.CreateConfigRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Config |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Config
GET /api/v1/configs
Get Configs
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | page required |
current page | integer | 0 |
Query | per_page required |
return max item count, default 10, max 50 | integer | 10 |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < model.Config > array |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Config
GET /api/v1/configs/{id}
Get Config by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Config |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Config
DELETE /api/v1/configs/{id}
Destroy by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- Config
PATCH /api/v1/configs/{id}
Update by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Body | Config required |
Config | types.UpdateConfigRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Config |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Config
GET /api/v1/healthy
Get app health
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- Health
POST /api/v1/jobs
create by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | Job required |
Job | types.CreateJobRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Job |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Job
GET /api/v1/jobs
Get Jobs
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | page required |
current page | integer | 0 |
Query | per_page required |
return max item count, default 10, max 50 | integer | 10 |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < model.Job > array |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Job
GET /api/v1/jobs/{id}
Get Job by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Job |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Job
DELETE /api/v1/jobs/{id}
Destroy by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- Job
PATCH /api/v1/jobs/{id}
Update by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Body | Job required |
Job | types.UpdateJobRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Job |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Job
POST /api/v1/oauth
create by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | Oauth required |
Oauth | types.CreateOauthRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Oauth |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Oauth
GET /api/v1/oauth
Get Oauths
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | page required |
current page | integer | 0 |
Query | per_page required |
return max item count, default 10, max 50 | integer | 10 |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < model.Oauth > array |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Oauth
GET /api/v1/oauth/{id}
Get Oauth by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Oauth |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Oauth
DELETE /api/v1/oauth/{id}
Destroy by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- Oauth
PATCH /api/v1/oauth/{id}
Update by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Body | Oauth required |
Oauth | types.UpdateOauthRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Oauth |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Oauth
GET /api/v1/permissions
Get Permissions
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < rbac.Permission > array |
400 | No Content | |
500 | No Content |
application/json
- Permission
POST /api/v1/preheats
create by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | CDN required |
Preheat | types.CreateV1PreheatRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | types.CreateV1PreheatResponse |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Preheat
GET /api/v1/preheats/{id}
Get Preheat by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | types.GetV1PreheatResponse |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Preheat
POST /api/v1/roles
Create Role by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | Role required |
Role | types.CreateRoleRequest |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
500 | No Content |
application/json
application/json
- Role
GET /api/v1/roles
Get roles
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
500 | No Content |
application/json
application/json
- Role
GET /api/v1/roles/:role
Get Role
Type | Name | Description | Schema |
---|---|---|---|
Path | role required |
role | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
500 | No Content |
application/json
application/json
- Role
DELETE /api/v1/roles/:role
Destroy role by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | role required |
role | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
500 | No Content |
application/json
application/json
- Role
POST /api/v1/roles/:role/permissions
Add Permission by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | role required |
role | string |
Body | Permission required |
Permission | types.AddPermissionForRoleRequest |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
500 | No Content |
application/json
application/json
- Role
DELETE /api/v1/roles/:role/permissions
Remove Role Permission by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | role required |
role | string |
Body | Permission required |
Permission | types.DeletePermissionForRoleRequest |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
500 | No Content |
application/json
application/json
- Role
POST /api/v1/scheduler-clusters
create by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | SchedulerCluster required |
SchedulerCluster | types.CreateSchedulerClusterRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.SchedulerCluster |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- SchedulerCluster
GET /api/v1/scheduler-clusters
Get SchedulerClusters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | page required |
current page | integer | 0 |
Query | per_page required |
return max item count, default 10, max 50 | integer | 10 |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < model.SchedulerCluster > array |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- SchedulerCluster
GET /api/v1/scheduler-clusters/{id}
Get SchedulerCluster by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.SchedulerCluster |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- SchedulerCluster
DELETE /api/v1/scheduler-clusters/{id}
Destroy by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- SchedulerCluster
PATCH /api/v1/scheduler-clusters/{id}
Update by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Body | SchedulerCluster required |
SchedulerCluster | types.UpdateSchedulerClusterRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.SchedulerCluster |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- SchedulerCluster
PUT /api/v1/scheduler-clusters/{id}/schedulers/{scheduler_id}
Add Scheduler to schedulerCluster
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Path | scheduler_id required |
scheduler id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- SchedulerCluster
POST /api/v1/schedulers
create by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | Scheduler required |
Scheduler | types.CreateSchedulerRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Scheduler |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Scheduler
GET /api/v1/schedulers
Get Schedulers
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | page required |
current page | integer | 0 |
Query | per_page required |
return max item count, default 10, max 50 | integer | 10 |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < model.Scheduler > array |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Scheduler
GET /api/v1/schedulers/{id}
Get Scheduler by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Scheduler |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Scheduler
DELETE /api/v1/schedulers/{id}
Destroy by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- Scheduler
PATCH /api/v1/schedulers/{id}
Update by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Body | Scheduler required |
Scheduler | types.UpdateSchedulerRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.Scheduler |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- Scheduler
POST /api/v1/security-groups
create by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | SecurityGroup required |
SecurityGroup | types.CreateSecurityGroupRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.SecurityGroup |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- SecurityGroup
GET /api/v1/security-groups
Get SecurityGroups
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | page required |
current page | integer | 0 |
Query | per_page required |
return max item count, default 10, max 50 | integer | 10 |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < model.SecurityGroup > array |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- SecurityGroup
GET /api/v1/security-groups/{id}
Get SecurityGroup by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.SecurityGroup |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- SecurityGroup
PATCH /api/v1/security-groups/{id}
Update by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Body | SecurityGroup required |
SecurityGroup | types.UpdateSecurityGroupRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.SecurityGroup |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- SecurityGroup
PUT /api/v1/security-groups/{id}/cdn-clusters/{cdn_cluster_id}
Add CDN to SecurityGroup
Type | Name | Description | Schema |
---|---|---|---|
Path | cdn_cluster_id required |
cdn cluster id | string |
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- SecurityGroup
PUT /api/v1/security-groups/{id}/scheduler-clusters/{scheduler_cluster_id}
Add Scheduler to SecurityGroup
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Path | scheduler_cluster_id required |
scheduler cluster id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- SecurityGroup
PUT /api/v1/security-groups/{id}/security-rules/{security_rule_id}
Add SecurityRule to SecurityGroup
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Path | security_rule_id required |
security rule id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- SecurityGroup
DELETE /api/v1/security-groups/{id}/security-rules/{security_rule_id}
Destroy SecurityRule to SecurityGroup
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Path | security_rule_id required |
security rule id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- SecurityGroup
POST /api/v1/security-rules
create by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | SecurityRule required |
SecurityRule | types.CreateSecurityRuleRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.SecurityRule |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- SecurityRule
GET /api/v1/security-rules
Get SecurityRules
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | page required |
current page | integer | 0 |
Query | per_page required |
return max item count, default 10, max 50 | integer | 10 |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < model.SecurityRule > array |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- SecurityRule
GET /api/v1/security-rules/{id}
Get SecurityRule by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.SecurityRule |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- SecurityRule
PATCH /api/v1/security-rules/{id}
Update by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Body | SecurityRule required |
SecurityRule | types.UpdateSecurityRuleRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.SecurityRule |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- SecurityRule
DELETE /api/v1/securityGroups/{id}
Destroy by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- SecurityGroup
DELETE /api/v1/securityRules/{id}
Destroy by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- SecurityRule
GET /api/v1/user/signin/{name}
oauth signin by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | name required |
name | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
application/json
application/json
- User
GET /api/v1/user/signin/{name}/callback
oauth signin callback by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | name required |
name | string |
Query | code required |
code | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
404 | No Content |
500 | No Content |
- Oauth
POST /api/v1/user/signup
signup by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | User required |
User | types.SignUpRequest |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.User |
400 | No Content | |
500 | No Content |
application/json
application/json
- User
GET /api/v1/users
Get Users
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | page required |
current page | integer | 0 |
Query | per_page required |
return max item count, default 10, max 50 | integer | 10 |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < model.CDN > array |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- CDN
GET /api/v1/users/{id}
Get User by id
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | model.User |
400 | No Content | |
404 | No Content | |
500 | No Content |
application/json
application/json
- User
POST /api/v1/users/{id}/reset_password
reset password by json config
Type | Name | Description | Schema |
---|---|---|---|
Body | User required |
User | types.ResetPasswordRequest |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
500 | No Content |
application/json
application/json
- User
GET /api/v1/users/{id}/roles
get roles by json config
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < string > array |
400 | No Content | |
500 | No Content |
application/json
- User
PUT /api/v1/users/{id}/roles/{role}
add role to user by uri config
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Path | role required |
role | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
500 | No Content |
application/json
application/json
- Users
DELETE /api/v1/users/{id}/roles/{role}
delete role by uri config
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
id | string |
Path | role required |
role | string |
HTTP Code | Schema |
---|---|
200 | No Content |
400 | No Content |
500 | No Content |
application/json
application/json
- Users
Name | Schema |
---|---|
bio optional |
string |
cdn_clusters optional |
< model.CDNCluster > array |
created_at optional |
string |
download_rate_limit optional |
integer |
id optional |
integer |
name optional |
string |
scheduler_clusters optional |
< model.SchedulerCluster > array |
state optional |
string |
updated_at optional |
string |
url optional |
string |
user optional |
model.User |
user_id optional |
integer |
Name | Schema |
---|---|
cdnclusterID optional |
integer |
created_at optional |
string |
download_port optional |
integer |
host_name optional |
string |
id optional |
integer |
idc optional |
string |
ip optional |
string |
location optional |
string |
port optional |
integer |
state optional |
string |
updated_at optional |
string |
Name | Schema |
---|---|
application_id optional |
integer |
bio optional |
string |
config optional |
model.JSONMap |
created_at optional |
string |
id optional |
integer |
is_default optional |
boolean |
jobs optional |
< model.Job > array |
name optional |
string |
scheduler_clusters optional |
< model.SchedulerCluster > array |
security_group_id optional |
integer |
updated_at optional |
string |
Name | Schema |
---|---|
bio optional |
string |
created_at optional |
string |
id optional |
integer |
name optional |
string |
updated_at optional |
string |
user_id optional |
integer |
value optional |
string |
Type : object
Name | Schema |
---|---|
args optional |
model.JSONMap |
bio optional |
string |
cdn_clusters optional |
< model.CDNCluster > array |
created_at optional |
string |
id optional |
integer |
result optional |
model.JSONMap |
scheduler_clusters optional |
< model.SchedulerCluster > array |
state optional |
string |
task_id optional |
string |
type optional |
string |
updated_at optional |
string |
user_id optional |
integer |
Name | Schema |
---|---|
bio optional |
string |
client_id optional |
string |
client_secret optional |
string |
created_at optional |
string |
id optional |
integer |
name optional |
string |
redirect_url optional |
string |
updated_at optional |
string |
Name | Schema |
---|---|
created_at optional |
string |
host_name optional |
string |
id optional |
integer |
idc optional |
string |
ip optional |
string |
location optional |
string |
net_config optional |
model.JSONMap |
port optional |
integer |
schedulerClusterID optional |
integer |
state optional |
string |
updated_at optional |
string |
vips optional |
string |
Name | Schema |
---|---|
application_id optional |
integer |
bio optional |
string |
cdn_clusters optional |
< model.CDNCluster > array |
client_config optional |
model.JSONMap |
config optional |
model.JSONMap |
created_at optional |
string |
id optional |
integer |
is_default optional |
boolean |
jobs optional |
< model.Job > array |
name optional |
string |
scopes optional |
model.JSONMap |
security_group_id optional |
integer |
updated_at optional |
string |
Name | Schema |
---|---|
bio optional |
string |
created_at optional |
string |
id optional |
integer |
name optional |
string |
security_rules optional |
< model.SecurityRule > array |
updated_at optional |
string |
Name | Schema |
---|---|
bio optional |
string |
created_at optional |
string |
domain optional |
string |
id optional |
integer |
name optional |
string |
proxy_domain optional |
string |
security_groups optional |
< model.SecurityGroup > array |
updated_at optional |
string |
Name | Schema |
---|---|
avatar optional |
string |
bio optional |
string |
created_at optional |
string |
email optional |
string |
id optional |
integer |
location optional |
string |
name optional |
string |
phone optional |
string |
state optional |
string |
updated_at optional |
string |
Name | Schema |
---|---|
action required |
string |
object required |
string |
Name | Schema |
---|---|
action required |
string |
object required |
string |
Name | Schema |
---|---|
load_limit optional |
integer |
net_topology optional |
string |
Name | Schema |
---|---|
bio optional |
string |
download_rate_limit optional |
integer |
name required |
string |
state optional |
string |
url optional |
string |
user_id required |
integer |
Name | Schema |
---|---|
bio optional |
string |
config required |
types.CDNClusterConfig |
is_default optional |
boolean |
name required |
string |
Name | Schema |
---|---|
cdn_cluster_id required |
integer |
download_port required |
integer |
host_name required |
string |
idc required |
string |
ip required |
string |
location optional |
string |
port required |
integer |
Name | Schema |
---|---|
bio optional |
string |
name required |
string |
user_id required |
integer |
value required |
string |
Name | Schema |
---|---|
args optional |
object |
bio optional |
string |
cdn_cluster_ids optional |
< integer > array |
result optional |
object |
scheduler_cluster_ids optional |
< integer > array |
type required |
string |
user_id optional |
integer |
Name | Schema |
---|---|
bio optional |
string |
client_id required |
string |
client_secret required |
string |
name required |
string |
redirect_url optional |
string |
Name | Schema |
---|---|
permissions required |
< rbac.Permission > array |
role required |
string |
Name | Schema |
---|---|
bio optional |
string |
cdn_cluster_id optional |
integer |
client_config required |
types.SchedulerClusterClientConfig |
config required |
types.SchedulerClusterConfig |
is_default optional |
boolean |
name required |
string |
scopes optional |
types.SchedulerClusterScopes |
Name | Schema |
---|---|
host_name required |
string |
idc required |
string |
ip required |
string |
location optional |
string |
net_config optional |
object |
port required |
integer |
scheduler_cluster_id required |
integer |
vips optional |
string |
Name | Schema |
---|---|
bio optional |
string |
name required |
string |
Name | Schema |
---|---|
bio optional |
string |
domain required |
string |
name required |
string |
proxy_domain optional |
string |
Name | Schema |
---|---|
filter optional |
string |
headers optional |
< string, string > map |
type required |
string |
url required |
string |
Name | Schema |
---|---|
id optional |
string |
Name | Schema |
---|---|
action required |
string |
object required |
string |
Name | Schema |
---|---|
finishTime optional |
string |
id optional |
string |
startTime optional |
string |
status optional |
string |
Name | Schema |
---|---|
new_password required |
string |
old_password required |
string |
Name | Schema |
---|---|
load_limit optional |
integer |
Type : object
Name | Schema |
---|---|
idc optional |
string |
location optional |
string |
net_topology optional |
string |
Name | Schema |
---|---|
avatar optional |
string |
bio optional |
string |
email required |
string |
location optional |
string |
name required |
string |
password required |
string |
phone optional |
string |
Name | Schema |
---|---|
bio optional |
string |
download_rate_limit optional |
integer |
name optional |
string |
state optional |
string |
url optional |
string |
user_id required |
integer |
Name | Schema |
---|---|
bio optional |
string |
config optional |
types.CDNClusterConfig |
is_default optional |
boolean |
name optional |
string |
Name | Schema |
---|---|
cdn_cluster_id optional |
integer |
download_port optional |
integer |
idc optional |
string |
ip optional |
string |
location optional |
string |
port optional |
integer |
Name | Schema |
---|---|
bio optional |
string |
name optional |
string |
user_id optional |
integer |
value optional |
string |
Name | Schema |
---|---|
bio optional |
string |
user_id optional |
integer |
Name | Schema |
---|---|
bio optional |
string |
client_id optional |
string |
client_secret optional |
string |
name optional |
string |
redirect_url optional |
string |
Name | Schema |
---|---|
bio optional |
string |
cdn_cluster_id optional |
integer |
client_config optional |
types.SchedulerClusterClientConfig |
config optional |
types.SchedulerClusterConfig |
is_default optional |
boolean |
name optional |
string |
scopes optional |
types.SchedulerClusterScopes |
Name | Schema |
---|---|
idc optional |
string |
ip optional |
string |
location optional |
string |
net_config optional |
object |
port optional |
integer |
scheduler_cluster_id optional |
integer |
scheduler_id optional |
integer |
vips optional |
string |
Name | Schema |
---|---|
bio optional |
string |
name optional |
string |
Name | Schema |
---|---|
bio optional |
string |
domain optional |
string |
name optional |
string |
proxy_domain optional |
string |