Help Center/ CodeArts Repo/ API Reference/ APIs/ Repository/ Viewing a Repository Creation Status
Updated on 2025-03-28 GMT+08:00

Viewing a Repository Creation Status

Function

This API is used to obtain the repository status.

URI

GET /v1/repositories/{repository_uuid}/status

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

repository_uuid

Yes

String

UUID of the repository to be viewed.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

error

Error object

Response error.

result

Integer

Response result.

status

String

Response status.

Table 4 Error

Parameter

Type

Description

code

String

Error code.

message

String

Error message.

Example Requests

GET https://{endpoint}/v1/repositories/{repository_uuid}/status

Example Responses

Status code: 200

OK

{
  "result" : 0,
  "status" : "success"
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.