API Docs: Difference between revisions
Jump to navigation
Jump to search
m
→POST /api/lockCategories: correct response types
(remove some fields) |
m (→POST /api/lockCategories: correct response types) |
||
Line 865: | Line 865: | ||
<syntaxhighlight lang="ts"> | <syntaxhighlight lang="ts"> | ||
{ | { | ||
submitted: string, // categories | submitted: string[], // categories [1] | ||
submittedValues: { | submittedValues: { | ||
actionType: | actionType: string, // [3] | ||
category: | category: string // [1] | ||
} // array of this object | } // array of this object | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
References: <ref name=":0" /> <ref name=":2" /> | |||
'''Error codes''': | '''Error codes''': | ||
Line 879: | Line 881: | ||
403: Unauthorized (You are not a VIP) | 403: Unauthorized (You are not a VIP) | ||
----- | ----- | ||
===== '''DELETE''' <code>/api/lockCategories</code>===== | ===== '''DELETE''' <code>/api/lockCategories</code>===== | ||
Delete existing category locks on that video | Delete existing category locks on that video |