existsByProperties method
Checks if development information 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 entity or 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.
Implementation
Future<Map<String, dynamic>> existsByProperties(
{required String authorization, int? updateSequenceId}) async {
return await _client.send(
'get',
'rest/devinfo/0.10/existsByProperties',
queryParameters: {
if (updateSequenceId != null) '_updateSequenceId': '$updateSequenceId',
},
) as Map<String, Object?>;
}