---
title: "PUT /api/exercise-draft"
method: PUT
path: "/api/exercise-draft"
tags: ["ExerciseDraft"]
---

# PUT /api/exercise-draft

`PUT /api/exercise-draft`

## Request

- Base URL: `https://api.justgains.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.justgains.com/api/exercise-draft`
- Auth: HTTP bearer

## Request body

- ExerciseDto
  - `Id` integer, nullable
  - `FileName` string, nullable
  - `ExerciseCode` string, nullable, required
  - `ExerciseName` string, nullable
  - `AlternateNames` string[], nullable
  - `PublishStatus` string, nullable
  - `Models` ModelDto[], nullable
    - `ModelName` string, nullable
    - `VideoId` string, nullable, required
    - `VideoUrl` string, nullable, required
    - `ModelId` integer, nullable
  - `ExerciseType` string[], nullable
  - `ExerciseMetrics` string[], nullable
  - `ExerciseDifficulty` integer, nullable
  - `ExerciseComplexity` integer, nullable
  - `MetabolicEquivalent` number, double
  - `EquipmentRequired` EquipmentRequiredDto
    - `Required` array[], nullable
      - string[]
    - `Optional` array[], nullable
      - string[]
  - `PrimaryMuscleGroups` MuscleGroupTargetDto[], nullable
    - `MuscleName` string, nullable
    - `TargetPercentage` number, double
    - `MuscleGroupId` integer
  - `SecondaryMuscleGroups` MuscleGroupTargetDto[], nullable
    - `MuscleName` string, nullable
    - `TargetPercentage` number, double
    - `MuscleGroupId` integer
  - `IsPlateLoaded` boolean
  - `ExerciseTechnicalComplexity` integer, nullable
  - `IsCardio` boolean
  - `OlympicRating` integer
  - `PowerlifterRating` integer
  - `CalisthenicRating` integer
  - `PopularityRating` integer
  - `IsPlyometric` boolean
  - `IsIsometric` boolean
  - `IsCalisthenic` boolean
  - `IsWeighted` boolean
  - `IsUnilateral` boolean
  - `IsBodyweight` boolean
  - `AiNotes` string, nullable
  - `MuscleStimulus` number, double, nullable
  - `ExerciseInstructions` ExerciseInstructionDto
    - `Time` integer, nullable
    - `Blocks` BlockDto[], nullable
      - `Id` string, nullable
      - `Type` string, nullable
      - `Data` DataDto
        - `Text` string, nullable
    - `Version` string, nullable

## Response `200`

OK

---

[API](https://skmtc.dev/justgains/apis/justgains-api.md) · [All operations](https://skmtc.dev/justgains/apis/justgains-api/llms.txt) · [OpenAPI document](https://skmtc.dev/justgains/apis/justgains-api/revisions/760a5b1773a7?raw)
