public class NotificationSchemeResource extends Object
Constructor and Description |
---|
NotificationSchemeResource(NotificationSchemeService notificationSchemeService,
JiraAuthenticationContext authContext,
ResponseFactory responseFactory,
NotificationSchemeBeanFactory notificationSchemeBeanFactory) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getNotificationScheme(Long notificationSchemeId,
String expand)
Returns a full representation of the notification scheme for the given id.
|
javax.ws.rs.core.Response |
getNotificationSchemes(Long startAt,
Integer maxResults,
String expand)
Returns a paginated list of notification schemes.
|
public NotificationSchemeResource(NotificationSchemeService notificationSchemeService, JiraAuthenticationContext authContext, ResponseFactory responseFactory, NotificationSchemeBeanFactory notificationSchemeBeanFactory)
public javax.ws.rs.core.Response getNotificationScheme(Long notificationSchemeId, String expand)
Notification recipients can be:
notificationSchemeId
- an id of the notification scheme to retrieveexpand:
- optional information to be expanded in the response: group, user, projectRole or field.public javax.ws.rs.core.Response getNotificationSchemes(Long startAt, Integer maxResults, String expand)
startAt
- the index of the first notification scheme to return (0 based).maxResults
- the maximum number of notification schemes to return (max 50).expand:
- optional information to be expanded in the response: group, user, projectRole or field.Copyright © 2002-2015 Atlassian. All Rights Reserved.