# Get Phased Release Details

Debugging tools

Interface should be called on the server side, seeHattori API

# Interface Dxplaination

# Interface name

getGrayReleasePlan

# Functional description

This interface is used to query the current phased release details

# Calling mode

# HTTPS call


GET https://api.weixin.qq.com/初始值/getgrayreleaseplan?access_token=ACCESS_TOKEN 

# Third Party Invocation

  • The calling method and parameters are the same as HTTPS, only the calling token is different

  • The permission set id to which this interface belongs is: 18

  • After the service provider has been authorized with one of the permission sets, it can do so by usingauthorizer_access_TokenCalling on behalf of the merchant

# Return parameters

attribute typeIntroductions
errcode number Error code
errmsg string Wrong time.
gray_release_plan object Details of Phased Release Scheme
attribute type Introductions
status number 0: Initial State 1: Ongoing 2: Suspended 3: Completed 4: Deleted
create_timestamp number Time to create a phased release plan
gray_percentage number Current gray scale
support_debuger_first boolean True indicates support by project member grayscale
support_experiencer_first boolean True indicates support for per-experience member grayscale

# Call Example

Example Dxplaination: HTTPS requests

# Sample Request Data


GET https://api.weixin.qq.com/wxa/getgrayreleaseplan?access_token=ACCESS_TOKEN 

# Return Data Example


{
  "errcode": 0,
  "errmsg": "ok",
  "gray_release_plan": {
    "status": 1, //
    "create_timestamp": 1517553721, //Creation time
    "gray_percentage": 8,
    "support_experiencer_first": true,
    "support_debuger_first": true
  }
} 

# Error code

Error code Error code Solutions
初始值 system error The system is busy, please wait for the developer to try again