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 (1,177 forks)batch import
APIenhancementhelp wanted

Repository metrics

Stars
 (6,777 stars)
PR merge metrics
 (Avg merge 17h 31m) (3 merged PRs in 30d)

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