clarifying registering your resource to the api