diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-06 10:19:41 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-06 10:20:11 +0200 |
commit | 97ea24045d6b87e4eb93e98032edc956f76825c8 (patch) | |
tree | 6f0d6081006d0a89904c8717db56451ff017cc0b | |
parent | 61b66b361f3e5f6d507188517461c2791d0600e5 (diff) | |
download | PeerTube-97ea24045d6b87e4eb93e98032edc956f76825c8.tar.gz PeerTube-97ea24045d6b87e4eb93e98032edc956f76825c8.tar.zst PeerTube-97ea24045d6b87e4eb93e98032edc956f76825c8.zip |
Fix api doc in video update endpoint
-rw-r--r-- | support/doc/api/html/index.html | 3 | ||||
-rw-r--r-- | support/doc/api/openapi.yaml | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/support/doc/api/html/index.html b/support/doc/api/html/index.html index 59c982546..7c8384f8b 100644 --- a/support/doc/api/html/index.html +++ b/support/doc/api/html/index.html | |||
@@ -3209,8 +3209,7 @@ | |||
3209 | <span class="json-property-type">string</span> | 3209 | <span class="json-property-type">string</span> |
3210 | <span class="json-property-enum" title="Possible values"> | 3210 | <span class="json-property-enum" title="Possible values"> |
3211 | <span class="json-property-enum-item">Public</span>, | 3211 | <span class="json-property-enum-item">Public</span>, |
3212 | <span class="json-property-enum-item">Unlisted</span>, | 3212 | <span class="json-property-enum-item">Unlisted</span> |
3213 | <span class="json-property-enum-item">Private</span> | ||
3214 | </span> | 3213 | </span> |
3215 | <span class="json-property-range" title="Value limits"></span> | 3214 | <span class="json-property-range" title="Value limits"></span> |
3216 | </div> | 3215 | </div> |
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 86dfae69d..e5fe34a1d 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -619,7 +619,7 @@ paths: | |||
619 | - name: privacy | 619 | - name: privacy |
620 | in: formData | 620 | in: formData |
621 | type: string | 621 | type: string |
622 | enum: [Public, Unlisted, Private] | 622 | enum: [Public, Unlisted] |
623 | description: 'Video privacy' | 623 | description: 'Video privacy' |
624 | responses: | 624 | responses: |
625 | '200': | 625 | '200': |