diff options
author | frankstrater <frankstrater@gmail.com> | 2021-06-25 14:18:12 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-06-25 15:00:21 +0200 |
commit | 2370d9cc4af1a91855f0891a8a94da0455ebd724 (patch) | |
tree | e9607574d3af508d6c2cfd3830123f9218beb66e /support | |
parent | 4f97f58383c37d11a8f8ae3ef6e2b761307cb4d0 (diff) | |
download | PeerTube-2370d9cc4af1a91855f0891a8a94da0455ebd724.tar.gz PeerTube-2370d9cc4af1a91855f0891a8a94da0455ebd724.tar.zst PeerTube-2370d9cc4af1a91855f0891a8a94da0455ebd724.zip |
Add downloadEnabled boolean to PUT video
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/api/openapi.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index ada4f1b7b..919905788 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -1740,6 +1740,9 @@ paths: | |||
1740 | commentsEnabled: | 1740 | commentsEnabled: |
1741 | description: Enable or disable comments for this video | 1741 | description: Enable or disable comments for this video |
1742 | type: boolean | 1742 | type: boolean |
1743 | downloadEnabled: | ||
1744 | description: Enable or disable downloading for this video | ||
1745 | type: boolean | ||
1743 | originallyPublishedAt: | 1746 | originallyPublishedAt: |
1744 | description: Date when the content was originally published | 1747 | description: Date when the content was originally published |
1745 | type: string | 1748 | type: string |
@@ -2203,7 +2206,7 @@ paths: | |||
2203 | description: Enable or disable comments for this live video/replay | 2206 | description: Enable or disable comments for this live video/replay |
2204 | type: boolean | 2207 | type: boolean |
2205 | downloadEnabled: | 2208 | downloadEnabled: |
2206 | description: Enable or disable downloading for the replay of this live | 2209 | description: Enable or disable downloading for the replay of this live video |
2207 | type: boolean | 2210 | type: boolean |
2208 | required: | 2211 | required: |
2209 | - channelId | 2212 | - channelId |