Skip to content

Function: getRepository()

ts
function getRepository(client, parameters): 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:46

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

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; }>