CodeArts IDE Online
CodeArts IDE Online
链接复制成功!
CreateJoinRequest接口
功能介绍
create a join-request
调试
您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。
URI
POST /v2/aims/codemodelserver/join-request
请求参数
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
x-auth-token |
是 |
String |
iam x-auth-token |
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
region |
否 |
String |
the region of user |
name |
否 |
String |
the name of user |
|
否 |
String |
the email of user |
organization |
否 |
String |
the organization of user |
phone_number |
否 |
String |
the phone_number of user |
invitation_code |
否 |
String |
the invitation_code |
响应参数
状态码: 200
参数 |
参数类型 |
描述 |
---|---|---|
message |
String |
the message of join-request |
status |
String |
the status of join-request(success/error/conflict) |
请求示例
创建一个地域在北京,用户名为“name”,邮箱为“email@codeartssnap.com”,组织为“huawei”的用户。
POST https://{endpoint}/v2/aims/codemodelserver/join-request
{
"region" : "北京",
"name" : "name",
"email" : "email@codeartssnap.com",
"organization" : "huawei",
"phone_number" : "13666666666",
"invitation_code" : "gouliguojiashengsiyi"
}
响应示例
状态码: 200
Successful Response
{
"message" : "null",
"status" : "success"
}
状态码
状态码 |
描述 |
---|---|
200 |
Successful Response |
错误码
请参见错误码。
父主题: codebreeze