Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Framasoft
PeerTube
PeerTube
Commits
f9079a78
Verified
Commit
f9079a78
authored
Aug 01, 2022
by
Chocobozzz
Browse files
Add studio API documentation
parent
15eb9e5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
support/doc/api/openapi.yaml
View file @
f9079a78
...
...
@@ -1671,6 +1671,31 @@ paths:
'
404'
:
description
:
video not found
/videos/{id}/studio/edit
:
post
:
summary
:
Create a studio task
tags
:
-
Video Transcoding
-
Video
description
:
Create a task to edit a video (cut, add intro/outro etc)
security
:
-
OAuth2
:
[]
parameters
:
-
$ref
:
'
#/components/parameters/idOrUUID'
requestBody
:
required
:
true
content
:
application/x-www-form-urlencoded
:
schema
:
$ref
:
'
#/components/schemas/VideoStudioCreateTask'
responses
:
'
204'
:
description
:
successful operation
'
400'
:
description
:
incorrect parameters
'
404'
:
description
:
video not found
/videos
:
get
:
summary
:
List videos
...
...
@@ -7913,6 +7938,68 @@ components:
description
:
User can select live latency mode if enabled by the instance
$ref
:
'
#/components/schemas/LiveVideoLatencyMode'
VideoStudioCreateTask
:
type
:
array
items
:
anyOf
:
-
title
:
cut
type
:
object
properties
:
name
:
type
:
string
enum
:
-
'
cut'
options
:
type
:
object
properties
:
start
:
type
:
integer
end
:
type
:
integer
-
title
:
add-intro
type
:
object
properties
:
name
:
type
:
string
enum
:
-
'
add-intro'
options
:
type
:
object
properties
:
file
:
type
:
string
format
:
binary
-
title
:
add-outro
type
:
object
properties
:
name
:
type
:
string
enum
:
-
'
add-outro'
options
:
type
:
object
properties
:
file
:
type
:
string
format
:
binary
-
title
:
add-watermark
type
:
object
properties
:
name
:
type
:
string
enum
:
-
'
add-watermark'
options
:
type
:
object
properties
:
file
:
type
:
string
format
:
binary
LiveVideoSessionResponse
:
properties
:
id
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment