how to set up and deploy an Atlassian REST API