Preflight checks
Feature description
Since version 1.5, exists an API endpoint to read and write rack entities.
$ curl -sk -XGET -H "phpipam-token: ${PHPIPAM_TOKEN}" ${PHPIPAM_API_URL}/tools/racks/ | jq '.data[]'
{
"id": "1",
"name": "1_north_1_east",
"size": "42",
"location": null,
"row": "1",
"hasBack": "0",
"topDown": "1",
"description": null,
"customer_id": null
}
To be complete in covering all available controllers with a separate module, we could take the opportunity to implement the rack module.
Proposed solution
The implementation needs some int, strings and two entities (location & customer_id) which need to be resolved. The logic for resolving the entities to it's IDs is already there.
Alternatives solution
No response
Additional context
No response
Preflight checks
Feature description
Since version 1.5, exists an API endpoint to read and write rack entities.
To be complete in covering all available controllers with a separate module, we could take the opportunity to implement the rack module.
Proposed solution
The implementation needs some
int,stringsand two entities (location & customer_id) which need to be resolved. The logic for resolving the entities to it's IDs is already there.Alternatives solution
No response
Additional context
No response