request = new UpdateProjectDomainRequest(); CreateProjectDomainRequestBody body = new CreateProjectDomainRequestBody(); body.withDomainName
URI DELETE /v4/projects/{project_id}/domains/{domain_id} 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String devcloud项目的32位id 最小长度:32 最大长度:32 domain_id
request = new CreateProjectDomainRequest(); CreateProjectDomainRequestBody body = new CreateProjectDomainRequestBody(); body.withDomainName
响应示例 状态码: 200 OK { "total" : 1, "domains" : [ { "domain_name" : "demo", "domain_id" : "123cefde62004de2b62b5e8dd2c2b3af" } ] }
否 String 提出项目domainId submitted_by 否 String 提交人Id domain_id 否 String 归属项目domainId recipient 否 Array of strings 承接人id expect_delivery_time 否
不涉及 category 是 String 工作项类型 is_src 否 Boolean 是否跨项目查询工作项 请求参数 无 响应参数 状态码:200 表3 响应Body参数 参数 参数类型 描述 id String 工作项id project_id String 项目id domain_id
请求参数 表2 请求Body参数 参数 是否必选 参数类型 描述 domain_id 是 String 参数解释: 领域id。可以通过[查询项目的领域列表]接口获取,响应消息体中的domain_id字段的值就是项目领域id。
message" : null, "result" : { "total" : 1, "issues" : [ { "promised" : null, "type" : "raw requirement", "src_domain
表5 creator 参数 参数类型 描述 domain_id String 参数解释: 创建人租户id。 取值范围: 不涉及。 domain_name String 参数解释: 创建人租户名称。 取值范围: 不涉及。 nick_name String 参数解释: 创建人昵称。
are hard-coded or stored in plaintext, which has great security risks.
String 用户所属域Id domain_name String 租户名称 nick_name String 用户昵称 role_id String 角色Id,用户在项目中具有多个角色时用英文逗号分隔 role_name String 用户角色名称,多个角色用英文逗号分隔 请求示例
URI PUT /v4/domain/child-users 请求参数 表1 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String 参数解释: 用户Token。
{ public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which
约束限制: 正则表达式:"absent|domain_projects"。 取值范围: domain_projects(租户下的所有项目列表), absent(当前用户未参与的租户项目列表)。 默认取值: 不涉及。
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
Array of details objects 操作详情 表6 operator 参数 参数类型 描述 user_id String 用户uuid user_name String 用户名 nick_name String 昵称 domain_id String 租户uuid
are hard-coded or stored in plaintext, which has great security risks.
表4 members 参数 参数类型 描述 domain_id String 参数解释: 租户id。 取值范围: 不涉及。 domain_name String 参数解释: 租户名。 取值范围: 不涉及。 user_id String 参数解释: 用户id。
您即将访问非华为云网站,请注意账号财产安全