API Docs: Difference between revisions

Jump to navigation Jump to search
135 bytes added ,  1 October 2022
→‎GET /api/segmentInfo: add missing fields to reponse object
(→‎GET /api/userStats: Add chapter counts)
(→‎GET /api/segmentInfo: add missing fields to reponse object)
Line 475: Line 475:
   category: string, // [1]
   category: string, // [1]
   service: string, // [2]
   service: string, // [2]
  actionType: string, // [3]
   videoDuration: int,
   videoDuration: int,
   hidden: int, // If the segment has 2 downvotes or was downvoted by a VIP
   hidden: int, // If the segment has 2 downvotes or was downvoted by a VIP
   reputation: int, // Reputation of submitter at time of submission
   reputation: int, // Reputation of submitter at time of submission
   shadowHidden: int, // If the submitter is shadowbanned
   shadowHidden: int, // If the submitter is shadowbanned
   userAgent: string // userAgent of the submitter,
  hashedVideoID: string, // sha256 hash of the videoID
   actionType: string // [3]
   userAgent: string, // userAgent of the submitter,
   description: string // title for chapters, empty string for other segments
}]
}]
</syntaxhighlight>
</syntaxhighlight>
Line 492: Line 494:
404: Not Found
404: Not Found
-----
-----
====='''GET''' <code>/api/userID</code>=====
====='''GET''' <code>/api/userID</code>=====
List all users matching the username search
List all users matching the username search

Navigation menu