Resources API - index and create actions