Record the user's agreement to the Terms of Service + Privacy Policy.

The redesigned login UI enforces a consent checkbox client-side (the form can't be submitted unchecked) and remembers it per-device so a returning user sees it pre-checked. This endpoint persists the legal record server-side. Stamped ONCE — first acceptance wins, so a later re-login doesn't keep moving the timestamp. Idempotent + best-effort: the client calls it post-auth and ignores failures.

post/api/auth/accept-terms

Request

  • Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.omicos.cn/api/auth/accept-terms
  • Auth: none declared

Headers

authorizationstring nullable
x-omicos-devicestring nullable
x-omicos-device-kindstring nullable
x-omicos-device-namestring nullable

Response

Successful Response

object required

Changes

    • info

      added the new optional header request parameter x-omicos-device

    • info

      added the new optional header request parameter x-omicos-device-kind

    • info

      added the new optional header request parameter x-omicos-device-name