mirror of
https://github.com/Decicus/DecAPI-Docs.git
synced 2024-11-22 08:52:31 +01:00
'subtract' for subpoints/subcount should be int
This commit is contained in:
parent
e5a46a03e3
commit
1524d5fafe
@ -265,6 +265,7 @@ endpoints:
|
||||
qs:
|
||||
- name: "subtract"
|
||||
description: "Subscriber count will subtract the specified value and return the result. If you have 102 subs and you specify subtract=2, it will return 100."
|
||||
type: "int"
|
||||
notes:
|
||||
- 'Retrieves the subscriber count of the specified channel.'
|
||||
- '<strong>This only works for channels that have <a href="{{baseUrl}}/auth/twitch?scopes=user_read+channel_subscriptions&redirect=subcount" target="_blank" rel="noopener noreferrer">authenticated and authorized</a> this app</strong>.'
|
||||
@ -277,6 +278,7 @@ endpoints:
|
||||
description: "A comma-separated list of extras to include. Currently no extra options are supported."
|
||||
- name: "subtract"
|
||||
description: "Subscriber points will subtract the specified value and return the result. If you have 102 points and you specify subtract=2, it will return 100."
|
||||
type: "int"
|
||||
notes:
|
||||
- 'Retrieves the amount of subscriber points for the specified channel.'
|
||||
- '<strong>This only works for channels that have <a href="{{baseUrl}}/auth/twitch?scopes=user_read+channel_subscriptions&redirect=subpoints" target="_blank" rel="noopener noreferrer">authenticated and authorized</a> this app</strong> (if the channel already uses subcount, this works already).'
|
||||
|
Loading…
Reference in New Issue
Block a user