edit-icon download-icon

ListDegradeControlsRequest

Last Updated: Nov 16, 2018

Function

Returns the downgrade configuration list.

Request URL

/pop/v5/app/degradeControls

Request method

GET

Request parameters

Parameter Type Required? Description
appId String Yes Application ID

Response parameters

Parameter Type Description
Code Integer Code
Message String Message
FlowControlsMap FlowControlsMap Downgrade data

FlowControlsMap:

Parameter Type Description
AppId String Application ID
AppName String Application name
InterfaceMethods InterfaceMethods A set of downgrade-specific interface methods
RuleList RuleList A list of downgrade rules

InterfaceMethods

Parameter Type Description
Name String Name of the service interface
Version String Service version
Methods List<String> A set of methods specific to the service interface

RuleList

Parameter Type Description
AppId String Application ID
RuleId String Rule ID
Resource String Name of the interface method
RtThreshold Integer Downgrade threshold
Duration Integer Time window
State Integer Downgrade status. The value 1 indicates that the downgrade function is disabled and the value 0 indicates that the downgrade function is enabled.
CreateTime Long Creation time
UpdateTime Long Update time
RuleType String Rule type, which can be HSF or URL
Thank you! We've received your feedback.