Unrecognized fields, query parameters, and headers
Notation follows the APIs index.
- APIs
MUSTignore unrecognized fields, query parameters, and headers. - APIs
MUSTreject the request with422, rather than ignore it, when given a parameter that shapes the result:- a
filter[{name}],sort, orfieldsparameter naming a field they do not support, - paging parameters when the API does not support paging, or for a paging style it does not implement, or
- on a bulk operation, an
atomicvalue it does not support.
- a
note
- A service that is rolled back, for example to remove a security issue, can receive fields, parameters, and headers from callers that have already upgraded to a newer client. Ignoring them means those callers do not have to be rolled back too.
- Ignoring an unrecognized field means doing less than the caller asked. Ignoring a parameter that shapes the result means returning something other than what the caller asked for.