Queries the list of Git repositories.
Operation description
Make sure that you have the permissions to operate on the corresponding KMS secret before calling this operation.
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 |
The token that is used to ensure idempotence. |
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 page size. |
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 when the platform is Codeup. |
6fekfmnfll135123kdf33 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3 |
| GitRepos |
array<object> |
The repository information. |
|
|
object |
|||
| FullName |
string |
The full name of the repository. |
aliyun/repo |
| Description |
string |
The description of the version. |
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.