All Products
Search
Document Center

Edge Security Acceleration:GetKvDetail

Last Updated:Jun 11, 2026

Mengkueri nilai dan pengatur waktu (TTL) kunci.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

Namespace

string

Yes

Nama namespace yang Anda tentukan saat memanggil operasi CreateKvNamespace.

test_namespace

Key

string

Yes

Nama kunci yang akan dikueri.

test_key

Elemen respons

Element

Type

Description

Example

object

Value

string

The value of the key. This is the value of the root node.

test_value

RequestId

string

The request ID.

CB1A380B-09F0-41BB-280B-72F8FD6DA2FE

ExpirationTtl

string

The expiration time of the key. Unit: seconds.

3600

Contoh

Respons sukses

JSONformat

{
  "Value": "test_value",
  "RequestId": "CB1A380B-09F0-41BB-280B-72F8FD6DA2FE",
  "ExpirationTtl": "3600"
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidAccount.Malformed The specified account is invalid.
400 InvalidNameSpace.Malformed The specified namespace is invalid.
400 InvalidKey.Malformed The specified key is invalid.
400 InvalidKey.ExceedsMaximum The size of the key cannot exceed 512 bytes.
400 InvalidValue.ExceedsMaximum The size of the value cannot exceed 2,000,000 bytes.
400 InvalidParameters The specified parameters are invalid.
403 InvalidKey.ExceedsCapacity The maximum capacity of a single namespace cannot exceed 1 GB.
403 Unauthorized.InvalidParameters The specified authentication parameters are invalid.
403 Unauthorized.InvalidTime The specified authentication time is invalid.
403 Unauthorized.InvalidToken Token authentication failed.
404 InvalidAccount.NotFound The specified account does not exist.
404 InvalidNameSpace.NotFound The specified namespace does not exist.
404 InvalidKey.NotFound The specified key does not exist.
406 InvalidNameSpace.Duplicate The specified namespace already exists.
406 InvalidNameSpace.QuotaFull The maximum number of namespaces is exceeded.
429 TooManyRequests Too many requests are submitted.
429 TooQuickRequests Request for putting or deleting keys are frequently submitted.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.