All Products
Search
Document Center

Mobile Platform as a Service:Query release task list

Last Updated:Nov 25, 2025

  • Request path: /openapi/cubecard/listTasks

  • Request method: GET

  • Request parameters

    Name

    Type

    Required

    Description

    templateResourceId

    Long

    Yes

    The ID of the card resource.

  • Return value

    [
      {
        "gmtCreate":"2019-04-24 17:43:54",
        "gmtModified":"2019-04-24 17:43:54",
        "greyConfigInfo":"{\"operator\":\"and\",\"subRules\":[{\"operator\":\"contains\",\"left\":[\"Shanghai\",\"Beijing\",\"Tianjin\"],\"right\":\"city\",\"defaultResult\":false},{\"operator\":\"excludes\",\"left\":[\"REDMI NOTE 3\",\"VIVO X5M\"],\"right\":\"mobileModel\",\"defaultResult\":false},{\"operator\":\"vLimitIn\",\"exclusive\":false,\"left\":{\"lower\":\"9.2.1\",\"upper\":\"9.2.1\"},\"right\":\"osVersion\",\"defaultResult\":false}],\"defaultResult\":false}",
        "greyEndtimeData":"",
        "greyNum":0,
        "id":212,
        "taskDesc":"Card release",
        "templateResourceId":572,
        "publishMode":1,
        "publishType":2,
        "taskStatus":1,
        "whitelistIds":"931,932",
        "operator":"Operator"
      }
    ]

    Return value description

    Return value

    Type

    Description

    gmtCreate

    String

    The creation time

    gmtModified

    String

    The update time

    greyConfigInfo

    String

    Advanced grayscale rule information. For more information, see greyConfigInfo details

    greyEndtimeData

    String

    The end time of the time window grayscale release

    greyNum

    String

    The number of users at the end of the time window grayscale release

    id

    Long

    The primary key of the release task

    taskDesc

    String

    The description of the release task

    templateResourceId

    Long

    The primary key of the card resource package corresponding to the task

    publishMode

    Integer

    The grayscale release mode

    • 1: Whitelist

    • 2: Time window

    publishType

    Integer

    The release type

    • 2: Grayscale release

    • 3: Official release

    taskStatus

    Integer

    The current task status

    • 1: Releasing

    • 2: Ended

    • 3: Paused

    whitelistIds

    String

    The whitelist IDs for whitelist release, separated by commas for multiple IDs

    operator

    String

    The operator. All tasks created by OpenAPI are set to default

    greyConfigInfo details

    Name

    Type

    Description

    operator

    String

    The rule relationship. "and" indicates the AND operation on the results in subRules

    defaultResult

    boolean

    The default result to return

    subRules

    List

    The rules collection

    operator

    String

    The rule name

    • contains: Contains

    • excludes: Does not contain

    • vLimitIn: Within the range

    • vLimitOut: Outside the range

    left

    • When operator is contains or excludes, it is a List character set where each element represents a rule value.

    • When operator is vLimitIn or vLimitOut, it is an object where lower represents the lower value and upper represents the higher value

    See the description in the type column

    right

    String

    The rule type name

    defaultResult

    Boolean

    The default result