diff options
author | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-06 19:17:21 +0200 |
---|---|---|
committer | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-06 19:17:39 +0200 |
commit | 156c50af3085468a47b8ae73fe8cfcae46b42398 (patch) | |
tree | f316355ebea2550c201a880cfc9f9b724bf0f7fd /support | |
parent | 35d50b7dd26b3cf646b8845784927bb1ef18dfb3 (diff) | |
download | PeerTube-156c50af3085468a47b8ae73fe8cfcae46b42398.tar.gz PeerTube-156c50af3085468a47b8ae73fe8cfcae46b42398.tar.zst PeerTube-156c50af3085468a47b8ae73fe8cfcae46b42398.zip |
Add downloadingEnabled property to video model
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/api/openapi.yaml | 2 | ||||
-rw-r--r-- | support/doc/api/videos.yaml | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 59ca8b29a..9ce24c0ed 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -536,6 +536,7 @@ paths: | |||
536 | - $ref: "videos.yaml#/parameters/name" | 536 | - $ref: "videos.yaml#/parameters/name" |
537 | - $ref: "videos.yaml#/parameters/tags" | 537 | - $ref: "videos.yaml#/parameters/tags" |
538 | - $ref: "videos.yaml#/parameters/commentsEnabled" | 538 | - $ref: "videos.yaml#/parameters/commentsEnabled" |
539 | - $ref: "videos.yaml#/parameters/downloadingEnabled" | ||
539 | - $ref: "videos.yaml#/parameters/privacy" | 540 | - $ref: "videos.yaml#/parameters/privacy" |
540 | - $ref: "videos.yaml#/parameters/scheduleUpdate" | 541 | - $ref: "videos.yaml#/parameters/scheduleUpdate" |
541 | responses: | 542 | responses: |
@@ -632,6 +633,7 @@ paths: | |||
632 | - $ref: "videos.yaml#/parameters/name" | 633 | - $ref: "videos.yaml#/parameters/name" |
633 | - $ref: "videos.yaml#/parameters/tags" | 634 | - $ref: "videos.yaml#/parameters/tags" |
634 | - $ref: "videos.yaml#/parameters/commentsEnabled" | 635 | - $ref: "videos.yaml#/parameters/commentsEnabled" |
636 | - $ref: "videos.yaml#/parameters/downloadingEnabled" | ||
635 | - $ref: "videos.yaml#/parameters/privacy" | 637 | - $ref: "videos.yaml#/parameters/privacy" |
636 | - $ref: "videos.yaml#/parameters/scheduleUpdate" | 638 | - $ref: "videos.yaml#/parameters/scheduleUpdate" |
637 | responses: | 639 | responses: |
diff --git a/support/doc/api/videos.yaml b/support/doc/api/videos.yaml index 593ae56e2..93aa26285 100644 --- a/support/doc/api/videos.yaml +++ b/support/doc/api/videos.yaml | |||
@@ -65,6 +65,11 @@ parameters: | |||
65 | in: formData | 65 | in: formData |
66 | type: boolean | 66 | type: boolean |
67 | description: 'Enable or disable comments for this video' | 67 | description: 'Enable or disable comments for this video' |
68 | downloadingEnabled: | ||
69 | name: downloadingEnabled | ||
70 | in: formData | ||
71 | type: boolean | ||
72 | description: 'Enable or disable downloading for this video' | ||
68 | privacy: | 73 | privacy: |
69 | name: privacy | 74 | name: privacy |
70 | in: formData | 75 | in: formData |