Skip to content

API: Update

Ani edited this page Sep 30, 2024 · 4 revisions

Returns a json object with Content-Type: application/json

Query Parameters (GET)

Parameter Version Description Accepted values
api >= v1 API version ["v1", "v2", "v3"]
c >= v1 Commit hash string, alphanumeric, strlen >= 7
os_type >= v3 OS type ["windows", "linux", "macos", "freebsd"]
os_arch >= v3 OS architecture ["x64", "arm64"]
os_version >= v3 OS version string, semver2-style, MAJOR.MINOR.PATCH

Return Codes

Value Description
-3 Illegal search
-2 Maintenance mode
-1 Current build is not a master build
0 No newer build found
1 Newer build found

Changelog

v3

  • Accepts os_type, os_arch, os_version, to return the latest build compatible with these parameters

v2

  • Returns 'changelog'

v1

  • Returns 'return_code', 'latest_build' and 'current_build' if found
Clone this wiki locally