Discover Packages
github.com/ystv/web-api
controllers
v1
encoder
package
Version:
v0.6.3
Opens a new window with list of versions in this module.
Published: Nov 20, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
VideoNew handles authenticating a video upload request.
Connects with tusd through web-hooks, so tusd POSTs here.
tusd's requests here does contain a lot of useful information.
but for this endpoint, we are just checking for the JWT.
type MetaData struct {
Filename string `json:"filename"`
}
MetaData represents metadata of a file.
There is more, but we just need filename
Request represents the upload and a normal HTTP request
Storage represents the storage medium of the object
Upload represents an object and it's status
Source Files
¶
Click to show internal directories.
Click to hide internal directories.