查詢某個(gè)資源包產(chǎn)品的信息。
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。
授權(quán)信息
當(dāng)前API暫無(wú)授權(quán)信息透出。
請(qǐng)求參數(shù)
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
ProductCode | string | 是 | 產(chǎn)品類型。 | ossbag |
返回參數(shù)
示例
正常返回示例
JSON
格式
{
"Code": "Success",
"Message": "Successful!",
"RequestId": "BBEF51A3-E933-4F40-A534-C673CBDB9C80",
"Success": true,
"OrderId": 72353765387,
"Data": {
"ResourcePackages": {
"ResourcePackage": [
{
"ProductType": "ossbag",
"Name": "對(duì)象存儲(chǔ)OSS資源包(包月)",
"ProductCode": "ossbag",
"PackageTypes": {
"PackageType": [
{
"Code": "FPT_ossbag_deadlineAcc_CdnOut_common_sz",
"Name": "回源流量包(華南1)",
"Properties": {
"Property": [
{
"Name": "region",
"Value": "cn-shenzhen"
}
]
},
"Specifications": {
"Specification": [
{
"Name": "1TB",
"Value": "1024",
"AvailableDurations": {
"AvailableDuration": [
{
"Value": 6,
"Name": "6 Month",
"Unit": "Month"
}
]
}
}
]
}
}
]
}
}
]
}
}
}
錯(cuò)誤碼
HTTP status code | 錯(cuò)誤碼 | 錯(cuò)誤信息 | 描述 |
---|---|---|---|
400 | NotApplicable | This API is not applicable for caller. | - |
400 | NotAuthorized | This API is not authorized for caller. | - |
400 | MissingParameter | Absent some mandatory parameter for this request. | - |
400 | InvalidParameter | This request contain some invalid parameter | - |
400 | InvalidOwner | The specified owner doesn't belong to caller. | 用戶身份錯(cuò)誤 |
400 | ProductCodeMissing | Parameter ProductCode is missing. | - |
400 | ProductNotSupported | Product currently is not supported. | - |
500 | InternalError | The request processing has failed due to some unknown error. | 內(nèi)部服務(wù)器錯(cuò)誤。 |
訪問(wèn)錯(cuò)誤中心查看更多錯(cuò)誤碼。
變更歷史
變更時(shí)間 | 變更內(nèi)容概要 | 操作 |
---|---|---|
2024-04-19 | OpenAPI 錯(cuò)誤碼發(fā)生變更 | 查看變更詳情 |