Resource URL: /platform/<<version=1>>/debug/stats

    Overview: This resource exposes per-resource call statistics. There are
              also two synthetic resource entries in the statistics called
              "UNKNOWN" and "DESCRIBE" that show statistics for path resolution
              failure and self-documentation requests, respectively.

     Methods: GET, DELETE

********************************************************************************

Method GET: List cumulative call statistics for each resource.

       URL: GET /platform/<<version=1>>/debug/stats

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "type": "object", 
      "description": "Statistics for all the methods of all URIs in the Platform API.", 
      "properties": {
        "UNKNOWN": {
          "type": "object", 
          "description": "Per-method statistics.", 
          "properties": {
            "errors": {
              "type": "integer", 
              "description": "The number of errors."
            }, 
            "calls": {
              "type": "integer", 
              "description": "The number of calls."
            }, 
            "time": {
              "type": "number", 
              "description": "The total amount of time spent in this method."
            }
          }
        }, 
        "DESCRIBE": {
          "type": "object", 
          "description": "Per-method statistics.", 
          "properties": {
            "errors": {
              "type": "integer", 
              "description": "The number of errors."
            }, 
            "calls": {
              "type": "integer", 
              "description": "The number of calls."
            }, 
            "time": {
              "type": "number", 
              "description": "The total amount of time spent in this method."
            }
          }
        }, 
        "handlers": {
          "items": {
            "type": "object", 
            "properties": {
              "HEAD": {
                "type": "object", 
                "description": "Per-method statistics.", 
                "properties": {
                  "errors": {
                    "type": "integer", 
                    "description": "The number of errors."
                  }, 
                  "calls": {
                    "type": "integer", 
                    "description": "The number of calls."
                  }, 
                  "time": {
                    "type": "number", 
                    "description": "The total amount of time spent in this method."
                  }
                }
              }, 
              "name": {
                "type": "string", 
                "description": "The URI."
              }, 
              "GET": {
                "type": "object", 
                "description": "Per-method statistics.", 
                "properties": {
                  "errors": {
                    "type": "integer", 
                    "description": "The number of errors."
                  }, 
                  "calls": {
                    "type": "integer", 
                    "description": "The number of calls."
                  }, 
                  "time": {
                    "type": "number", 
                    "description": "The total amount of time spent in this method."
                  }
                }
              }, 
              "UNSUPPORTED": {
                "type": "object", 
                "description": "Per-method statistics.", 
                "properties": {
                  "errors": {
                    "type": "integer", 
                    "description": "The number of errors."
                  }, 
                  "calls": {
                    "type": "integer", 
                    "description": "The number of calls."
                  }, 
                  "time": {
                    "type": "number", 
                    "description": "The total amount of time spent in this method."
                  }
                }
              }, 
              "PUT": {
                "type": "object", 
                "description": "Per-method statistics.", 
                "properties": {
                  "errors": {
                    "type": "integer", 
                    "description": "The number of errors."
                  }, 
                  "calls": {
                    "type": "integer", 
                    "description": "The number of calls."
                  }, 
                  "time": {
                    "type": "number", 
                    "description": "The total amount of time spent in this method."
                  }
                }
              }, 
              "POST": {
                "type": "object", 
                "description": "Per-method statistics.", 
                "properties": {
                  "errors": {
                    "type": "integer", 
                    "description": "The number of errors."
                  }, 
                  "calls": {
                    "type": "integer", 
                    "description": "The number of calls."
                  }, 
                  "time": {
                    "type": "number", 
                    "description": "The total amount of time spent in this method."
                  }
                }
              }, 
              "DELETE": {
                "type": "object", 
                "description": "Per-method statistics.", 
                "properties": {
                  "errors": {
                    "type": "integer", 
                    "description": "The number of errors."
                  }, 
                  "calls": {
                    "type": "integer", 
                    "description": "The number of calls."
                  }, 
                  "time": {
                    "type": "number", 
                    "description": "The total amount of time spent in this method."
                  }
                }
              }
            }
          }, 
          "type": "array"
        }
      }
    }
  ]
}

********************************************************************************

Method DELETE: Clear per-resource statistics counters.

          URL: DELETE /platform/<<version=1>>/debug/stats

There are no query arguments for this method.

There is no JSON response body for this method.
