From 7e884857a023242c189c93db5f703939e6cbf9b9 Mon Sep 17 00:00:00 2001 From: Andrii Balitskyi <10balian10@gmail.com> Date: Thu, 15 May 2025 15:59:59 +0200 Subject: [PATCH 1/2] Generate /workspaces route and all the endpoints --- src/data/paths.yaml | 5 +++++ src/lib/reference.ts | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/data/paths.yaml b/src/data/paths.yaml index 4b9238aaa..90127fd71 100644 --- a/src/data/paths.yaml +++ b/src/data/paths.yaml @@ -80,3 +80,8 @@ title: Enrollment Automations resources: - enrollment_automation + +/workspaces: + title: Workspaces + resources: + - workspace diff --git a/src/lib/reference.ts b/src/lib/reference.ts index adae39a57..609314bf4 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('/workspaces') ) { continue } From b0250c5945fcbad9ccca106361acf95f7d52ced5 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Thu, 15 May 2025 14:01:05 +0000 Subject: [PATCH 2/2] ci: Generate docs --- docs/api/_report.md | 1 - docs/api/workspaces/README.md | 83 +++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 docs/api/workspaces/README.md diff --git a/docs/api/_report.md b/docs/api/_report.md index 327adc94d..57f473354 100644 --- a/docs/api/_report.md +++ b/docs/api/_report.md @@ -22,7 +22,6 @@ - `/noise_sensors/noise_thresholds` - `/noise_sensors/simulate` - `/webhooks` -- `/workspaces` ### Endpoints diff --git a/docs/api/workspaces/README.md b/docs/api/workspaces/README.md new file mode 100644 index 000000000..a4ac545c8 --- /dev/null +++ b/docs/api/workspaces/README.md @@ -0,0 +1,83 @@ +# Workspaces + +## `workspace` + +### `company_name` + +Format: `String` + +--- + +### `connect_partner_name` + +{% hint style="warning" %} +**Deprecated**. use company_name +{% endhint %} + +Format: `String` + +--- + +### `connect_webview_customization` + +Format: `Object` + +
+ +inviter_logo_url Format: String +
+ +
+ +logo_shape Format: Enum + +Possible enum values: +- `circle` +- `square` +
+ +
+ +primary_button_color Format: String +
+ +
+ +primary_button_text_color Format: String +
+ +
+ +success_message Format: String +
+ +--- + +### `is_sandbox` + +Format: `Boolean` + +--- + +### `is_suspended` + +Format: `Boolean` + +True if a sandbox workspace has not been accessed in 14 days + +--- + +### `name` + +Format: `String` + +--- + +### `workspace_id` + +Format: `UUID` + +--- + +## Endpoints +