Queries the details of a Git repository.
Operation description
Before you call this operation, ensure that you have the permissions to manage the corresponding KMS secret.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:GetGitRepository |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Platform |
string |
Yes |
The Git platform. |
github |
| Owner |
string |
No |
The username. |
testowner |
| RepoFullName |
string |
Yes |
The full name of the repository. |
alibaba/fastjson |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| OrgId |
string |
No |
The organization ID. This parameter is required only for Codeup. |
5e9ee15af89c9700014a558a |
| RepoId |
integer |
No |
The repository ID. This parameter is required only for Codeup. |
286584 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
13B71887-D215-53B5-8818-4D3190604B26 |
| Description |
string |
The description of the repository. |
FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade. |
| HtmlUrl |
string |
The URL of the repository. |
https://github.com/alibaba/fastjson |
| IsPrivate |
boolean |
Indicates whether the repository is private. |
False |
Examples
Success response
JSON format
{
"RequestId": "13B71887-D215-53B5-8818-4D3190604B26",
"Description": "FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.",
"HtmlUrl": "https://github.com/alibaba/fastjson",
"IsPrivate": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.