Import Chat Projects

Changed on

Idempotent legacy-localStorage import. Project ids are preserved, so retrying the same import is a no-op and the returned id_map is stable.

post/api/projects/import

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

Headers

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

Request body

assignmentsobject
expected_revisioninteger 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