Skip to content

Commit

Permalink
Analytics updates
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierapivideo authored Oct 25, 2024
1 parent 820a69d commit 90b6f6f
Show file tree
Hide file tree
Showing 3 changed files with 196 additions and 47 deletions.
95 changes: 92 additions & 3 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12748,6 +12748,8 @@ paths:
- `impression` is the number of times your content has been loaded and was ready for playback. You can use the aggregation `count` with this metric.
- `impression-time` is the time in milliseconds that your content was loading for until the first video frame is displayed. You can use the aggregations `average` and `sum` with this metric.
- `watch-time` is the cumulative time in seconds that the user has spent watching your content. You can use the aggregations `average` and `sum` with this metric.
- `ccv` TODO
- `view` TODO
explode: false
in: path
name: metric
Expand All @@ -12760,6 +12762,8 @@ paths:
- impression
- impression-time
- watch-time
- ccv
- view
type: string
style: simple
- description: "Use this path parameter to define a way of collecting data for\
Expand All @@ -12769,7 +12773,7 @@ paths:
\ This aggregation can be used only with the `play` metric.\n- `total` calculates\
\ the total number of events for the `play` metric. \n- `average` calculates\
\ an average value for the selected metric.\n- `sum` adds up the total value\
\ of the select metric.\n"
\ of the select metric.\n- `peak` TODO\n- `live` TODO\n"
explode: false
in: path
name: aggregation
Expand All @@ -12781,6 +12785,8 @@ paths:
- total
- average
- sum
- peak
- live
type: string
style: simple
- description: |
Expand Down Expand Up @@ -12814,6 +12820,31 @@ paths:
format: date-time
type: string
style: form
- description: |
TODO
example: true
explode: false
in: query
name: unique
required: false
schema:
type: boolean
style: form
- description: |
TODO
example: 5s
explode: false
in: query
name: viewDuration
required: false
schema:
enum:
- 3s
- 5s
- 10s
- 30s
type: string
style: form
- $ref: '#/components/parameters/filterBy_2'
description: "Use this parameter to filter the API's response based on different\
\ data dimensions. You can serialize filters in your query to receive more\
Expand Down Expand Up @@ -13164,6 +13195,8 @@ paths:
- `start` is the number of times playback was started.
- `end` is the number of times playback has ended with the content watch until the end.
- `impression` is the number of times your content has been loaded and was ready for playback.
- `ccv-peak` TODO
- `ccv-average` TODO
explode: false
in: path
name: metric
Expand All @@ -13176,6 +13209,9 @@ paths:
- start
- end
- impression
- ccv-peak
- ccv-average
- view
type: string
style: simple
- description: "Use this path parameter to define a dimension for segmenting\
Expand All @@ -13195,7 +13231,7 @@ paths:
\ based on the operating system used by the viewers. Response values can\
\ include `windows`, `mac osx`, `android`, `ios`, `linux`.\n- `browser`:\
\ Returns analytics based on the browser used by the viewers. Response values\
\ can include `chrome`, `firefox`, `edge`, `opera`.\n"
\ can include `chrome`, `firefox`, `edge`, `opera`.\n- `referrer`: TODO\n"
explode: false
in: path
name: breakdown
Expand All @@ -13209,6 +13245,7 @@ paths:
- device-type
- operating-system
- browser
- referrer
type: string
style: simple
- description: |
Expand Down Expand Up @@ -13276,6 +13313,30 @@ paths:
- desc
type: string
style: form
- description: |
TODO
example: true
explode: false
in: query
name: unique
required: false
schema:
type: boolean
style: form
- description: |
TODO
explode: false
in: query
name: viewDuration
required: false
schema:
enum:
- 3s
- 5s
- 10s
- 30s
type: string
style: form
- $ref: '#/components/parameters/filterBy_2'
description: "Use this parameter to filter the API's response based on different\
\ data dimensions. You can serialize filters in your query to receive more\
Expand Down Expand Up @@ -13670,6 +13731,9 @@ paths:
- start
- end
- impression
- ccv-peak
- ccv-average
- view
type: string
style: simple
- description: |
Expand Down Expand Up @@ -13702,7 +13766,7 @@ paths:
type: string
style: form
- description: |
Use this query parameter to define how granularity of the data. Possible values: `hour`, `day`.
Use this query parameter to define how granularity of the data. Possible values: `minute`, `hour`, `day`.

- Default: If no interval specified and the period (different between from and to) ≤ 2 days then hour, otherwise day.

Expand All @@ -13714,6 +13778,7 @@ paths:
required: false
schema:
enum:
- minute
- hour
- day
type: string
Expand Down Expand Up @@ -13754,6 +13819,30 @@ paths:
- desc
type: string
style: form
- description: |
TODO
example: true
explode: false
in: query
name: unique
required: false
schema:
type: boolean
style: form
- description: |
TODO
explode: false
in: query
name: viewDuration
required: false
schema:
enum:
- 3s
- 5s
- 10s
- 30s
type: string
style: form
- $ref: '#/components/parameters/filterBy_2'
description: "Use this parameter to filter the API's response based on different\
\ data dimensions. You can serialize filters in your query to receive more\
Expand Down
Loading

0 comments on commit 90b6f6f

Please sign in to comment.