1
0
Fork 0
mirror of https://github.com/maziggy/bambuddy.git synced 2026-05-09 08:25:54 +02:00

[GH-ISSUE #524] [Bug]: Data from api not complete #334

Closed
opened 2026-05-07 00:08:57 +02:00 by BreizhHardware · 2 comments

Originally created by @Dendrowen on GitHub (Feb 25, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/524

Originally assigned to: @maziggy on GitHub.

Bug Description

When making an API call to api/v1/queue/ or api/v1/queue/18, a lot of data is 'null'. For some data this makes sense, but for other data (like filament types) less so.

{
  "id": 18,
  "printer_id": null,
  "target_model": null,
  "target_location": null,
  "required_filament_types": null,
  "filament_overrides": null,
  "waiting_reason": null,
  "archive_id": 18,
  "library_file_id": null,
  "position": 1,
  "scheduled_time": null,
  "require_previous_success": false,
  "auto_off_after": false,
  "manual_start": false,
  "ams_mapping": null,
  "plate_id": null,
  "bed_levelling": true,
  "flow_cali": false,
  "vibration_cali": true,
  "layer_inspect": false,
  "timelapse": false,
  "use_ams": true,
  "status": "pending",
  "started_at": null,
  "completed_at": null,
  "error_message": null,
  "created_at": "2026-02-24T21:45:59Z",
  "archive_name": "TTRPG Starter Set - 20 Supportless Pack - 32mm - Plate 4",
  "archive_thumbnail": "archive/unassigned/20260224_214559_Starter Adventure Pack 0.2_plate_4.gcode/thumbnail.png",
  "library_file_name": null,
  "library_file_thumbnail": null,
  "printer_name": null,
  "print_time_seconds": 7889,
  "filament_used_grams": 4.12,
  "created_by_id": null,
  "created_by_username": null
}

Expected Behavior

I expect to gather more data.

Steps to Reproduce

create an API call to GET /api/v1/queue

Printer Model

P1S

Bambuddy Version

0.2.1b3

Printer Firmware Version

01.09.01.00

Installation Method

Manual (git clone)

Operating System

Linux (Ubuntu/Debian)

Relevant Logs / Support Package


Screenshots

No response

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this bug hasn't already been reported
  • I am using the latest version of Bambuddy
  • My printer is set to LAN Only mode
  • My printer has Developer Mode enabled
Originally created by @Dendrowen on GitHub (Feb 25, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/524 Originally assigned to: @maziggy on GitHub. ### Bug Description When making an API call to api/v1/queue/ or api/v1/queue/18, a lot of data is 'null'. For some data this makes sense, but for other data (like filament types) less so. ```json { "id": 18, "printer_id": null, "target_model": null, "target_location": null, "required_filament_types": null, "filament_overrides": null, "waiting_reason": null, "archive_id": 18, "library_file_id": null, "position": 1, "scheduled_time": null, "require_previous_success": false, "auto_off_after": false, "manual_start": false, "ams_mapping": null, "plate_id": null, "bed_levelling": true, "flow_cali": false, "vibration_cali": true, "layer_inspect": false, "timelapse": false, "use_ams": true, "status": "pending", "started_at": null, "completed_at": null, "error_message": null, "created_at": "2026-02-24T21:45:59Z", "archive_name": "TTRPG Starter Set - 20 Supportless Pack - 32mm - Plate 4", "archive_thumbnail": "archive/unassigned/20260224_214559_Starter Adventure Pack 0.2_plate_4.gcode/thumbnail.png", "library_file_name": null, "library_file_thumbnail": null, "printer_name": null, "print_time_seconds": 7889, "filament_used_grams": 4.12, "created_by_id": null, "created_by_username": null } ``` ### Expected Behavior I expect to gather more data. ### Steps to Reproduce create an API call to GET /api/v1/queue ### Printer Model P1S ### Bambuddy Version 0.2.1b3 ### Printer Firmware Version 01.09.01.00 ### Installation Method Manual (git clone) ### Operating System Linux (Ubuntu/Debian) ### Relevant Logs / Support Package ```shell ``` ### Screenshots _No response_ ### Additional Context _No response_ ### Checklist - [x] I have searched existing issues to ensure this bug hasn't already been reported - [x] I am using the latest version of Bambuddy - [x] My printer is set to LAN Only mode - [x] My printer has Developer Mode enabled
BreizhHardware 2026-05-07 00:08:57 +02:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Dendrowen commented on GitHub (Feb 25, 2026):

I did find the info in the archive endpoints, but that does strike me as 'odd'. It would be logical to also include it in the queue endpoint.

<!-- gh-comment-id:3960529581 --> @Dendrowen commented on GitHub (Feb 25, 2026): I did find the info in the archive endpoints, but that does strike me as 'odd'. It would be logical to also include it in the queue endpoint.
Author
Owner

@maziggy commented on GitHub (Feb 26, 2026):

Add print metadata to queue API response (#524)

Queue endpoints now return filament_type, filament_color, layer_height,
nozzle_diameter, and sliced_for_model from the archive or library file.
Previously this data was only available via the archive API.

<!-- gh-comment-id:3964594214 --> @maziggy commented on GitHub (Feb 26, 2026): Add print metadata to queue API response (#524) Queue endpoints now return filament_type, filament_color, layer_height, nozzle_diameter, and sliced_for_model from the archive or library file. Previously this data was only available via the archive API.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy-maziggy-1#334
No description provided.