Endpoint return data does not match accepted request data #41
Labels
breaking change
Requires changes that may breaking existing usage
feature request
New feature or request
Projects
Currently, return data from API calls returns the internal XML data values which do not always match the request data parameters.
For example: say a client wanted to GET an existing firewall rule object to create a new object with the same values or slightly modified values. They could not simply use the return data as a payload for their POST request because the internal XML data returned from the GET request do not match the request parameters for a POST request.
This is not REST like. It would be preferred to have the API return data in the same representation it accepts as request data, and then have the backend translate the representation data into the internal values pfSense understands.
The text was updated successfully, but these errors were encountered: