Skip to content

Function: existsByProperties() ​

ts
function existsByProperties(
   client, 
   parameters?, 
   options?
): Promise<{
[key: string]: unknown;
  hasDataMatchingProperties?: boolean;
}>;

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

Checks if repositories which have all the provided properties exists. For example, if request is GET existsByProperties?accountId=123&projectId=ABC then result will be positive only if there is at least one repository with both properties accountId=123 and projectId=ABC. Special property _updateSequenceId can be used to filter all entities with updateSequenceId less or equal than the value specified. In addition to the optional _updateSequenceId, one or more query params must be supplied to specify properties to search by.

Parameters ​

ParameterTypeDescription
clientClient-
parameters?{ updateSequenceId?: number; }-
parameters.updateSequenceId?numberAn optional property. Filters out entities and repositories which have updateSequenceId greater than specified.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; hasDataMatchingProperties?: boolean; }>