日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

CreateApiDestination - 創(chuàng)建API端點(diǎn)信息

創(chuàng)建API端點(diǎn)信息。

接口說(shuō)明

用于創(chuàng)建 API 端點(diǎ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ù)

名稱類(lèi)型必填描述示例值
ApiDestinationNamestring

API 名稱,最大長(zhǎng)度 127 個(gè)字符。最小長(zhǎng)度 2 個(gè)字符。

api-destination-name
ConnectionNamestring

連接配置名稱。最大長(zhǎng)度 127 個(gè)字符。最小長(zhǎng)度 2 個(gè)字符。

注意 需要先調(diào)用 Connection 接口創(chuàng)建連接配置,ConnectionName 填寫(xiě)已存在的連接名稱。

connection-name
Descriptionstring

API 描述,不超過(guò) 255 個(gè)字符。

連接配置描述信息
HttpApiParametersobject

API 端點(diǎn)的配置信息。

Endpointstring

API 端點(diǎn)的接入點(diǎn)地址。最大長(zhǎng)度 127 個(gè)字符。

http://127.0.0.1:8001/api
Methodstring

HTTP 請(qǐng)求方法。

  • GET
  • POST
  • HEAD
  • DELETE
  • PUT
  • PATCH
POST

返回參數(shù)

名稱類(lèi)型描述示例值
object
RequestIdstring

請(qǐng)求 ID。

5DAF96FB-A4B6-548C-B999-0BFDCB22****
Messagestring

返回信息。

success
Codestring

接口狀態(tài)或 POP 錯(cuò)誤碼。取值說(shuō)明如下:Success:成功。

Success
Dateobject

返回創(chuàng)建 API 端點(diǎn)成功數(shù)據(jù)結(jié)構(gòu)。

ApiDestinationNamestring

API 端點(diǎn)名稱。

ApiDestinationName

示例

正常返回示例

JSON格式

{
  "RequestId": "5DAF96FB-A4B6-548C-B999-0BFDCB22****",
  "Message": "success",
  "Code": "Success",
  "Date": {
    "ApiDestinationName": "ApiDestinationName"
  }
}

錯(cuò)誤碼

HTTP status code錯(cuò)誤碼錯(cuò)誤信息
409RequestParameterExceptionRequest parameter exception
409RequestParameterInvalidThe ApiDestination name is invalid! Only letters a~z or A~Z, numbers 0~9, underscore (_) and dash (-) are supported.
409RequestParameterInvalidThe connection name length cannot exceed 127.
409ApiDestinationAlreadyExistThe api-destination already existed!
409ConnectionNotExistThe Connection not existed!
409HttpApiParametersIsNullHttpApiParameters is null!
409EndpointIsBlankEndpoint is blank!
409MethodMethod is blank!
409EndpointLengthExceedEndpoint length cannot exceed 127!
409ApiDestinationAlreadyExistThe api-destination already existed!
409ApiDestinationCountExceedLimitThe current count of api-destination is [{0}], which will exceed the limit quota.
500InternalErrorInternalError

訪問(wèn)錯(cuò)誤中心查看更多錯(cuò)誤碼。

變更歷史

變更時(shí)間變更內(nèi)容概要操作
2023-09-13OpenAPI 錯(cuò)誤碼發(fā)生變更查看變更詳情
2023-04-12OpenAPI 錯(cuò)誤碼發(fā)生變更查看變更詳情
2023-04-06OpenAPI 錯(cuò)誤碼發(fā)生變更、OpenAPI 入?yún)l(fā)生變更查看變更詳情