com.atlassian.jira.issue.fields.rest.json.beans
Interface JiraBaseUrls

All Known Implementing Classes:
JiraBaseUrlsImpl

public interface JiraBaseUrls

A simple component for getting the base url of the app

Since:
v5.0

Method Summary
 String baseUrl()
           
 String restApi2BaseUrl()
           
 

Method Detail

baseUrl

String baseUrl()
Returns:
The canonical base URL for this instance. It will return an absolute URL (eg. "http://example.com/jira/").

restApi2BaseUrl

String restApi2BaseUrl()
Returns:
The canonical base URL for the /rest/api/2/ endpoint. It will return an absolute URL (eg. "http://example.com/jira/rest/api/2/").


Copyright © 2002-2014 Atlassian. All Rights Reserved.