Lists Git repositories.
Operation description
Before you call this operation, ensure that you have the required permissions to manage the corresponding KMS secret.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:ListGitRepositories |
list |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
A token that ensures the idempotence of the request. |
TF-CreateApplication-1647587475-84104b89-eba5-47a8-b2fd-807b8b7d |
| Platform |
string |
Yes |
The Git platform. |
github |
| Owner |
string |
Yes |
The logon username. |
dhuai |
| PageNumber |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
1 |
| OrgName |
string |
No |
The organization name. |
aliyun-computenest |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| OrgId |
string |
No |
The organization ID. This parameter is required only for Codeup. |
6fekfmnfll135123kdf33 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3 |
| GitRepos |
array<object> |
The information about the repositories. |
|
|
object |
|||
| FullName |
string |
The full name of the repository. |
aliyun/repo |
| Description |
string |
The description of the repository. |
Test secret parameter for vulnerability testing - 1757298077.453695 |
| HtmlUrl |
string |
The URL of the repository. |
https://github.com/alibaba/fastjson |
| IsPrivate |
boolean |
Indicates whether the repository is private. |
False |
| RepoId |
integer |
The repository ID. |
22351123 |
| Count |
integer |
The total number of repositories. |
1 |
Examples
Success response
JSON format
{
"RequestId": "DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3",
"GitRepos": [
{
"FullName": "aliyun/repo",
"Description": "Test secret parameter for vulnerability testing - 1757298077.453695",
"HtmlUrl": "https://github.com/alibaba/fastjson",
"IsPrivate": true,
"RepoId": 22351123
}
],
"Count": 1
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.