API Docs: Difference between revisions

Jump to navigation Jump to search
146 bytes removed ,  30 December 2022
remove some fields
(Add mini_bomba's mirror)
(remove some fields)
Line 58: Line 58:
   category: string, // [1]
   category: string, // [1]
   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
   actionType: string // [3]
   actionType: string, // [3]
  userID: string, // public userID of submitter
   locked: int, // if submission is locked
   locked: int, // if submission is locked
   votes: int, // Votes on segment
   votes: int, // Votes on segment
Line 105: Line 104:
[{ // Array of this object
[{ // Array of this object
   videoID: string,
   videoID: string,
  hash: string, // Full hash of the videoID
   segments: [{ // Array of this object
   segments: [{ // Array of this object
       segment: float[], // [0, 15.23] start and end time in seconds
       segment: float[], // [0, 15.23] start and end time in seconds
Line 114: Line 112:
       votes: int, // votes on segment
       votes: int, // votes on segment
       videoDuration: int, // Duration of video when submissions occurred
       videoDuration: int, // Duration of video when submissions occurred
      userID: string, // Public userID of submitter
       description: string // title for chapters, empty string for other segments
       description: string // title for chapters, empty string for other segments
   }]
   }]

Navigation menu