API Docs: Difference between revisions
Jump to navigation
Jump to search
Change ref 2 external link to an internal one
(→POST /api/warnUser: add warning reason) |
(Change ref 2 external link to an internal one) |
||
Line 45: | Line 45: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
References: <ref name=":0">See [[Types]] for full list of possible categories. To get multiple, create an array with the format <code>["sponsor", intro"]</code>. </ref> <ref name=":1">Service to get segments for. See [ | References: <ref name=":0">See [[Types]] for full list of possible categories. To get multiple, create an array with the format <code>["sponsor", intro"]</code>. </ref> <ref name=":1">Service to get segments for. See [[Types#Service|Types]] for supported services</ref> <ref name=":2">Action Types: See [[Types]] for possible values. Select multiple with the format <code>["skip","mute]</code></ref> | ||
'''Response''': | '''Response''': | ||
Line 68: | Line 68: | ||
404: Not Found | 404: Not Found | ||
----- | ----- | ||
====='''GET''' <code>/api/skipSegments/:sha256HashPrefix</code>===== | ====='''GET''' <code>/api/skipSegments/:sha256HashPrefix</code>===== | ||
Get segments for a video with extra privacy | Get segments for a video with extra privacy |