Skip to content

List Source Repository Branches

codecatalyst_list_source_repository_branches R Documentation

Retrieves a list of branches in a specified source repository

Description

Retrieves a list of branches in a specified source repository.

Usage

codecatalyst_list_source_repository_branches(spaceName, projectName,
  sourceRepositoryName, nextToken, maxResults)

Arguments

spaceName

[required] The name of the space.

projectName

[required] The name of the project in the space.

sourceRepositoryName

[required] The name of the source repository.

nextToken

A token returned from a call to this API to indicate the next batch of results to return, if any.

maxResults

The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken element, which you can use to obtain additional results.

Value

A list with the following syntax:

list(
  nextToken = "string",
  items = list(
    list(
      ref = "string",
      name = "string",
      lastUpdatedTime = as.POSIXct(
        "2015-01-01"
      ),
      headCommitId = "string"
    )
  )
)

Request syntax

svc$list_source_repository_branches(
  spaceName = "string",
  projectName = "string",
  sourceRepositoryName = "string",
  nextToken = "string",
  maxResults = 123
)