From 95fd51c23a26ec9f6be2c5de24668a62e5a16f80 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Sun, 4 Jul 2021 14:28:06 -0400 Subject: [PATCH] Add requiredSegments --- API-Docs.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/API-Docs.md b/API-Docs.md index fb49131..52d722e 100644 --- a/API-Docs.md +++ b/API-Docs.md @@ -27,9 +27,10 @@ ________________________________________________________________________________ videoID: string, category: string, // Optional, defaults to "sponsor", can be repeated for multiple categories. // See https://github.com/ajayyy/SponsorBlock/wiki/Types#category - categories: string[], // Optional, use this instead of "category" if you want multiple categories. Will look like ["sponsor","intro"] + requiredSegments: string[], // Optional, list of segment UUIDs to require be retrieved, even if they don't meet the minimum vote threshold, can be replaced with "requiredSegment" and repeated for multiple segments like category. + service: string // Optional, default is 'YouTube'. See https://github.com/ajayyy/SponsorBlock/wiki/Types#service } ``` @@ -59,9 +60,10 @@ __________________________________________________________________ { category: string, // Optional, defaults to "sponsor", can be repeated for multiple categories. // See https://github.com/ajayyy/SponsorBlock/wiki/Types#category - categories: string[], // Optional, use this instead of "category" if you want multiple categories. Will look like ["sponsor","intro"] + requiredSegments: string[], // Optional, list of segment UUIDs to require be retrieved, even if they don't meet the minimum vote threshold, can be replaced with "requiredSegment" and repeated for multiple segments like category. + service: string // Optional, default is 'YouTube'. See https://github.com/ajayyy/SponsorBlock/wiki/Types#service } ```