diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/api/openapi.yaml | 4 | ||||
-rw-r--r-- | support/doc/production.md | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 9922a3216..464dcfbce 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -3822,6 +3822,7 @@ components: | |||
3822 | format: url | 3822 | format: url |
3823 | files: | 3823 | files: |
3824 | type: array | 3824 | type: array |
3825 | description: 'Video files associated to this playlist. The difference with the root "files" property is that these files are fragmented, so they can be used in this streaming playlist (HLS etc)' | ||
3825 | items: | 3826 | items: |
3826 | $ref: '#/components/schemas/VideoFile' | 3827 | $ref: '#/components/schemas/VideoFile' |
3827 | redundancies: | 3828 | redundancies: |
@@ -3886,7 +3887,7 @@ components: | |||
3886 | example: /static/thumbnails/a65bc12f-9383-462e-81ae-8207e8b434ee.jpg | 3887 | example: /static/thumbnails/a65bc12f-9383-462e-81ae-8207e8b434ee.jpg |
3887 | previewPath: | 3888 | previewPath: |
3888 | type: string | 3889 | type: string |
3889 | example: /static/previews/a65bc12f-9383-462e-81ae-8207e8b434ee.jpg | 3890 | example: /lazy-static/previews/a65bc12f-9383-462e-81ae-8207e8b434ee.jpg |
3890 | embedPath: | 3891 | embedPath: |
3891 | type: string | 3892 | type: string |
3892 | example: /videos/embed/a65bc12f-9383-462e-81ae-8207e8b434ee | 3893 | example: /videos/embed/a65bc12f-9383-462e-81ae-8207e8b434ee |
@@ -3948,6 +3949,7 @@ components: | |||
3948 | example: [flowers, gardening] | 3949 | example: [flowers, gardening] |
3949 | files: | 3950 | files: |
3950 | type: array | 3951 | type: array |
3952 | description: 'WebTorrent/raw video files. Can be empty if WebTorrent is disabled on the server. In this case, video files will be in the "streamingPlaylists[].files" property' | ||
3951 | items: | 3953 | items: |
3952 | $ref: '#/components/schemas/VideoFile' | 3954 | $ref: '#/components/schemas/VideoFile' |
3953 | commentsEnabled: | 3955 | commentsEnabled: |
diff --git a/support/doc/production.md b/support/doc/production.md index effbb0cb2..5476a0522 100644 --- a/support/doc/production.md +++ b/support/doc/production.md | |||
@@ -160,7 +160,7 @@ If your OS uses systemd, copy the configuration template: | |||
160 | $ sudo cp /var/www/peertube/peertube-latest/support/systemd/peertube.service /etc/systemd/system/ | 160 | $ sudo cp /var/www/peertube/peertube-latest/support/systemd/peertube.service /etc/systemd/system/ |
161 | ``` | 161 | ``` |
162 | 162 | ||
163 | Update the service file: | 163 | Check the service file (PeerTube paths and security directives): |
164 | 164 | ||
165 | ``` | 165 | ``` |
166 | $ sudo vim /etc/systemd/system/peertube.service | 166 | $ sudo vim /etc/systemd/system/peertube.service |