Sorry, I don't properly understand what you mean.
With two Ids in there, my API controller can grab the same value from two different variables and I guess this redundancy is not intended by design.
With appendId = true, if I don't set the extraParams, the id is added to the URL path only. As soon as I add any extraParams, I have it in the URL path and the query string at the same time. Both ids are added automatically.
With appendId = false, there is no id appended.