Mengkueri nama domain kustom yang terikat pada proyek.
Deskripsi operasi
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
-
Only one custom domain name can be bound to each project.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:ListDomains |
get |
*Project
|
|
None |
Sintaks permintaan
GET /domains HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama proyek. |
ali-test-project |
| offset |
integer |
No |
Baris tempat kueri dimulai. Nilai default: 0. |
0 |
| size |
integer |
No |
Jumlah entri per halaman. Nilai default: 500. Nilai maksimum: 500. |
10 |
| domainName |
string |
No |
Nama domain yang digunakan untuk mencocokkan nama domain kustom. Misalnya, jika Anda mengatur domainName ke |
example.com |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The information about the domain names. |
||
| domains |
array |
The domain names. |
|
|
string |
The domain name. |
example.com |
|
| count |
integer |
The number of domain names that are returned on the current page. |
1 |
| total |
integer |
The total number of domain names that are returned. |
1 |
Contoh
Respons sukses
JSONformat
{
"domains": [
"example.com"
],
"count": 1,
"total": 1
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.