action microcks_get_invocation_stats_by_service { label: "Get invocation statistics for Service" provider: microcks method: GET path: "/metrics/invocations/{serviceName}/{serviceVersion}" encoding: json input: { type: "object" properties: { day: { type: "string" } } additionalProperties: false } output: { type: "object" description: "The daily statistic of a service mock invocations" required: ["dailyCount", "day", "id", "serviceName", "serviceVersion"] properties: { dailyCount: { type: "number" description: "The number of service mock invocations on this day" } day: { type: "string" description: "The day (formatted as yyyyMMdd string) represented by this statistic" } hourlyCount: { type: "object" description: "The number of service mock invocations per hour of the day (keys range from 0 to 23)" } id: { type: "string" description: "Unique identifier of this statistic object" } minuteCount: { type: "object" description: "The number of service mock invocations per minute of the day (keys range from 0 to 1439)" } serviceName: { type: "string" description: "The name of the service this statistic is related to" } serviceVersion: { type: "string" description: "The version of the service this statistic is related to" } } } }