Hi. I get started to maintain some JIRA Sevice Desk plugin(front-end part) and faced with API, that I'am not able to find into documentation:
jQuery.ajax({
url: "$hcbaseurl/rest/servicedesk/1/customer/models",
type: 'POST',
contentType: "application/json; charset=utf-8",
dataType: "json",
data: JSON.stringify(jsonData),
success: function (data) {
AJS.undim();
JIRA.Loading.hideLoadingIndicator();
jQuery('#loginHolder').html(ServiceDesk.Templates.Customer.loginForm(data));
}
});
I already know about AUI library and AJS/JIRA parts, but what about ServiceDesk? It returns HTML of login form, in case above. So, where can I find a description of this API?