Skip to content

Function: getRepository() ​

ts
function getRepository(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  avatar?: string;
  avatarDescription?: string;
  branches?: object[];
  commits?: object[];
  description?: string;
  forkOf?: string;
  id: string;
  name: string;
  pullRequests?: object[];
  updateSequenceId: number;
  url: string;
}>;

Defined in: src/agile/api/developmentInformation.ts:48

For the specified repository ID, retrieves the repository and the most recent 400 development information entities. The result will be what is currently stored, ignoring any pending updates or deletes.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ repositoryId: string; }-
parameters.repositoryIdstringThe ID of repository to fetch
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; avatar?: string; avatarDescription?: string; branches?: object[]; commits?: object[]; description?: string; forkOf?: string; id: string; name: string; pullRequests?: object[]; updateSequenceId: number; url: string; }>