# How the Server's collection of a data source's alerts goes

Canonical: https://docs.shumoku.dev/en/server/0.3.0/api/getDatasourcesByIdAlertsCollection
Language: en
Server documentation version: 0.3.0
Product version: 0.3.0
Channel: stable

Shumoku Server API · 0.3.0 · Data Sources

# How the Server's collection of a data source's alerts goes

[OpenAPI source](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.3.0/apps/server/api/openapi.json)

```
GET /api/datasources/{id}/alerts/collection
```

## Authentication

sessionCookie / bearerAuth

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `200` | Collection state | `AlertCollection` |
| `401` | Authentication is required | `Error` |
| `404` | The data source does not report alerts | `Error` |

[`apps/server/api/openapi.json`](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.3.0/apps/server/api/openapi.json)
