From 58b12ffa786271e53becff0b7a58707138335af0 Mon Sep 17 00:00:00 2001 From: szekelyzol Date: Mon, 4 Nov 2024 14:40:15 +0000 Subject: [PATCH] Analytics updates --- api/openapi.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index c7cb3d3..d5adebf 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -846,7 +846,10 @@ components: \ the browser used by the viewers. Response values can include `chrome`, `firefox`,\ \ `edge`, `opera`.\n- `tag`: Returns analytics for videos using this tag.\ \ This filter only accepts a single value and is case sensitive. Read more\ - \ about tagging your videos [here](https://docs.api.video/vod/tags-metadata).\n" + \ about tagging your videos [here](https://docs.api.video/vod/tags-metadata).\n\ + - `referrer`: Filters data based on the URL where the view is originating\ + \ from. Accepts an empty string as a value to filter view events where no\ + \ referrer is available.\n" example: filterBy[country]=FR&filterBy[operatingSystem]=windows&filterBy[browser][]=firefox&filterBy[browser][]=chrome&filterBy[tag]=Cool videos explode: true @@ -927,6 +930,19 @@ components: your videos [here](https://docs.api.video/vod/tags-metadata). example: Cool videos type: string + referrer: + description: |- + 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. + + - The API filters for exact matches. Include the trailing `/` characters if needed. + - The URLs you add must be URL encoded. + example: + - https%3A%2F%2Fmy-awesome-videos.com + items: + format: uri + maxLength: 2048 + type: string + type: array type: object x-is-deep-object: true style: deepObject