Skip to content

Commit b307226

Browse files
authored
Mia/303 adding access event subscriptions (cloudflare#26373)
* adding-instance-restarts-changelog-entry * added-access-event-subscriptions * Delete src/content/changelog/workflows/2025-11-07-instance-restarts.mdx
1 parent 8650ec3 commit b307226

File tree

3 files changed

+70
-0
lines changed

3 files changed

+70
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Event subscriptions
3+
pcx_content_type: reference
4+
sidebar:
5+
order: 10
6+
head:
7+
- tag: title
8+
content: Event subscriptions
9+
---
10+
11+
import { Render } from "~/components";
12+
13+
<Render file="event-subscriptions/intro" product="queues" />
14+
15+
## Available Access events
16+
17+
<Render file="event-subscriptions/access-events" product="queues" />

src/content/docs/queues/event-subscriptions/events-schemas.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ This page provides a comprehensive reference of available event sources and thei
1414

1515
## Sources
1616

17+
### Access
18+
19+
<Render file="event-subscriptions/access-events" product="queues" />
20+
1721
### R2
1822

1923
<Render file="event-subscriptions/r2-events" product="queues" />
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#### `application.created`
2+
3+
Triggered when an application is created.
4+
5+
**Example:**
6+
7+
```json
8+
{
9+
"type": "cf.access.application.created",
10+
"source": {
11+
"type": "access"
12+
},
13+
"payload": {
14+
"id": "app-12345678-90ab-cdef-1234-567890abcdef",
15+
"name": "My Application"
16+
},
17+
"metadata": {
18+
"accountId": "f9f79265f388666de8122cfb508d7776",
19+
"eventSubscriptionId": "1830c4bb612e43c3af7f4cada31fbf3f",
20+
"eventSchemaVersion": 1,
21+
"eventTimestamp": "2025-05-01T02:48:57.132Z"
22+
}
23+
}
24+
```
25+
26+
#### `application.deleted`
27+
28+
Triggered when an application is deleted.
29+
30+
**Example:**
31+
32+
```json
33+
{
34+
"type": "cf.access.application.deleted",
35+
"source": {
36+
"type": "access"
37+
},
38+
"payload": {
39+
"id": "app-12345678-90ab-cdef-1234-567890abcdef",
40+
"name": "My Application"
41+
},
42+
"metadata": {
43+
"accountId": "f9f79265f388666de8122cfb508d7776",
44+
"eventSubscriptionId": "1830c4bb612e43c3af7f4cada31fbf3f",
45+
"eventSchemaVersion": 1,
46+
"eventTimestamp": "2025-05-01T02:48:57.132Z"
47+
}
48+
}
49+
```

0 commit comments

Comments
 (0)