API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · tools

Tool Schema

Schema ID
tool
Collection
tools
Permissions
  • Readtool_view
  • Createtool_create
  • Edittool_edit
  • Deletetool_delete

Fields

Tool Schema

tools4 permissions

Schema for validating tool / Werkzeug entities

namestringrequired

Tool name / Bezeichnung

1–200 characters
descriptionstringoptional

Optional description

max 2000 charactersnullable
typestringrequired

TOOL = individual tool, BAG = tool bag containing other tools

TOOLBAG
categorystringoptional

Tool category

ElektrowerkzeugHandwerkzeugMesswerkzeugMaschineSonstiges
nullable
manufacturerstringoptional

Manufacturer / Hersteller

max 100 charactersnullable
modelstringoptional

Model name

max 100 charactersnullable
serialNumberstringoptional

Serial number / Seriennummer

max 100 charactersnullable
statusstringrequired

IN_STORAGE = im Lager, CHECKED_OUT = mitgenommen

IN_STORAGECHECKED_OUT
Default: "IN_STORAGE"
checkedOutByuuidoptional

User ID who checked out the tool

nullable
checkedOutAtdatetimeoptional

Timestamp when tool was checked out

nullable
toolBagIduuidoptional

Parent tool bag ID (only for type=TOOL)

nullable
locationstringoptional

Storage location / Lagerort (e.g. Regal A3)

max 200 charactersnullable
purchaseDatedateoptional

Purchase date

nullable
purchasePricenumberoptional

Purchase price in EUR

≥ 0nullable
notesstringoptional

Free-text notes

max 5000 charactersnullable
tagsstring[]optional

Tags for categorization

Default: []

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/tools — List, paginated + filterable
  • GET /api/v1/tools/<id> — Single entity
  • POST /api/v1/tools — Create
  • PATCH /api/v1/tools/<id> — Partial update
  • DELETE /api/v1/tools/<id> — Soft delete
  • GET /api/v1/tools/<id>/timeline — Audit + activities

Search