GET /api/organizations
List all organizations

参数

参数名字 描述
search
选填

过滤结果


Value:

Must be String

order
选填

结果排序


Value:

Must be String

page
选填

页数


Value:

Must be String

per_page
选填

每个请求中的条目数


Value:

Must be String


GET /api/organizations/:id
Show an organization


POST /api/organizations
Create an organization

参数

参数名字 描述
organization
必填

Value:

Must be a Hash

organization[name]
必填

Value:

Must be String

organization[description]
选填 , 允许空值

Value:

Must be String

organization[user_ids]
选填 , 允许空值

用户 ID


Value:

Must be an array of any type

organization[smart_proxy_ids]
选填 , 允许空值

智能代理服务器 ID


Value:

Must be an array of any type

organization[compute_resource_ids]
选填 , 允许空值

计算资源 ID


Value:

Must be an array of any type

organization[media_ids]
选填 , 允许空值

媒体 ID


Value:

Must be an array of any type

organization[config_template_ids]
选填 , 允许空值

部署模板 ID


Value:

Must be an array of any type

organization[ptable_ids]
选填 , 允许空值

Partition template IDs


Value:

Must be an array of any type

organization[provisioning_template_ids]
选填 , 允许空值

部署模板 ID


Value:

Must be an array of any type

organization[domain_ids]
选填 , 允许空值

域 ID


Value:

Must be an array of any type

organization[realm_ids]
选填 , 允许空值

范围 ID


Value:

Must be an array of any type

organization[hostgroup_ids]
选填 , 允许空值

主机组 ID


Value:

Must be an array of any type

organization[environment_ids]
选填 , 允许空值

环境 ID


Value:

Must be an array of any type

organization[subnet_ids]
选填 , 允许空值

子网 ID


Value:

Must be an array of any type

organization[parent_id]
选填 , 允许空值

Parent ID


Value:

Must be a number.


PUT /api/organizations/:id
Update an organization

参数

参数名字 描述
organization
必填

Value:

Must be a Hash

organization[name]
选填

Value:

Must be String

organization[description]
选填 , 允许空值

Value:

Must be String

organization[user_ids]
选填 , 允许空值

用户 ID


Value:

Must be an array of any type

organization[smart_proxy_ids]
选填 , 允许空值

智能代理服务器 ID


Value:

Must be an array of any type

organization[compute_resource_ids]
选填 , 允许空值

计算资源 ID


Value:

Must be an array of any type

organization[media_ids]
选填 , 允许空值

媒体 ID


Value:

Must be an array of any type

organization[config_template_ids]
选填 , 允许空值

部署模板 ID


Value:

Must be an array of any type

organization[ptable_ids]
选填 , 允许空值

Partition template IDs


Value:

Must be an array of any type

organization[provisioning_template_ids]
选填 , 允许空值

部署模板 ID


Value:

Must be an array of any type

organization[domain_ids]
选填 , 允许空值

域 ID


Value:

Must be an array of any type

organization[realm_ids]
选填 , 允许空值

范围 ID


Value:

Must be an array of any type

organization[hostgroup_ids]
选填 , 允许空值

主机组 ID


Value:

Must be an array of any type

organization[environment_ids]
选填 , 允许空值

环境 ID


Value:

Must be an array of any type

organization[subnet_ids]
选填 , 允许空值

子网 ID


Value:

Must be an array of any type

organization[parent_id]
选填 , 允许空值

Parent ID


Value:

Must be a number.


DELETE /api/organizations/:id
Delete an organization