Conversations

Request a device action

post/v1/conversations/{id}/device-requests

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/conversations/{id}/device-requests
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

kind'exec' | 'files_pull' | 'files_push' | 'port_forward' | 'port_reverse' | 'try_locally' | 'dir_list' | 'project_link' required
device_idstring

Send it to this computer of yours (the device_id of its heartbeats) and no other.

devicestring

Send it to this computer of yours, by its device id or its name (GET /v1/devices; any case), and no other. Without device or device_id: the computer the conversation is linked to, then one with the project, then the one used last; when that is unclear the person picks it (a needs-you item).

Response

Default Response

Changes

No recorded changes to this operation across all 1 revision of this API.