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:

 

Help or comments?

  • Something's not working: See Apigee Support
  • Something's wrong with the docs: Click Send Feedback in the lower right.
    (Incorrect? Unclear? Broken link? Typo?)