aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/doc/api/openapi.yaml241
-rw-r--r--support/doc/production.md2
2 files changed, 170 insertions, 73 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index a63ee7983..d4fe15664 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -210,6 +210,7 @@ paths:
210 parameters: 210 parameters:
211 - $ref: '#/components/parameters/name' 211 - $ref: '#/components/parameters/name'
212 - $ref: '#/components/parameters/categoryOneOf' 212 - $ref: '#/components/parameters/categoryOneOf'
213 - $ref: '#/components/parameters/isLive'
213 - $ref: '#/components/parameters/tagsOneOf' 214 - $ref: '#/components/parameters/tagsOneOf'
214 - $ref: '#/components/parameters/tagsAllOf' 215 - $ref: '#/components/parameters/tagsAllOf'
215 - $ref: '#/components/parameters/licenceOneOf' 216 - $ref: '#/components/parameters/licenceOneOf'
@@ -781,6 +782,7 @@ paths:
781 - Videos 782 - Videos
782 parameters: 783 parameters:
783 - $ref: '#/components/parameters/categoryOneOf' 784 - $ref: '#/components/parameters/categoryOneOf'
785 - $ref: '#/components/parameters/isLive'
784 - $ref: '#/components/parameters/tagsOneOf' 786 - $ref: '#/components/parameters/tagsOneOf'
785 - $ref: '#/components/parameters/tagsAllOf' 787 - $ref: '#/components/parameters/tagsAllOf'
786 - $ref: '#/components/parameters/licenceOneOf' 788 - $ref: '#/components/parameters/licenceOneOf'
@@ -1086,6 +1088,7 @@ paths:
1086 - Video 1088 - Video
1087 parameters: 1089 parameters:
1088 - $ref: '#/components/parameters/categoryOneOf' 1090 - $ref: '#/components/parameters/categoryOneOf'
1091 - $ref: '#/components/parameters/isLive'
1089 - $ref: '#/components/parameters/tagsOneOf' 1092 - $ref: '#/components/parameters/tagsOneOf'
1090 - $ref: '#/components/parameters/tagsAllOf' 1093 - $ref: '#/components/parameters/tagsAllOf'
1091 - $ref: '#/components/parameters/licenceOneOf' 1094 - $ref: '#/components/parameters/licenceOneOf'
@@ -1226,6 +1229,8 @@ paths:
1226 name: 1229 name:
1227 description: Video name 1230 description: Video name
1228 type: string 1231 type: string
1232 minLength: 3
1233 maxLength: 120
1229 tags: 1234 tags:
1230 description: Video tags (maximum 5 tags each between 2 and 30 characters) 1235 description: Video tags (maximum 5 tags each between 2 and 30 characters)
1231 type: array 1236 type: array
@@ -1397,6 +1402,8 @@ paths:
1397 name: 1402 name:
1398 description: Video name 1403 description: Video name
1399 type: string 1404 type: string
1405 minLength: 3
1406 maxLength: 120
1400 tags: 1407 tags:
1401 description: Video tags (maximum 5 tags each between 2 and 30 characters) 1408 description: Video tags (maximum 5 tags each between 2 and 30 characters)
1402 type: array 1409 type: array
@@ -1523,6 +1530,8 @@ paths:
1523 name: 1530 name:
1524 description: Video name 1531 description: Video name
1525 type: string 1532 type: string
1533 minLength: 3
1534 maxLength: 120
1526 tags: 1535 tags:
1527 description: Video tags (maximum 5 tags each between 2 and 30 characters) 1536 description: Video tags (maximum 5 tags each between 2 and 30 characters)
1528 type: array 1537 type: array
@@ -1627,6 +1636,8 @@ paths:
1627 name: 1636 name:
1628 description: Live video/replay name 1637 description: Live video/replay name
1629 type: string 1638 type: string
1639 minLength: 3
1640 maxLength: 120
1630 tags: 1641 tags:
1631 description: Live video/replay tags (maximum 5 tags each between 2 and 30 characters) 1642 description: Live video/replay tags (maximum 5 tags each between 2 and 30 characters)
1632 type: array 1643 type: array
@@ -1816,10 +1827,10 @@ paths:
1816 reason: 1827 reason:
1817 description: Reason why the user reports this video 1828 description: Reason why the user reports this video
1818 type: string 1829 type: string
1819 minLength: 4 1830 minLength: 2
1831 maxLength: 3000
1820 predefinedReasons: 1832 predefinedReasons:
1821 $ref: '#/components/schemas/PredefinedAbuseReasons' 1833 $ref: '#/components/schemas/PredefinedAbuseReasons'
1822
1823 video: 1834 video:
1824 type: object 1835 type: object
1825 properties: 1836 properties:
@@ -1875,6 +1886,8 @@ paths:
1875 moderationComment: 1886 moderationComment:
1876 type: string 1887 type: string
1877 description: Update the report comment visible only to the moderation team 1888 description: Update the report comment visible only to the moderation team
1889 minLength: 2
1890 maxLength: 3000
1878 responses: 1891 responses:
1879 '204': 1892 '204':
1880 description: successful operation 1893 description: successful operation
@@ -1932,6 +1945,8 @@ paths:
1932 message: 1945 message:
1933 description: Message to send 1946 description: Message to send
1934 type: string 1947 type: string
1948 minLength: 2
1949 maxLength: 3000
1935 required: 1950 required:
1936 - message 1951 - message
1937 responses: 1952 responses:
@@ -2182,6 +2197,7 @@ paths:
2182 parameters: 2197 parameters:
2183 - $ref: '#/components/parameters/channelHandle' 2198 - $ref: '#/components/parameters/channelHandle'
2184 - $ref: '#/components/parameters/categoryOneOf' 2199 - $ref: '#/components/parameters/categoryOneOf'
2200 - $ref: '#/components/parameters/isLive'
2185 - $ref: '#/components/parameters/tagsOneOf' 2201 - $ref: '#/components/parameters/tagsOneOf'
2186 - $ref: '#/components/parameters/tagsAllOf' 2202 - $ref: '#/components/parameters/tagsAllOf'
2187 - $ref: '#/components/parameters/licenceOneOf' 2203 - $ref: '#/components/parameters/licenceOneOf'
@@ -2369,7 +2385,7 @@ paths:
2369 id: 2385 id:
2370 type: integer 2386 type: integer
2371 uuid: 2387 uuid:
2372 type: string 2388 $ref: '#/components/schemas/UUIDv4'
2373 requestBody: 2389 requestBody:
2374 content: 2390 content:
2375 multipart/form-data: 2391 multipart/form-data:
@@ -2379,6 +2395,8 @@ paths:
2379 displayName: 2395 displayName:
2380 description: Video playlist display name 2396 description: Video playlist display name
2381 type: string 2397 type: string
2398 minLength: 1
2399 maxLength: 120
2382 thumbnailfile: 2400 thumbnailfile:
2383 description: Video playlist thumbnail file 2401 description: Video playlist thumbnail file
2384 type: string 2402 type: string
@@ -2432,6 +2450,8 @@ paths:
2432 displayName: 2450 displayName:
2433 description: Video playlist display name 2451 description: Video playlist display name
2434 type: string 2452 type: string
2453 minLength: 1
2454 maxLength: 120
2435 thumbnailfile: 2455 thumbnailfile:
2436 description: Video playlist thumbnail file 2456 description: Video playlist thumbnail file
2437 type: string 2457 type: string
@@ -2825,6 +2845,7 @@ paths:
2825 schema: 2845 schema:
2826 type: string 2846 type: string
2827 - $ref: '#/components/parameters/categoryOneOf' 2847 - $ref: '#/components/parameters/categoryOneOf'
2848 - $ref: '#/components/parameters/isLive'
2828 - $ref: '#/components/parameters/tagsOneOf' 2849 - $ref: '#/components/parameters/tagsOneOf'
2829 - $ref: '#/components/parameters/tagsAllOf' 2850 - $ref: '#/components/parameters/tagsAllOf'
2830 - $ref: '#/components/parameters/licenceOneOf' 2851 - $ref: '#/components/parameters/licenceOneOf'
@@ -3732,9 +3753,7 @@ components:
3732 - type: integer 3753 - type: integer
3733 minimum: 0 3754 minimum: 0
3734 example: 42 3755 example: 42
3735 - type: string 3756 - $ref: '#/components/schemas/UUIDv4'
3736 format: uuid
3737 example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
3738 playlistElementId: 3757 playlistElementId:
3739 name: playlistElementId 3758 name: playlistElementId
3740 in: path 3759 in: path
@@ -3793,6 +3812,13 @@ components:
3793 description: The comment id 3812 description: The comment id
3794 schema: 3813 schema:
3795 type: integer 3814 type: integer
3815 isLive:
3816 name: isLive
3817 in: query
3818 required: false
3819 description: whether or not the video is a live
3820 schema:
3821 type: boolean
3796 categoryOneOf: 3822 categoryOneOf:
3797 name: categoryOneOf 3823 name: categoryOneOf
3798 in: query 3824 in: query
@@ -3955,16 +3981,35 @@ components:
3955 moderator: Moderator scope 3981 moderator: Moderator scope
3956 user: User scope 3982 user: User scope
3957 schemas: 3983 schemas:
3958 VideoConstantNumber: 3984 UUIDv4:
3985 type: string
3986 format: uuid
3987 example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
3988 pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
3989 # the regex above limits the length;
3990 # however, some tools might require explicit settings:
3991 minLength: 36
3992 maxLength: 36
3993
3994 VideoConstantNumber-Category:
3995 properties:
3996 id:
3997 type: integer
3998 description: category id of the video (see [/videos/categories](#tag/Video/paths/~1videos~1categories/get))
3999 label:
4000 type: string
4001 VideoConstantNumber-Licence:
3959 properties: 4002 properties:
3960 id: 4003 id:
3961 type: integer 4004 type: integer
4005 description: licence id of the video (see [/videos/licences](#tag/Video/paths/~1videos~1licences/get))
3962 label: 4006 label:
3963 type: string 4007 type: string
3964 VideoConstantString: 4008 VideoConstantString-Language:
3965 properties: 4009 properties:
3966 id: 4010 id:
3967 type: string 4011 type: string
4012 description: language id of the video (see [/videos/languages](#tag/Video/paths/~1videos~1languages/get))
3968 label: 4013 label:
3969 type: string 4014 type: string
3970 4015
@@ -4171,14 +4216,21 @@ components:
4171 type: string 4216 type: string
4172 format: url 4217 format: url
4173 VideoStreamingPlaylists: 4218 VideoStreamingPlaylists:
4219 allOf:
4220 - type: object
4221 properties:
4222 id:
4223 type: integer
4224 type:
4225 type: integer
4226 enum:
4227 - 1
4228 description: |
4229 Playlist type:
4230 - `1`: HLS
4231 - $ref: '#/components/schemas/VideoStreamingPlaylists-HLS'
4232 VideoStreamingPlaylists-HLS:
4174 properties: 4233 properties:
4175 id:
4176 type: integer
4177 type:
4178 type: integer
4179 enum:
4180 - 1
4181 description: 'Playlist type (HLS = `1`)'
4182 playlistUrl: 4234 playlistUrl:
4183 type: string 4235 type: string
4184 format: url 4236 format: url
@@ -4187,7 +4239,10 @@ components:
4187 format: url 4239 format: url
4188 files: 4240 files:
4189 type: array 4241 type: array
4190 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)' 4242 description: |
4243 Video files associated to this playlist.
4244
4245 The difference with the root `files` property is that these files are fragmented, so they can be used in this streaming playlist (HLS, etc.)
4191 items: 4246 items:
4192 $ref: '#/components/schemas/VideoFile' 4247 $ref: '#/components/schemas/VideoFile'
4193 redundancies: 4248 redundancies:
@@ -4203,52 +4258,69 @@ components:
4203 id: 4258 id:
4204 type: integer 4259 type: integer
4205 uuid: 4260 uuid:
4206 type: string 4261 $ref: '#/components/schemas/UUIDv4'
4207 format: uuid
4208 example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
4209 name: 4262 name:
4210 type: string 4263 type: string
4264 minLength: 3
4265 maxLength: 120
4211 Video: 4266 Video:
4212 properties: 4267 properties:
4213 id: 4268 id:
4214 type: integer 4269 type: integer
4215 example: 8 4270 example: 8
4216 uuid: 4271 uuid:
4217 type: string 4272 $ref: '#/components/schemas/UUIDv4'
4218 format: uuid
4219 example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
4220 isLive: 4273 isLive:
4221 type: boolean 4274 type: boolean
4222 createdAt: 4275 createdAt:
4223 type: string 4276 type: string
4224 format: date-time 4277 format: date-time
4278 example: 2017-10-01T10:52:46.396Z
4279 description: time at which the video object was first drafted
4225 publishedAt: 4280 publishedAt:
4226 type: string 4281 type: string
4227 format: date-time 4282 format: date-time
4283 example: 2018-10-01T10:52:46.396Z
4284 description: time at which the video was marked as ready for playback (with restrictions depending on `privacy`). Usually set after a `state` evolution.
4228 updatedAt: 4285 updatedAt:
4229 type: string 4286 type: string
4230 format: date-time 4287 format: date-time
4288 example: 2021-05-04T08:01:01.502Z
4289 description: last time the video's metadata was modified
4231 originallyPublishedAt: 4290 originallyPublishedAt:
4232 type: string 4291 type: string
4233 format: date-time 4292 format: date-time
4293 example: 2010-10-01T10:52:46.396Z
4294 description: used to represent a date of first publication, prior to the practical publication date of `publishedAt`
4234 category: 4295 category:
4235 $ref: '#/components/schemas/VideoConstantNumber' 4296 $ref: '#/components/schemas/VideoConstantNumber-Category'
4236 licence: 4297 licence:
4237 $ref: '#/components/schemas/VideoConstantNumber' 4298 $ref: '#/components/schemas/VideoConstantNumber-Licence'
4238 language: 4299 language:
4239 $ref: '#/components/schemas/VideoConstantString' 4300 $ref: '#/components/schemas/VideoConstantString-Language'
4240 privacy: 4301 privacy:
4241 $ref: '#/components/schemas/VideoPrivacyConstant' 4302 $ref: '#/components/schemas/VideoPrivacyConstant'
4242 description: 4303 description:
4243 type: string 4304 type: string
4305 example: |
4306 **[Want to help to translate this video?](https://weblate.framasoft.org/projects/what-is-peertube-video/)**\r\n\r\n
4307 **Take back the control of your videos! [#JoinPeertube](https://joinpeertube.org)**\r\n*A decentralized video hosting network, based on fr...
4308 minLength: 3
4309 maxLength: 250
4310 description: |
4311 truncated description of the video, written in Markdown.
4312 Resolve `descriptionPath` to get the full description of maximum `10000` characters.
4244 duration: 4313 duration:
4245 type: integer 4314 type: integer
4246 example: 1419 4315 example: 1419
4316 description: duration of the video in seconds
4247 isLocal: 4317 isLocal:
4248 type: boolean 4318 type: boolean
4249 name: 4319 name:
4250 type: string 4320 type: string
4251 example: What is PeerTube? 4321 example: What is PeerTube?
4322 minLength: 3
4323 maxLength: 120
4252 thumbnailPath: 4324 thumbnailPath:
4253 type: string 4325 type: string
4254 example: /static/thumbnails/a65bc12f-9383-462e-81ae-8207e8b434ee.jpg 4326 example: /static/thumbnails/a65bc12f-9383-462e-81ae-8207e8b434ee.jpg
@@ -4301,24 +4373,27 @@ components:
4301 properties: 4373 properties:
4302 descriptionPath: 4374 descriptionPath:
4303 type: string 4375 type: string
4376 example: /api/v1/videos/9c9de5e8-0a1e-484a-b099-e80766180a6d/description
4377 description: path at which to get the full description of maximum `10000` characters
4304 support: 4378 support:
4305 type: string 4379 type: string
4306 description: A text tell the audience how to support the video creator 4380 description: A text tell the audience how to support the video creator
4307 example: Please support my work on <insert crowdfunding plateform>! <3 4381 example: Please support my work on <insert crowdfunding plateform>! <3
4382 minLength: 3
4383 maxLength: 1000
4308 channel: 4384 channel:
4309 $ref: '#/components/schemas/VideoChannel' 4385 $ref: '#/components/schemas/VideoChannel'
4310 account: 4386 account:
4311 $ref: '#/components/schemas/Account' 4387 $ref: '#/components/schemas/Account'
4312 tags: 4388 tags:
4313 type: array
4314 items:
4315 type: string
4316 example: [flowers, gardening] 4389 example: [flowers, gardening]
4317 files:
4318 type: array 4390 type: array
4319 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' 4391 minItems: 1
4392 maxItems: 5
4320 items: 4393 items:
4321 $ref: '#/components/schemas/VideoFile' 4394 type: string
4395 minLength: 2
4396 maxLength: 30
4322 commentsEnabled: 4397 commentsEnabled:
4323 type: boolean 4398 type: boolean
4324 downloadEnabled: 4399 downloadEnabled:
@@ -4328,10 +4403,24 @@ components:
4328 items: 4403 items:
4329 type: string 4404 type: string
4330 format: url 4405 format: url
4406 files:
4407 type: array
4408 items:
4409 $ref: '#/components/schemas/VideoFile'
4410 description: |
4411 WebTorrent/raw video files. If WebTorrent is disabled on the server:
4412
4413 - field will be empty
4414 - video files will be found in `streamingPlaylists[].files` field
4331 streamingPlaylists: 4415 streamingPlaylists:
4332 type: array 4416 type: array
4333 items: 4417 items:
4334 $ref: '#/components/schemas/VideoStreamingPlaylists' 4418 $ref: '#/components/schemas/VideoStreamingPlaylists'
4419 description: |
4420 HLS playlists/manifest files. If HLS is disabled on the server:
4421
4422 - field will be empty
4423 - video files will be found in `files` field
4335 FileRedundancyInformation: 4424 FileRedundancyInformation:
4336 properties: 4425 properties:
4337 id: 4426 id:
@@ -4367,9 +4456,7 @@ components:
4367 type: string 4456 type: string
4368 format: url 4457 format: url
4369 uuid: 4458 uuid:
4370 type: string 4459 $ref: '#/components/schemas/UUIDv4'
4371 format: uuid
4372 example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
4373 redundancies: 4460 redundancies:
4374 type: object 4461 type: object
4375 properties: 4462 properties:
@@ -4428,6 +4515,8 @@ components:
4428 reason: 4515 reason:
4429 type: string 4516 type: string
4430 example: The video is a spam 4517 example: The video is a spam
4518 minLength: 2
4519 maxLength: 3000
4431 predefinedReasons: 4520 predefinedReasons:
4432 $ref: '#/components/schemas/AbusePredefinedReasons' 4521 $ref: '#/components/schemas/AbusePredefinedReasons'
4433 reporterAccount: 4522 reporterAccount:
@@ -4437,17 +4526,10 @@ components:
4437 moderationComment: 4526 moderationComment:
4438 type: string 4527 type: string
4439 example: Decided to ban the server since it spams us regularly 4528 example: Decided to ban the server since it spams us regularly
4529 minLength: 2
4530 maxLength: 3000
4440 video: 4531 video:
4441 type: object 4532 $ref: '#/components/schemas/VideoInfo'
4442 properties:
4443 id:
4444 type: integer
4445 name:
4446 type: string
4447 uuid:
4448 type: string
4449 format: uuid
4450 example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
4451 createdAt: 4533 createdAt:
4452 type: string 4534 type: string
4453 format: date-time 4535 format: date-time
@@ -4457,6 +4539,8 @@ components:
4457 type: integer 4539 type: integer
4458 message: 4540 message:
4459 type: string 4541 type: string
4542 minLength: 2
4543 maxLength: 3000
4460 byModerator: 4544 byModerator:
4461 type: boolean 4545 type: boolean
4462 createdAt: 4546 createdAt:
@@ -4478,12 +4562,14 @@ components:
4478 format: date-time 4562 format: date-time
4479 name: 4563 name:
4480 type: string 4564 type: string
4565 minLength: 3
4566 maxLength: 120
4481 uuid: 4567 uuid:
4482 type: string 4568 $ref: '#/components/schemas/UUIDv4'
4483 format: uuid
4484 example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
4485 description: 4569 description:
4486 type: string 4570 type: string
4571 minLength: 3
4572 maxLength: 10000
4487 duration: 4573 duration:
4488 type: integer 4574 type: integer
4489 views: 4575 views:
@@ -4498,8 +4584,12 @@ components:
4498 properties: 4584 properties:
4499 displayName: 4585 displayName:
4500 type: string 4586 type: string
4587 minLength: 1
4588 maxLength: 120
4501 description: 4589 description:
4502 type: string 4590 type: string
4591 minLength: 3
4592 maxLength: 1000
4503 isLocal: 4593 isLocal:
4504 type: boolean 4594 type: boolean
4505 ownerAccount: 4595 ownerAccount:
@@ -4508,9 +4598,7 @@ components:
4508 id: 4598 id:
4509 type: integer 4599 type: integer
4510 uuid: 4600 uuid:
4511 type: string 4601 $ref: '#/components/schemas/UUIDv4'
4512 format: uuid
4513 example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
4514 VideoPlaylist: 4602 VideoPlaylist:
4515 properties: 4603 properties:
4516 id: 4604 id:
@@ -4523,12 +4611,14 @@ components:
4523 format: date-time 4611 format: date-time
4524 description: 4612 description:
4525 type: string 4613 type: string
4614 minLength: 3
4615 maxLength: 1000
4526 uuid: 4616 uuid:
4527 type: string 4617 $ref: '#/components/schemas/UUIDv4'
4528 format: uuid
4529 example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
4530 displayName: 4618 displayName:
4531 type: string 4619 type: string
4620 minLength: 1
4621 maxLength: 120
4532 isLocal: 4622 isLocal:
4533 type: boolean 4623 type: boolean
4534 videoLength: 4624 videoLength:
@@ -4552,6 +4642,8 @@ components:
4552 format: url 4642 format: url
4553 text: 4643 text:
4554 type: string 4644 type: string
4645 minLength: 1
4646 maxLength: 10000
4555 threadId: 4647 threadId:
4556 type: integer 4648 type: integer
4557 inReplyToCommentId: 4649 inReplyToCommentId:
@@ -4581,7 +4673,7 @@ components:
4581 VideoCaption: 4673 VideoCaption:
4582 properties: 4674 properties:
4583 language: 4675 language:
4584 $ref: '#/components/schemas/VideoConstantString' 4676 $ref: '#/components/schemas/VideoConstantString-Language'
4585 captionPath: 4677 captionPath:
4586 type: string 4678 type: string
4587 ActorImage: 4679 ActorImage:
@@ -5119,9 +5211,7 @@ components:
5119 type: integer 5211 type: integer
5120 example: 8 5212 example: 8
5121 uuid: 5213 uuid:
5122 type: string 5214 $ref: '#/components/schemas/UUIDv4'
5123 format: uuid
5124 example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
5125 CommentThreadResponse: 5215 CommentThreadResponse:
5126 properties: 5216 properties:
5127 total: 5217 total:
@@ -5370,34 +5460,41 @@ components:
5370 - username 5460 - username
5371 - password 5461 - password
5372 - email 5462 - email
5373 VideoChannelCreate: 5463
5464 VideoChannelCommon:
5374 properties: 5465 properties:
5375 name:
5376 type: string
5377 displayName: 5466 displayName:
5378 type: string 5467 type: string
5468 minLength: 1
5469 maxLength: 120
5379 description: 5470 description:
5380 type: string 5471 type: string
5472 minLength: 3
5473 maxLength: 1000
5381 support: 5474 support:
5382 type: string 5475 type: string
5383 description: 'A text shown by default on all videos of this channel, to tell the audience how to support it' 5476 description: 'A text shown by default on all videos of this channel, to tell the audience how to support it'
5384 example: Please support my work on <insert crowdfunding plateform>! <3 5477 example: Please support my work on <insert crowdfunding plateform>! <3
5478 minLength: 3
5479 maxLength: 1000
5480 VideoChannelCreate:
5481 allOf:
5482 - $ref: '#/components/schemas/VideoChannelCommon'
5483 - properties:
5484 name:
5485 type: string
5486 minLength: 1
5487 maxLength: 120
5385 required: 5488 required:
5386 - name 5489 - name
5387 - displayName 5490 - displayName
5388 VideoChannelUpdate: 5491 VideoChannelUpdate:
5389 properties: 5492 allOf:
5390 displayName: 5493 - $ref: '#/components/schemas/VideoChannelCommon'
5391 type: string 5494 - properties:
5392 description: 5495 bulkVideosSupportUpdate:
5393 type: string 5496 type: boolean
5394 support: 5497 description: 'Update the support field for all videos of this channel'
5395 type: string
5396 description: 'A text shown by default on all videos of this channel, to tell the audience how to support it'
5397 example: Please support my work on <insert crowdfunding plateform>! <3
5398 bulkVideosSupportUpdate:
5399 type: boolean
5400 description: 'Update the support field for all videos of this channel'
5401 5498
5402 MRSSPeerLink: 5499 MRSSPeerLink:
5403 type: object 5500 type: object
diff --git a/support/doc/production.md b/support/doc/production.md
index 8b13041f8..8f3a17f12 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -6,7 +6,7 @@
6## Installation 6## Installation
7 7
8Please don't install PeerTube for production on a device behind a low bandwidth connection (example: your ADSL link). 8Please don't install PeerTube for production on a device behind a low bandwidth connection (example: your ADSL link).
9If you want information about the appropriate hardware to run PeerTube, please see the [FAQ](https://github.com/Chocobozzz/PeerTube/blob/develop/FAQ.md#should-i-have-a-big-server-to-run-peertube). 9If you want information about the appropriate hardware to run PeerTube, please see the [FAQ](https://joinpeertube.org/en_US/faq#should-i-have-a-big-server-to-run-peertube).
10 10
11### Dependencies 11### Dependencies
12 12