[api] retire flagdetails view

it was never documented and only used by the webui