PUT
/
api
/
public
/
movements
/
{id}
Update movement
curl --request PUT \
  --url https://api.wodup.dev/api/public/movements/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "Stay upright"
}'
{
  "complex_details": null,
  "description": "Stay upright",
  "has_calories": false,
  "has_distance": false,
  "has_duration": false,
  "has_height": false,
  "has_load": true,
  "has_power": false,
  "has_reps": true,
  "id": "mv_fT0m3viH",
  "name": "Back Squat",
  "source": "wodup",
  "video": {
    "id": "dQw4w9WgXcQ",
    "service": "youtube"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

wodup-gym
string

Only used by platform integrations
ID of gym to execute on behalf of

Body

application/json

Update movement params

PUT body for updating a movement

Response

200 - application/json

Update movement response

Movement object