diff --git a/docs/api/_report.md b/docs/api/_report.md index 327adc94d..7edd189ca 100644 --- a/docs/api/_report.md +++ b/docs/api/_report.md @@ -21,7 +21,6 @@ - `/noise_sensors` - `/noise_sensors/noise_thresholds` - `/noise_sensors/simulate` -- `/webhooks` - `/workspaces` ### Endpoints diff --git a/docs/api/webhooks/README.md b/docs/api/webhooks/README.md new file mode 100644 index 000000000..463a22f68 --- /dev/null +++ b/docs/api/webhooks/README.md @@ -0,0 +1,32 @@ +# Webhooks + +## `webhook` + +### `event_types` + +Format: `List` + +Item format: `String` + +--- + +### `secret` + +Format: `String` + +--- + +### `url` + +Format: `String` + +--- + +### `webhook_id` + +Format: `String` + +--- + +## Endpoints + diff --git a/src/data/paths.yaml b/src/data/paths.yaml index 4b9238aaa..2c74eba9f 100644 --- a/src/data/paths.yaml +++ b/src/data/paths.yaml @@ -80,3 +80,8 @@ title: Enrollment Automations resources: - enrollment_automation + +/webhooks: + title: Webhooks + resources: + - webhook diff --git a/src/lib/reference.ts b/src/lib/reference.ts index adae39a57..751349554 100644 --- a/src/lib/reference.ts +++ b/src/lib/reference.ts @@ -57,7 +57,8 @@ export const reference = ( !route.path.startsWith('/acs') && !route.path.startsWith('/thermostats') && !route.path.startsWith('/phones') && - !route.path.startsWith('/user_identities') + !route.path.startsWith('/user_identities') && + !route.path.startsWith('/webhooks') ) { continue }