Spaces:
				
			
			
	
			
			
		Paused
		
	
	
	
			
			
	
	
	
	
		
		
		Paused
		
	File size: 507 Bytes
			
			| 652f343 12506f0 652f343 e4e0e54 652f343 e4e0e54 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | import { server, videoId } from "./config.mts"
console.log('submitting a new video..')
const response = await fetch(`${server}/`, {
  method: "POST",
  headers: {
    "Accept": "application/json",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    token: process.env.VC_SECRET_ACCESS_TOKEN,
    sequence: {
      id: videoId,
    },
    shots: []
  })
});
console.log('response:', response)
const video = await response.json()
console.log("video:", JSON.stringify(video, null, 2))
 | 
