code wiki / _hdl_build / nx_apistack_version.nx

nx_apistack_version.nx

buildroot/runtime/_hdl_build/nx_apistack_version.nx

1611 B31 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind librarytopic apistack
docsdependenciesstructsconstsfunctions

about

nx_apistack_version.nx -- CAP-API-VERSION: API version negotiation for /api. Reads the requested version from a media type (Accept: application/vnd.nishi.v2+json) OR a URL path (/api/v3/..) via the "v<digits>" token, then negotiates against the DATA-DRIVEN supported set: highest supported <= requested (latest if unspecified, lowest if below all). Adding a version = a row in the supported set, zero rebuild = the sovereign exceed. license_tier: ORIGINAL

dependencies 1 imports · 1 importers

nx_syscalls.nx nx_apistack_version.nx nx_apistack_version_gate.nx

imports: nx_syscalls.nx

imported by: nx_apistack_version_gate.nx

structs

none

consts

none

functions

8func ver_scan(s: *u8, n: i64) -> i64
called by 1: main
25func ver_negotiate(requested: i64, supported: *i64, n: i64) -> i64
called by 1: main