Help Center/ CodeArts Repo/ API Reference/ APIs/ Repository/ Obtains image files of a specific branch in a repository.
Updated on 2023-05-06 GMT+08:00

Obtains image files of a specific branch in a repository.

Function

Obtains image files of a specific branch in a repository.

URI

GET /v1/repositories/{repository_uuid}/branch/{branch_name}/image

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

repository_uuid

Yes

String

Specifies the repository ID.

branch_name

Yes

String

Branch name.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

path

Yes

String

Image Path

Request Parameters

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

No

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.

Response Parameters

None

Example Requests

GET https://{endpoint}/v1/repositories/{repository_uuid}/branch/{branch_name}/image

Example Responses

None

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.