2018-11-20 20:34:42 +01:00
---
id: events
title: /api/admin/events
---
2021-07-29 15:04:00 +02:00
> In order to access the admin API endpoints you need to identify yourself. Unless you're using the `none` authentication method, you'll need to [create an ADMIN token](/user_guide/api-token) and add an Authorization header using the token.
2020-12-03 21:29:01 +01:00
2016-11-30 21:17:39 +01:00
# Events API
2017-06-28 10:17:48 +02:00
`GET: http://unleash.host.com/api/admin/events`
2016-11-30 21:17:39 +01:00
Used to fetch all changes in the unleash system.
Defined event types:
- feature-created
- feature-updated
- feature-archived
- feature-revived
- strategy-created
- strategy-deleted
2021-01-18 10:53:04 +01:00
- tag-created
- tag-deleted
- tag-type-created
- tag-type-updated
- tag-type-deleted
2021-01-18 12:32:19 +01:00
- application-created
2016-11-30 21:17:39 +01:00
**Response**
2018-11-22 11:20:28 +01:00
```json
2016-11-30 21:17:39 +01:00
{
2018-11-22 11:20:28 +01:00
"version": 1,
"events": [
{
"id": 454,
"type": "feature-updated",
"createdBy": "unknown",
"createdAt": "2016-08-24T11:22:01.354Z",
"data": {
"name": "eid.bankid.mobile",
"description": "",
"strategy": "default",
"enabled": true,
"parameters": {}
},
"diffs": [{ "kind": "E", "path": ["enabled"], "lhs": false, "rhs": true }]
}
]
2016-11-30 21:17:39 +01:00
}
2017-06-28 10:17:48 +02:00
```