Status codes in api_router; dependency extension moved to rest.extend