Mengkueri detail repositori Git.
Deskripsi operasi
Pastikan Anda memiliki izin untuk mengoperasikan rahasia KMS yang sesuai sebelum memanggil operasi ini.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:GetGitRepository |
get |
*All Resource
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Platform |
string |
Yes |
Platform Git. |
github |
| Owner |
string |
No |
Nama pengguna akun login. |
testowner |
| RepoFullName |
string |
Yes |
Nama lengkap repositori. |
alibaba/fastjson |
| RegionId |
string |
No |
ID wilayah. |
cn-hangzhou |
| OrgId |
string |
No |
ID organisasi. Parameter ini hanya diperlukan untuk Codeup. |
5e9ee15af89c9700014a558a |
| RepoId |
integer |
No |
ID repositori. Parameter ini hanya diperlukan untuk Codeup. |
286584 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
13B71887-D215-53B5-8818-4D3190604B26 |
| Description |
string |
Deskripsi parameter. |
FASTJSON 2.0.x telah dirilis, lebih cepat dan lebih aman, kami menyarankan Anda untuk melakukan upgrade |
| HtmlUrl |
string |
URL yang digunakan untuk mengakses repositori. |
https://github.com/alibaba/fastjson |
| IsPrivate |
boolean |
Apakah repositori bersifat privat. |
False |
Contoh
Respons sukses
JSONformat
{
"RequestId": "13B71887-D215-53B5-8818-4D3190604B26",
"Description": "FASTJSON 2.0.x telah dirilis, lebih cepat dan lebih aman, kami menyarankan Anda untuk melakukan upgrade",
"HtmlUrl": "https://github.com/alibaba/fastjson",
"IsPrivate": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.