Skip to content

Commit 58b12ff

Browse files
authored
Analytics updates
1 parent e23040b commit 58b12ff

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

api/openapi.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,10 @@ components:
846846
\ the browser used by the viewers. Response values can include `chrome`, `firefox`,\
847847
\ `edge`, `opera`.\n- `tag`: Returns analytics for videos using this tag.\
848848
\ This filter only accepts a single value and is case sensitive. Read more\
849-
\ about tagging your videos [here](https://docs.api.video/vod/tags-metadata).\n"
849+
\ about tagging your videos [here](https://docs.api.video/vod/tags-metadata).\n\
850+
- `referrer`: Filters data based on the URL where the view is originating\
851+
\ from. Accepts an empty string as a value to filter view events where no\
852+
\ referrer is available.\n"
850853
example: filterBy[country]=FR&filterBy[operatingSystem]=windows&filterBy[browser][]=firefox&filterBy[browser][]=chrome&filterBy[tag]=Cool
851854
videos
852855
explode: true
@@ -927,6 +930,19 @@ components:
927930
your videos [here](https://docs.api.video/vod/tags-metadata).
928931
example: Cool videos
929932
type: string
933+
referrer:
934+
description: |-
935+
Filters data based on the URL where the view is originating from. This filter parameter accepts an empty string to filter view events where no referrer is available.
936+
937+
- The API filters for exact matches. Include the trailing `/` characters if needed.
938+
- The URLs you add must be URL encoded.
939+
example:
940+
- https%3A%2F%2Fmy-awesome-videos.com
941+
items:
942+
format: uri
943+
maxLength: 2048
944+
type: string
945+
type: array
930946
type: object
931947
x-is-deep-object: true
932948
style: deepObject

0 commit comments

Comments
 (0)