現在のアカウントに KV 名前空間を作成します。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Namespace |
string |
必須 |
KV 名前空間の名前。 |
test_namespace |
| Description |
string |
任意 |
KV 名前空間の任意の説明。 |
this is a test namespace. |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Status |
string |
KV 名前空間のステータス。有効な値:
|
online |
| Namespace |
string |
KV 名前空間の名前。 |
test_namespace |
| NamespaceId |
string |
KV 名前空間の ID。 |
657717877171818496 |
| RequestId |
string |
リクエスト ID。 |
EEEBE525-F576-1196-8DAF-2D70CA3F4D2F |
| Description |
string |
KV 名前空間の説明。 |
this is a test namespace. |
例
成功レスポンス
JSONJSON
{
"Status": "online",
"Namespace": "test_namespace",
"NamespaceId": "657717877171818496",
"RequestId": "EEEBE525-F576-1196-8DAF-2D70CA3F4D2F",
"Description": "this is a test namespace."
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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 | InvalidParameter | The specified parameter is invalid. | |
| 400 | TooManyRequests | Too many requests.Please try again later. | |
| 403 | Unauthorized.InvalidParameters | The specified authentication parameters are invalid. | |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | |
| 403 | Unauthorized.InvalidToken | Token authentication failed. | |
| 403 | Unauthorized.InvalidResource | Resource authentication failed. | |
| 403 | InvalidKey.ExceedsCapacity | The maximum storage capacity of the Edge KV namespace has been reached. Delete unwanted key-value pairs to save the storage. | |
| 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. | |
| 406 | InvalidKey.QuotaFull | The total number of IP exceeds the quota. | |
| 429 | TooQuickRequests | Request for putting or deleting keys are frequently submitted. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。