Help Center/ CodeArts Repo/ API Reference (Ally Region)/ APIs/ Repository/ Obtaining Image Files of a Specific Branch in a Repository
Updated on 2026-01-08 GMT+08:00

Obtaining Image Files of a Specific Branch in a Repository

Description

This API is used to obtain 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

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

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

None.

Request Examples

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

Response Examples

None.

Status Codes

Status Codes

Description

200

Request succeeded

Error Codes

See Error Codes.