Jira's REST APIs always follow the URI structure of http://host:port/context/rest/api-name/api-version/resource-name. So, in our example, we are using version 2 of the search API. The jql parameter contains the actual JQL query we are running. Most APIs will require you to be logged in, so we configure the settings to use basic authentication as part of our API call.