diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-12 20:04:58 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-12 20:37:51 +0200 |
commit | 2186386cca113506791583cb07d6ccacba7af4e0 (patch) | |
tree | 3c214c0b5fbd64332624267fa6e51fd4a9cf6474 /support/doc/api | |
parent | 6ccdf3a23ecec5ba2eeaf487fd1fafdc7606b4bf (diff) | |
download | PeerTube-2186386cca113506791583cb07d6ccacba7af4e0.tar.gz PeerTube-2186386cca113506791583cb07d6ccacba7af4e0.tar.zst PeerTube-2186386cca113506791583cb07d6ccacba7af4e0.zip |
Add concept of video state, and add ability to wait transcoding before
publishing a video
Diffstat (limited to 'support/doc/api')
-rw-r--r-- | support/doc/api/html/index.html | 26 | ||||
-rw-r--r-- | support/doc/api/openapi.yaml | 8 |
2 files changed, 34 insertions, 0 deletions
diff --git a/support/doc/api/html/index.html b/support/doc/api/html/index.html index b75a2a8ba..e1bf61b06 100644 --- a/support/doc/api/html/index.html +++ b/support/doc/api/html/index.html | |||
@@ -3437,6 +3437,19 @@ | |||
3437 | </div> | 3437 | </div> |
3438 | <div class="prop-row prop-group"> | 3438 | <div class="prop-row prop-group"> |
3439 | <div class="prop-name"> | 3439 | <div class="prop-name"> |
3440 | <div class="prop-title">waitTranscoding</div> | ||
3441 | <div class="prop-subtitle"> in formData </div> | ||
3442 | <div class="prop-subtitle"> | ||
3443 | <span class="json-property-type">boolean</span> | ||
3444 | <span class="json-property-range" title="Value limits"></span> | ||
3445 | </div> | ||
3446 | </div> | ||
3447 | <div class="prop-value"> | ||
3448 | <p>Whether or not we wait transcoding before publish the video</p> | ||
3449 | </div> | ||
3450 | </div> | ||
3451 | <div class="prop-row prop-group"> | ||
3452 | <div class="prop-name"> | ||
3440 | <div class="prop-title">support</div> | 3453 | <div class="prop-title">support</div> |
3441 | <div class="prop-subtitle"> in formData </div> | 3454 | <div class="prop-subtitle"> in formData </div> |
3442 | <div class="prop-subtitle"> | 3455 | <div class="prop-subtitle"> |
@@ -4011,6 +4024,19 @@ | |||
4011 | </div> | 4024 | </div> |
4012 | <div class="prop-row prop-group"> | 4025 | <div class="prop-row prop-group"> |
4013 | <div class="prop-name"> | 4026 | <div class="prop-name"> |
4027 | <div class="prop-title">waitTranscoding</div> | ||
4028 | <div class="prop-subtitle"> in formData </div> | ||
4029 | <div class="prop-subtitle"> | ||
4030 | <span class="json-property-type">boolean</span> | ||
4031 | <span class="json-property-range" title="Value limits"></span> | ||
4032 | </div> | ||
4033 | </div> | ||
4034 | <div class="prop-value"> | ||
4035 | <p>Whether or not we wait transcoding before publish the video</p> | ||
4036 | </div> | ||
4037 | </div> | ||
4038 | <div class="prop-row prop-group"> | ||
4039 | <div class="prop-name"> | ||
4014 | <div class="prop-title">licence</div> | 4040 | <div class="prop-title">licence</div> |
4015 | <div class="prop-subtitle"> in formData </div> | 4041 | <div class="prop-subtitle"> in formData </div> |
4016 | <div class="prop-subtitle"> | 4042 | <div class="prop-subtitle"> |
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index a1e286973..be40af570 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -682,6 +682,10 @@ paths: | |||
682 | in: formData | 682 | in: formData |
683 | type: string | 683 | type: string |
684 | description: 'Video description' | 684 | description: 'Video description' |
685 | - name: waitTranscoding | ||
686 | in: formData | ||
687 | type: boolean | ||
688 | description: 'Whether or not we wait transcoding before publish the video' | ||
685 | - name: support | 689 | - name: support |
686 | in: formData | 690 | in: formData |
687 | type: string | 691 | type: string |
@@ -814,6 +818,10 @@ paths: | |||
814 | in: formData | 818 | in: formData |
815 | type: number | 819 | type: number |
816 | description: 'Video category' | 820 | description: 'Video category' |
821 | - name: waitTranscoding | ||
822 | in: formData | ||
823 | type: boolean | ||
824 | description: 'Whether or not we wait transcoding before publish the video' | ||
817 | - name: licence | 825 | - name: licence |
818 | in: formData | 826 | in: formData |
819 | type: number | 827 | type: number |