Skip to content

/AWS1/CL_SGM=>LISTCODEREPOSITORIES()

About ListCodeRepositories

Gets a list of the Git repositories in your account.

Method Signature

IMPORTING

Optional arguments:

IV_CREATIONTIMEAFTER TYPE /AWS1/SGMCREATIONTIME /AWS1/SGMCREATIONTIME

A filter that returns only Git repositories that were created after the specified time.

IV_CREATIONTIMEBEFORE TYPE /AWS1/SGMCREATIONTIME /AWS1/SGMCREATIONTIME

A filter that returns only Git repositories that were created before the specified time.

IV_LASTMODIFIEDTIMEAFTER TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

A filter that returns only Git repositories that were last modified after the specified time.

IV_LASTMODIFIEDTIMEBEFORE TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

A filter that returns only Git repositories that were last modified before the specified time.

IV_MAXRESULTS TYPE /AWS1/SGMMAXRESULTS /AWS1/SGMMAXRESULTS

The maximum number of Git repositories to return in the response.

IV_NAMECONTAINS TYPE /AWS1/SGMCODEREPOSITORYNAMEC00 /AWS1/SGMCODEREPOSITORYNAMEC00

A string in the Git repositories name. This filter returns only repositories whose name contains the specified string.

IV_NEXTTOKEN TYPE /AWS1/SGMNEXTTOKEN /AWS1/SGMNEXTTOKEN

If the result of a ListCodeRepositoriesOutput request was truncated, the response includes a NextToken. To get the next set of Git repositories, use the token in the next request.

IV_SORTBY TYPE /AWS1/SGMCODEREPOSITORYSORTBY /AWS1/SGMCODEREPOSITORYSORTBY

The field to sort results by. The default is Name.

IV_SORTORDER TYPE /AWS1/SGMCODEREPOSITORYSORTO00 /AWS1/SGMCODEREPOSITORYSORTO00

The sort order for results. The default is Ascending.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMLSTCODEREPOSITOR01 /AWS1/CL_SGMLSTCODEREPOSITOR01