Menetapkan subdomain Edge Routine (ER).
Deskripsi operasi
Setiap subdomain harus bersifat unik secara global di seluruh Pengguna RAM.
Frekuensi pemanggilan API: 100 kali per detik.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:SetRoutineSubdomain |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Subdomains |
object |
Yes |
Parameter subdomain. Formatnya sebagai berikut: |
["subdomain-test"] |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Content |
object |
Mengembalikan "Status": "OK". |
{"Status": "OK"} |
| RequestId |
string |
ID permintaan. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
Contoh
Respons sukses
JSONformat
{
"Content": {
"Status": "OK"
},
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EdgeRoutine.GeneralError | A server error occurred: %s | A server error occurred. Try again later. If the error persists, submit a ticket. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.