Skip to content

Post static_mapping using REST API issue #583

You must be logged in to vote

You can use sorting for this. In your POST request to /api/v2/services/dhcp_server/static_mapping, you can set the sort_by parameter to ipaddr to sort the static mappings by IP address. You can sort by any field(s) available to the endpoint.

Since the webConfigurator sorts static mappings by IP address by default, I can make that the default for this endpoint in the next patch as well.

Replies: 1 comment 4 replies

You must be logged in to vote
4 replies
@couraillon

@couraillon

@jaredhendrickson13

@couraillon

Answer selected by couraillon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants