getRepository method

Future<Map<String, dynamic>> getRepository({
  1. required String repositoryId,
  2. required String authorization,
})

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.

Implementation

Future<Map<String, dynamic>> getRepository(
    {required String repositoryId, required String authorization}) async {
  return await _client.send(
    'get',
    'rest/devinfo/0.10/repository/{repositoryId}',
    pathParameters: {
      'repositoryId': repositoryId,
    },
  ) as Map<String, Object?>;
}