- const res = await uploadVideo(server.url, server.accessToken, {})
- const videoUUID = res.body.video.uuid
-
- const resGet = await getVideo(server.url, videoUUID)
- const video: VideoDetails = resGet.body
+ const { uuid } = await server.videos.upload()
+ const video = await server.videos.get({ id: uuid })