Bugfix release.
- fixed
get_tag_statistics()raising an exception when the Homebox API returnsNonefor the tag-statistics endpoint – now returns an empty list instead - made the
statusparameter ofquery_all_maintenance()required (non-optional) and updated its docstring to reflect thatMaintenanceFilterStatus.MaintenanceFilterStatusBothshould be passed for an unfiltered result - re-enabled the
get_tag_statistics()call inexamples/get_homebox_statistics.pynow that theNoneresponse is handled gracefully
Upgrade the client to Homebox API v0.25.0.
- added support for new user settings endpoints:
GET /v1/users/self/settingsPUT /v1/users/self/settings
- updated labelmaker asset endpoint to match v25:
GET /v1/labelmaker/asset/{id}
- aligned numeric field types with v25 schema changes:
- item quantity fields now accept numbers (
float) in request/response DTOs - template
defaultQuantityand template create-itemquantitynow accept floating numbers - location
itemCountnow accepts floating numbers
- item quantity fields now accept numbers (
- added
UserSettingsmodel for arbitrary user settings payloads - updated v0.5.0 examples and docs:
examples/get_homebox_statistics.pynow retrieves currency and tag statistics with graceful HTTP fallbackexamples/user_management.pynow demonstratesget_user_settingsandupdate_user_settingsREADME.mdusage examples now include user settings andlabelmaker.get_asset_label(...)
- preserved backward-compatible client APIs for all previously mapped methods and aliases
Upgrade the client to Homebox API v0.24.0.
- aligned the client with v24 item/template response compatibility:
GET /v1/items/{id}PUT /v1/items/{id}PATCH /v1/items/{id}POST /v1/items/{id}/attachmentsPUT /v1/items/{id}/attachments/{attachment_id}POST /v1/items/{id}/duplicatePOST /v1/templates/{id}/create-item
- added response unwrapping for wrapped payload shapes (
itemanddata) on affected endpoints - added non-JSON success response fallback in the HTTP request layer for improved compatibility
- kept backward compatibility for existing method signatures and return models
- expanded template-field typing support for v24 (
text,number,boolean,time) viaTemplateFieldType - added compatibility tests for wrapped v24 response shapes and attachment update fallback behavior
Upgrade the client to Homebox API v0.23.0.
- added support for new endpoints introduced in v23:
POST /v1/actions/wipe-inventoryGET /v1/groups/allPOST /v1/groupsDELETE /v1/groupsGET /v1/groups/invitationsPOST /v1/groups/invitations/{id}DELETE /v1/groups/invitations/{id}GET /v1/groups/membersPOST /v1/groups/membersDELETE /v1/groups/members/{user_id}GET /v1/groups/statistics/tagsGET /v1/tagsPOST /v1/tagsGET /v1/tags/{id}PUT /v1/tags/{id}DELETE /v1/tags/{id}
- migrated data structures from labels to tags to match v23:
TagCreate,TagOut,TagSummary- request fields now support
tagIdsin item and template DTOs GroupStatisticsnow supportstotalTagsUserOutnow supportsdefaultGroupIdandgroupIds- added v23 DTOs:
CreateRequest,GroupMemberAdd,GroupAcceptInvitationResponse,WipeInventoryOptions,UserSummary
- preserved backward compatibility for previously mapped label APIs:
client.labels.*remains available and transparently maps to/v1/tagsendpoints- legacy model names (
LabelCreate,LabelOut,LabelSummary,TemplateLabelSummary) remain importable as aliases - legacy fields (
labelIds,defaultLabelIds,labels,defaultLabels,totalLabels) continue to work via compatibility mapping
- added new example scripts demonstrating usage of the new group and tag endpoints:
examples/manage_groups.pyexamples/manage_tags.py
Upgrade the client to Homebox API v0.22.0.
- added support for item template endpoints:
GET /v1/templatesPOST /v1/templatesGET /v1/templates/{id}PUT /v1/templates/{id}DELETE /v1/templates/{id}POST /v1/templates/{id}/create-item
- added support for OIDC authentication endpoints:
GET /v1/users/login/oidcGET /v1/users/login/oidc/callback
- added new v22 data structures and fields:
OIDCStatusonAPISummaryoidcIssuerandoidcSubjectonUserOut- item-template request/response models
- validated that previously mapped endpoints remain compatible through the test suite
- added example script
examples/manage_templates.pydemonstrating usage of the new template endpoints
Initial release of the Homebox API client library for Python.
- support for homebox v0.21.0 API
- basic authentication and API client functionality
- covers all API endpoints.