Skip to content

Implement racks module #133

Open
@cmeissner

Description

@cmeissner

Preflight checks

  • I agree to follow the Code of Conduct.
  • I have searched the issue tracker for a feature requests that matches the one I want to file, without success.
  • I only submit one single feature per feature request.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedThis issue can reproduced and was acceptedenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions