complete resource APIs