Process Files Open

Changed on

A file's content, for the workspace file viewer — the read counterpart to list/list_abs above. Registered ahead of the mutate catch-all below (FastAPI matches by registration order, and {action} would otherwise swallow this literal path first) since open is core's one file-content route that is itself a POST (it takes the path in a JSON body, not a query string) rather than because it belongs in the mutate allow-list.

post/api/processes/{process_id}/files/open

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/{process_id}/files/open
  • Auth: none declared

Path parameters

process_idstring required

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