Help Center/ CodeArts Req/ API Reference/ APIs/ Project members/ AGC calls the current user to apply for joining in a project.
Updated on 2023-06-12 GMT+08:00

AGC calls the current user to apply for joining in a project.

Function

AGC calls the current user to apply for joining in the project. The applied user ID is written in the header.

URI

GET /v4/projects/{project_id}/members/agc-join

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the 32-bit ID of the devcloud project.

Minimum: 32

Maximum: 32

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the user token. It can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token.

Minimum: 10

Maximum: 32768

Domain-Id

Yes

String

Tenant ID

Minimum: 32

Maximum: 32

User-Id

Yes

String

User ID.

Minimum: 32

Maximum: 32

Response Parameters

Status code: 400

Table 3 Response body parameters

Parameter

Type

Description

error_msg

String

Description

error_code

String

Error Codes

Status code: 401

Table 4 Response body parameters

Parameter

Type

Description

error_msg

String

Description

error_code

String

Error Codes

Example Requests

GET https://{endpoint}/v4/projects/526cefde62004de2b62b5e8dd2c2b3af/members/agc-join

GET https://{endpoint}/v4/projects/526cefde62004de2b62b5e8dd2c2b3af/members/agc-join

Example Responses

None

Status Codes

Status Code

Description

204

No Content

400

Bad Request

401

Unauthorized

Error Codes

See Error Codes.