Skip to content

5.5.0

API

API v5.5.0 — Auth endpoint & all-methods /latest.

  • Added endpoint GET /auth: checks a Bearer token and returns its tier and limits (hourly, burst). Without a token, returns the default tier; an invalid token returns a 401.
  • The /latest redirect now works for all HTTP methods: a 307 preserves the method and body, so POST /latest/..., PATCH, and DELETE requests now correctly redirect to the current version — previously only GET worked.
  • The @20syldev/api npm package is now generic: the personal /website endpoint moved out of the core into an optional plugin system, excluded from the npm package.
  • Internal robustness: fixed a non-deterministic time-based test and a formatting pass.

Documentation

  • Documented GET /auth on the Authentication page: usage, response fields, and the default tier behavior when no token is provided.
  • Noted that /latest now preserves the method and body for non-GET requests in the migration guide.
  • Fixed stale /v4/ cross-links between the Authentication and Pricing pages — both should have pointed to /v5/.
  • Consolidated the duplicated auth header/error examples from the Pricing page onto Authentication, and moved its "No Token" callout there.