api_v3: consistency: all flags must live in enums, at "flags" section