MOTOR

Update Motor

Updates an existing motor

Args

    motor_id: str
    motor: models.motor JSON
put/motors/{motor_id}

Request

  • Base URL: https://api.rocketpy.org (the document declares no server; this is the origin it was published from)
  • URL: https://api.rocketpy.org/motors/{motor_id}
  • Auth: none declared

Path parameters

motor_idstring required

Request body

burn_timenumber nullable
nozzle_radiusnumber required
dry_massnumber required
center_of_dry_mass_positionnumber required
motor_kind'HYBRID' | 'SOLID' | 'GENERIC' | 'LIQUID' required
chamber_radiusnumber nullable
chamber_heightnumber nullable
chamber_positionnumber nullable
propellant_initial_massnumber nullable
nozzle_positionnumber nullable
grain_numberinteger nullable
grain_densitynumber nullable
grain_outer_radiusnumber nullable
grain_initial_inner_radiusnumber nullable
grain_initial_heightnumber nullable
grains_center_of_mass_positionnumber nullable
grain_separationnumber nullable
throat_radiusnumber nullable
interpolation_method'linear' | 'spline' | 'akima' | 'polynomial' | 'shepard' | 'rbf'
coordinate_system_orientation'nozzle_to_combustion_chamber' | 'combustion_chamber_to_nozzle'

Response

Successful Response

Changes

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