rest configuration and basic resource