edit-icon download-icon

ListDegradeControlsRequest

Last Updated: Jan 16, 2018

Function

Returns the degradation 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 Response code
Message String Response message
FlowControlsMap FlowControlsMap Degradation data

FlowControlsMap:

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

InterfaceMethods

Parameter Type Description
Name String Name of the service interface
Version String Service version
Methods List 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 Degradation threshold
Duration Integer Time window
State Integer Degradation status. The value 1 indicates that the degradation function is disabled; the value 0 indicates that the degradation 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.