Cacheable process list. Emits a content ETag and honours If-None-Match for 304s, saving the ~9 KB body on every unchanged poll (the SPA polls this every ~1.8 s).

The validator is an ETag, not Last-Modified: a max(updated_at) high-water mark moves backwards when a process is deleted, which produced stale 304s (a phantom process lingering in the client's cached list). See the inline comment below.

Backwards compatible: clients that send no conditional header — or send the old If-Modified-Since (now ignored) — receive the full JSON body with a 200, so they always render the current set.

get/api/processes

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/processes
  • Auth: none declared

Headers

If-None-Matchstring nullable
authorizationstring nullable
x-omicos-devicestring nullable
x-omicos-device-kindstring nullable
x-omicos-device-namestring nullable

Response

Successful Response

unknown 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