API Docs: Difference between revisions

Jump to navigation Jump to search
446 bytes added ,  18 December 2021
update from drafts
(changes from draft)
(update from drafts)
Line 57: Line 57:
   category: string,
   category: string,
   videoDuration: float // Duration of video when submission occurred (to be used to determine when a submission is out of date). 0 when unknown. +- 1 second
   videoDuration: float // Duration of video when submission occurred (to be used to determine when a submission is out of date). 0 when unknown. +- 1 second
   userID: string // userID of submitter
  actionType: string // actionType [3]
   userID: string, // public userID of submitter
  locked: int, // if submission is locked
  votes: int, // Votes on segment
  description: string, // unused
}]
}]
</syntaxhighlight>
</syntaxhighlight>
Line 103: Line 107:
       segment: float[], // [0, 15.23] start and end time in seconds
       segment: float[], // [0, 15.23] start and end time in seconds
       UUID: string,
       UUID: string,
       category: string
       category: string, [1]
      actionType: string, // [1]
      locked: int, // if segment is locked
      votes: int, // votes on segment
      videoDuration: int, // Duration of video when submissions occurred
      userID: string, // Public userID of submitter
      description: string // unused
   }]
   }]
}]
}]

Navigation menu