33 lines
630 B
YAML
33 lines
630 B
YAML
info:
|
|
name: Update Filament
|
|
type: http
|
|
seq: 4
|
|
|
|
http:
|
|
method: PUT
|
|
url: "{{base_url}}/api/v1/filaments/{{filament_id}}"
|
|
body:
|
|
type: json
|
|
data: |-
|
|
{
|
|
"material": "PETG",
|
|
"brand": "Bambu",
|
|
"model": "PETG Basic",
|
|
"color_hex": "#33A1FF",
|
|
"spool_preset_id": "{{preset_id}}",
|
|
"total_weight_g": 1000,
|
|
"temp_hotend_c": 240,
|
|
"temp_bed_c": 70,
|
|
"flow_factor_pct": 1.0,
|
|
"notes": "Atualizado"
|
|
}
|
|
auth:
|
|
type: bearer
|
|
token: "{{access_token}}"
|
|
|
|
settings:
|
|
encodeUrl: true
|
|
timeout: 0
|
|
followRedirects: true
|
|
maxRedirects: 5
|