add back compat; fix rest-api-spec