apache/openwhisk

List Rule needs status field.

Open

#4,438 opened on Apr 11, 2019

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Scala (6,777 stars) (1,177 forks)batch import
APIenhancementhelp wanted

Description

Hi Guys, As I know, the response data when get list rule like below so we need return response for list rule with status(active/inactive) for each object rule.

[
        {
            "action": {
                "name": "action01",
                "path": "myspace"
            },
            "annotations": [],
            "name": "action01_trigger1",
            "namespace": "myspace",
            "publish": false,
            "trigger": {
                "name": "trigger1",
                "path": "myspace"
            },
            "version": "0.0.1"
          **//missing status ???**
        }

    ]

Any help for improve this? Thanks

Contributor guide