YouTube's resumable protocol is two requests: a metadata POST that returns a session URL in the Location header, then a PUT of the bytes to that URL. This is the first half.
tuber_upload_session(path, query, metadata, file, type)The session URL as a string
API endpoint path under upload/youtube/v3
query list
list serialized as the JSON metadata body
path to the file that will be uploaded
MIME type of file