action cpy_get_api_v1_videos_id_stats_timeseries_metric { label: "Get timeserie stats of a video" provider: cpy method: GET path: "/api/v1/videos/{id}/stats/timeseries/{metric}" encoding: json input: { type: "object" properties: { endDate: { type: "string" format: "date-time" } metric: { type: "string" enum: ["viewers", "aggregateWatchTime"] } startDate: { type: "string" format: "date-time" } } required: ["metric"] additionalProperties: false } output: { properties: { data: { type: "array" items: { type: "object" properties: { date: { type: "string" } value: { type: "number" } } } } } } }