aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-05 14:12:57 +0200
committerChocobozzz <me@florianbigard.com>2022-05-05 14:13:14 +0200
commit49f0468d44468528c2fb2c8b0efd19cdaeeec43d (patch)
tree4fd07d5da74506729a1cbbe67548bfd9c6c76849 /support/doc/api
parentf18a060a83d7053897173b2a24fb7984893131c7 (diff)
downloadPeerTube-49f0468d44468528c2fb2c8b0efd19cdaeeec43d.tar.gz
PeerTube-49f0468d44468528c2fb2c8b0efd19cdaeeec43d.tar.zst
PeerTube-49f0468d44468528c2fb2c8b0efd19cdaeeec43d.zip
Add filter by start/end date overall stats in api
Diffstat (limited to 'support/doc/api')
-rw-r--r--support/doc/api/openapi.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 95670925f..294aa50ab 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -1952,6 +1952,18 @@ paths:
1952 - OAuth2: [] 1952 - OAuth2: []
1953 parameters: 1953 parameters:
1954 - $ref: '#/components/parameters/idOrUUID' 1954 - $ref: '#/components/parameters/idOrUUID'
1955 - name: startDate
1956 in: query
1957 description: Filter stats by start date
1958 schema:
1959 type: string
1960 format: date-time
1961 - name: endDate
1962 in: query
1963 description: Filter stats by end date
1964 schema:
1965 type: string
1966 format: date-time
1955 responses: 1967 responses:
1956 '200': 1968 '200':
1957 description: successful operation 1969 description: successful operation
@@ -1996,6 +2008,18 @@ paths:
1996 enum: 2008 enum:
1997 - 'viewers' 2009 - 'viewers'
1998 - 'aggregateWatchTime' 2010 - 'aggregateWatchTime'
2011 - name: startDate
2012 in: query
2013 description: Filter stats by start date
2014 schema:
2015 type: string
2016 format: date-time
2017 - name: endDate
2018 in: query
2019 description: Filter stats by end date
2020 schema:
2021 type: string
2022 format: date-time
1999 responses: 2023 responses:
2000 '200': 2024 '200':
2001 description: successful operation 2025 description: successful operation