void-packages/srcpkgs/discord/update
Nopey Nope fbd25d29cb discord: add update script
This API endpoint is used by the app, and so should be stable.
The app also passes the version, but leaving it out seemingly doesn't cause problems.
ex request: https://discordapp.com/api/updates/stable?platform=linux&version=0.0.10
2020-08-20 14:24:56 +02:00

3 lines
176 B
Text

# sample response: {"name": "0.0.11", "pub_date": "2020-08-06T16:59:21"}
site="https://discordapp.com/api/updates/stable?platform=linux"
pattern="\"name\":\s*\"\K[\d.]+(?=\")"