Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 801 Bytes

SERVERINFO.md

File metadata and controls

27 lines (25 loc) · 801 Bytes

Server Information

Endpoint explanation

  1. /upload
  • no parameters
  • returns the video id as a string
  1. /time
  • no parameters
  • receives the video id and time from the client
  1. /region
  • no parameters
  • receives the video id
  • generates the region by calling the function with the video id as the parameter
  • returns the region via send_file
  1. /coordinates
  • no parameters
  • receives the id and x, y coordinates
  1. /mask
  • no parameters
  • if the user doesn't confirm, repeatedly send the masked image with the given x, y coordinates
  • if the user confirms, process the video with the video id as the parameter
  1. /video
  • no parameters
  • receives the video id
  • generates the video by calling the function with the video id as the parameter
  • returns the video via send_file