Skip to Content

Update Application - UpdateMVApp

Overview

Update Application

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is UpdateMVApp.Yes
PublicKeystringThe user’s public key can be obtained from Console Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
AppIDstringApplication IDYes
AppNamestringApplication NameNo
AppTypeintApplication TypeNo
AppStateintApplication StatusNo
LLMIDstringLanguage Model IDNo
LLMTemperatureintModel sampling temperature, open interval (0,100), default value 95No
LLMTopPintModel Sampling Temperature (Core Sampling), open interval (0,100), default value 70No
AppDesstringApplication DescriptionNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
MsgstringWhen the Code is non-zero, it describes the error information.Yes
AppInfoAppInfoYes

Data Model

AppInfo

Field NameTypeDescription InformationRequired
AppNamestringApplication NameNo
AppIDstringApplication IDNo
AppTypeintApplication TypeNo
AppDesstringApplication DescriptionNo
AppStateintApplication StatusNo
LLMIDstringLanguage Model IDNo
LLMTemperatureintModel Sampling TemperatureNo
LLMTopPintAnother method of model sampling temperature (nucleus sampling)No
CreateTimeintApplication Creation TimeNo
UpdateTimeintApplication Update TimeNo

Example

Request Example

https://api.ucloud-global.com/?Action=UpdateMVApp &AppID=IbOtvSyH &AppName=vdviIEqG &AppType=3 &AppState=4 &LLMID=yuCaqhuB &LLMTemperature=1 &LLMTopP=6 &AppDes=dmxVmsyS

Response Example

{ "Action": "UpdateMVAppResponse", "AppInfo": {}, "Msg": "OGqXIivZ", "RetCode": 0 }