Skip to content

Function: getProject() ​

ts
function getProject(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  archived?: boolean;
  avatarUrls?: Record<string, string>;
  description?: string;
  id?: string;
  key?: string;
  name?: string;
  self?: string;
}>;

Defined in: src/server/api/projects.ts:176

Returns a full representation of a project in JSON format. All project keys associated with the project will only be returned if expand=projectKeys.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ expand?: string; projectIdOrKey: string; }-
parameters.expand?stringParameters to expand
parameters.projectIdOrKey?stringProject id or project key
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; archived?: boolean; avatarUrls?: Record<string, string>; description?: string; id?: string; key?: string; name?: string; self?: string; }>