Adding in the resource endpoint for the API