Function: getProjectNotificationScheme()
ts
function getProjectNotificationScheme(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
description?: string;
expand?: string;
id?: number;
name?: string;
notificationSchemeEvents?: object[];
self?: string;
}>;Defined in: src/server/api/projects.ts:660
Gets a notification scheme associated with the project. Follow the documentation of /notificationscheme/{id} resource for all details about returned value.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { expand?: | "user" | "group" | "field" | string & object | "projectRole" | ("user" | "group" | "field" | string & object | "projectRole")[]; projectKeyOrId: string; } | - |
parameters.expand? | | "user" | "group" | "field" | string & object | "projectRole" | ("user" | "group" | "field" | string & object | "projectRole")[] | Optional information to be expanded in the response: group, user, projectRole or field. This parameter accepts a comma-separated list. |
parameters.projectKeyOrId? | string | Key or id of the project |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; description?: string; expand?: string; id?: number; name?: string; notificationSchemeEvents?: object[]; self?: string; }>