Was this helpful?

 

Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}

API Resource Path:

/reports/{report_name}

Description: Update an existing report definition

Verb: PUT
Auth: Basic Auth
Media types:
application/json
Sample Request:
$ curl -H "Content-type:application/json" -X PUT -d \
' {
    "displayName": "Weather API Performance",
    "sortbyCols": [
        "size",
        "length"
    ],
    "sortOrder": "DESC",
    "limit": "1000",
    "timeUnit": "minute",
    "timeDuration": "today",
    "dimensions": [
        "hour",
        "second"
    ],
    "chartType": "histogram",
    "tags": [
        "performance",
        "weather"
    ],
    "filter":"(apiproxy in \"weatherapi\") or (iserror eq 1)",
    "metrics": [
        {
            "function": "SUM",
            "name": "messagecount"
        },
        {
            "function": "SUM",
            "name": "error_count"
        }
    ],
    "properties": [
        {
            "property": "someProperty1",
            "value": [
                {
                    "name": "name1",
                    "value": "function1"
                },
                {
                    "name": "name2",
                    "value": "function2"
                }
            ]
        },
        {
            "property": "someProperty2",
            "value": [
                {
                    "name": "name1",
                    "value": "value1"
                },
                {
                    "name": "name2",
                    "value": "value2"
                }
            ]
        }
    ],
    "comments": [
        "contact operations with any issues."
    ],
    "environment": "prod"
}' \
https://api.enterprise.apigee.com/v1/o/{org_name}/reports/2c8fb876-d6ac-463e-8e94-0865e39e43c6 \
-u myname:mypass
Sample Response:

 

コメントを追加

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.