RepositorySpec

Updated at:

Parameter

Type

Description

Example

object

Specifies the repository configuration.

connectionName

string

The name of the connection used for authentication. The connection provides credentials for the code hosting platform.

awesome-connection

cloneUrl

string

The URL to clone the repository. Both HTTPS and SSH formats are supported.

https://github.com/DDofDD/start-springboot-lfgy.git

platform

string

Read-only. The code hosting platform where the repository is hosted. Valid values: github, gitee, gitlab, and codeup.

github

id

integer

Read-only. The repository ID on the code hosting platform. This ID is unique within the platform.

312649

owner

string

Read-only. The name of the account or organization that owns the repository on the code hosting platform.

my-org-name

displayName

string

Read-only. The repository name on the code hosting platform.

my-repo-name

webUrl

string

Read-only. The URL to the repository's homepage.

https://github.com/my-org-name/my-repo-name