How to Publish Resources to the API