Register this Mac [write]

Changed on

The Mac app registers the Mac it runs on and is handed its connect token once. The token is what the app polls the relay with; the person's own token never reaches the app. Edge-routed to the chat-proxy like the ports routes.

post/desktop/machines

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/desktop/machines
  • Auth
    HTTP bearer

Request body

namestring required

What the person calls this Mac

Response

Registered

connect_tokenstring required

dmc_… — shown once; the Mac app's only credential, stored hashed

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      the response property became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status