Skip to main content
POST
/
device
/
stroker
/
settings
Update Stroker Settings
curl --request POST \
  --url https://api.hapticsconnect.com/device/stroker/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "low_position_shift": 1,
  "high_position_shift": 1,
  "max_velocity": 1,
  "playback_rate": 1
}
'
{
  "low_position_shift": 1,
  "high_position_shift": 1,
  "max_velocity": 1,
  "playback_rate": 1
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The stroker settings of the device.

low_position_shift
number

The low position shift of the stroker in mm.

Example:

1

high_position_shift
number

The high position shift of the stroker in mm.

Example:

1

max_velocity
number

The maximum velocity of the stroker in mm/s.

Example:

1

playback_rate
number<float>

Playback rate (1.0 = normal speed)

Example:

1

Response

200 - application/json

Updated Stroker Settings

The stroker settings of the device.

low_position_shift
number

The low position shift of the stroker in mm.

Example:

1

high_position_shift
number

The high position shift of the stroker in mm.

Example:

1

max_velocity
number

The maximum velocity of the stroker in mm/s.

Example:

1

playback_rate
number<float>

Playback rate (1.0 = normal speed)

Example:

1