Mengkueri wilayah yang tersedia.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET /regions HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| language |
string |
No |
Bahasa dari nilai Valid values:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Objek respons. |
||
| regions |
array<object> |
Daftar wilayah yang tersedia beserta detailnya. |
|
|
object |
|||
| region |
string |
ID wilayah. |
|
| localName |
string |
Nama tampilan wilayah. |
|
| intranetEndpoint |
string |
Endpoint intranet dari wilayah. |
|
| internetEndpoint |
string |
Endpoint publik dari wilayah. |
|
| internalEndpoint |
string |
||
| dataRedundancyType |
array |
Tipe redundansi data yang didukung. |
|
|
string |
Contoh
Respons sukses
JSONformat
{
"regions": [
{
"region": "",
"localName": "",
"intranetEndpoint": "",
"internetEndpoint": "",
"internalEndpoint": "",
"dataRedundancyType": [
""
]
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.