---
title: "GET /api/testShare/aggregate"
method: GET
path: "/api/testShare/aggregate"
tags: ["testShare"]
---

# GET /api/testShare/aggregate

`GET /api/testShare/aggregate`

Aggregate TestShares

## Response `200`

Successful operation

- object
  - `data` AggregateTestShare, required
    - `_count` TestShareCountAggregateOutputType
      - `id` integer, required
      - `permission` integer, required
      - `testId` integer, required
      - `userId` integer, required
      - `createdAt` integer, required
      - `updatedAt` integer, required
      - `_all` integer, required
    - `_min` TestShareMinAggregateOutputType
      - `id` string, nullable
      - `permission` string, nullable
      - `testId` string, nullable
      - `userId` string, nullable
      - `createdAt` string, date-time, nullable
      - `updatedAt` string, date-time, nullable
    - `_max` TestShareMaxAggregateOutputType
      - `id` string, nullable
      - `permission` string, nullable
      - `testId` string, nullable
      - `userId` string, nullable
      - `createdAt` string, date-time, nullable
      - `updatedAt` string, date-time, nullable
  - `meta` Meta — Meta information about the request or response
    - `serialization` unknown

## Other responses

- `400` — Invalid request
- `403` — Request is forbidden
- `422` — Request is unprocessable due to validation errors

---

[API](https://skmtc.dev/iris-networks/apis/my-awesome-api.md) · [All operations](https://skmtc.dev/iris-networks/apis/my-awesome-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/iris-networks/my-awesome-api/revisions/4cea49731f1e/schema)
