aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api/videos.yaml
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-11-15 14:10:15 +0100
committerRigel Kent <sendmemail@rigelk.eu>2018-11-15 14:10:16 +0100
commit3e9e6f2f14fda845e6000cfada07d1bfb176bd21 (patch)
treec8ab535f0f5ff0454b1e1df36ce4d8473846d676 /support/doc/api/videos.yaml
parent6cb3482ceba2e0564a05b525699f29a1f5ff20a2 (diff)
downloadPeerTube-3e9e6f2f14fda845e6000cfada07d1bfb176bd21.tar.gz
PeerTube-3e9e6f2f14fda845e6000cfada07d1bfb176bd21.tar.zst
PeerTube-3e9e6f2f14fda845e6000cfada07d1bfb176bd21.zip
migrate Swagger 2.0 spec to OpenAPI 3.0.0
Diffstat (limited to 'support/doc/api/videos.yaml')
-rw-r--r--support/doc/api/videos.yaml87
1 files changed, 0 insertions, 87 deletions
diff --git a/support/doc/api/videos.yaml b/support/doc/api/videos.yaml
deleted file mode 100644
index 593ae56e2..000000000
--- a/support/doc/api/videos.yaml
+++ /dev/null
@@ -1,87 +0,0 @@
1parameters:
2 id:
3 name: id
4 in: path
5 required: true
6 type: string
7 description: 'The video id or uuid'
8 thumbnailfile:
9 name: thumbnailfile
10 in: formData
11 type: file
12 description: 'Video thumbnail file'
13 previewfile:
14 name: previewfile
15 in: formData
16 type: file
17 description: 'Video preview file'
18 category:
19 name: category
20 in: formData
21 type: number
22 description: 'Video category'
23 licence:
24 name: licence
25 in: formData
26 type: number
27 description: 'Video licence'
28 language:
29 name: language
30 in: formData
31 type: string
32 description: 'Video language'
33 description:
34 name: description
35 in: formData
36 type: string
37 description: 'Video description'
38 waitTranscoding:
39 name: waitTranscoding
40 in: formData
41 type: boolean
42 description: 'Whether or not we wait transcoding before publish the video'
43 support:
44 name: support
45 in: formData
46 type: string
47 description: 'Text describing how to support the video uploader'
48 nsfw:
49 name: nsfw
50 in: formData
51 type: boolean
52 description: 'Whether or not this video contains sensitive content'
53 name:
54 name: name
55 in: formData
56 type: string
57 description: 'Video name'
58 tags:
59 name: tags
60 in: formData
61 type: string[]
62 description: 'Video tags'
63 commentsEnabled:
64 name: commentsEnabled
65 in: formData
66 type: boolean
67 description: 'Enable or disable comments for this video'
68 privacy:
69 name: privacy
70 in: formData
71 type: string
72 enum: [Public, Unlisted]
73 description: 'Video privacy'
74 scheduleUpdate:
75 name: scheduleUpdate
76 in: formData
77 required: false
78 description: 'Schedule an update at a specific datetime'
79 properties:
80 updateAt:
81 type: dateTime
82 description: 'When to update the video'
83 required: true
84 privacy:
85 type: string
86 enum: [Public, Unlisted]
87 description: 'Video privacy target'