Description
Implement HTTP REST API endpoint for updating a machine's hardware profile. This allows administrators to update machine specifications when hardware is upgraded or reconfigured.
Acceptance Criteria
Related Issues
Part of Machine Service implementation
Related to API documentation in docs/content/r&d/services/machine-mgmt/put-machine.md
Description
Implement HTTP REST API endpoint for updating a machine's hardware profile. This allows administrators to update machine specifications when hardware is upgraded or reconfigured.
Acceptance Criteria
services/machine/endpoint/put_machine.goPUT /api/v1/machines/{id}RequestBody()method defining OpenAPI request schemaResponses()method defining OpenAPI response schemasServeHTTP()method implementing HTTP handler logicmachines/{id}collectionapplication/problem+jsontype,title,status,detail,instancefieldsinvalid_fieldsarraymachine_idfieldRelated Issues
Part of Machine Service implementation
Related to API documentation in
docs/content/r&d/services/machine-mgmt/put-machine.md