Skip to content

Commit d106c5e

Browse files
mikewuuseambot
andauthored
fix: missing endpoint parameter jsonType (#609)
* fix: missing endpoint parameter jsonType * ci: Generate docs * capitalize jsonType * ci: Format code * ci: Generate docs --------- Co-authored-by: Seam Bot <seambot@getseam.com>
1 parent f9cba06 commit d106c5e

100 files changed

Lines changed: 341 additions & 338 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/api/access_codes/create.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,65 +28,65 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
2828

2929
## Request Parameters
3030

31-
**`device_id`** (Required)
31+
**`device_id`** *String* (Required)
3232

3333
ID of the device for which you want to create the new access code.
3434

3535
---
3636

37-
**`allow_external_modification`**
37+
**`allow_external_modification`** *Boolean*
3838

3939
Indicates whether [external modification](https://docs.seam.co/latest/api/access_codes#external-modification) of the code is allowed. Default: `false`.
4040

4141
---
4242

43-
**`attempt_for_offline_device`**
43+
**`attempt_for_offline_device`** *Boolean*
4444

4545
---
4646

47-
**`code`**
47+
**`code`** *String*
4848

4949
Code to be used for access.
5050

5151
---
5252

53-
**`common_code_key`**
53+
**`common_code_key`** *String*
5454

5555
Key to identify access codes that should have the same code. Any two access codes with the same `common_code_key` are guaranteed to have the same `code`. See also [Creating and Updating Multiple Linked Access Codes](../../capability-guides/smart-locks/access-codes/creating-and-updating-multiple-linked-access-codes.md).
5656

5757
---
5858

59-
**`ends_at`**
59+
**`ends_at`** *String*
6060

6161
Date and time at which the validity of the new access code ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.
6262

6363
---
6464

65-
**`is_external_modification_allowed`**
65+
**`is_external_modification_allowed`** *Boolean*
6666

6767
Indicates whether [external modification](https://docs.seam.co/latest/api/access_codes#external-modification) of the code is allowed. Default: `false`.
6868

6969
---
7070

71-
**`is_offline_access_code`**
71+
**`is_offline_access_code`** *Boolean*
7272

7373
Indicates whether the access code is an [offline access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/offline-access-codes).
7474

7575
---
7676

77-
**`is_one_time_use`**
77+
**`is_one_time_use`** *Boolean*
7878

7979
Indicates whether the [offline access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/offline-access-codes) is a single-use access code.
8080

8181
---
8282

83-
**`max_time_rounding`**
83+
**`max_time_rounding`** *String*
8484

8585
Maximum rounding adjustment. To create a daily-bound [offline access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/offline-access-codes) for devices that support this feature, set this parameter to `1d`.
8686

8787
---
8888

89-
**`name`**
89+
**`name`** *String*
9090

9191
Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
9292

@@ -98,31 +98,31 @@ Name of the new access code. Enables administrators and users to identify the ac
9898

9999
---
100100

101-
**`prefer_native_scheduling`**
101+
**`prefer_native_scheduling`** *Boolean*
102102

103103
Indicates whether [native scheduling](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#native-scheduling) should be used for time-bound codes when supported by the provider. Default: `true`.
104104

105105
---
106106

107-
**`preferred_code_length`**
107+
**`preferred_code_length`** *Number*
108108

109109
Preferred code length. Only applicable if you do not specify a `code`. If the affected device does not support the preferred code length, Seam reverts to using the shortest supported code length.
110110

111111
---
112112

113-
**`starts_at`**
113+
**`starts_at`** *String*
114114

115115
Date and time at which the validity of the new access code starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
116116

117117
---
118118

119-
**`use_backup_access_code_pool`**
119+
**`use_backup_access_code_pool`** *Boolean*
120120

121121
Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](../../api-clients/access_codes/pull_backup_access_code.md).
122122

123123
---
124124

125-
**`use_offline_access_code`**
125+
**`use_offline_access_code`** *Boolean*
126126

127127
---
128128

docs/api/access_codes/create_multiple.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,65 +36,65 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
3636

3737
## Request Parameters
3838

39-
**`device_ids`** *of UUIDs* (Required)
39+
**`device_ids`** *Array* *of UUIDs* (Required)
4040

4141
IDs of the devices for which you want to create the new access codes.
4242

4343
---
4444

45-
**`allow_external_modification`**
45+
**`allow_external_modification`** *Boolean*
4646

4747
Indicates whether [external modification](https://docs.seam.co/latest/api/access_codes#external-modification) of the code is allowed. Default: `false`.
4848

4949
---
5050

51-
**`attempt_for_offline_device`**
51+
**`attempt_for_offline_device`** *Boolean*
5252

5353
---
5454

55-
**`behavior_when_code_cannot_be_shared`**
55+
**`behavior_when_code_cannot_be_shared`** *String*
5656

5757
Desired behavior if any device cannot share a code. If `throw` (default), no access codes will be created if any device cannot share a code. If `create_random_code`, a random code will be created on devices that cannot share a code.
5858

5959
---
6060

61-
**`code`**
61+
**`code`** *String*
6262

6363
Code to be used for access.
6464

6565
---
6666

67-
**`ends_at`**
67+
**`ends_at`** *String*
6868

6969
Date and time at which the validity of the new access code ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.
7070

7171
---
7272

73-
**`is_external_modification_allowed`**
73+
**`is_external_modification_allowed`** *Boolean*
7474

7575
Indicates whether [external modification](https://docs.seam.co/latest/api/access_codes#external-modification) of the code is allowed. Default: `false`.
7676

7777
---
7878

79-
**`is_offline_access_code`**
79+
**`is_offline_access_code`** *Boolean*
8080

8181
Indicates whether the access code is an [offline access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/offline-access-codes).
8282

8383
---
8484

85-
**`is_one_time_use`**
85+
**`is_one_time_use`** *Boolean*
8686

8787
Indicates whether the [offline access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/offline-access-codes) is a single-use access code.
8888

8989
---
9090

91-
**`max_time_rounding`**
91+
**`max_time_rounding`** *String*
9292

9393
Maximum rounding adjustment. To create a daily-bound [offline access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/offline-access-codes) for devices that support this feature, set this parameter to `1d`.
9494

9595
---
9696

97-
**`name`**
97+
**`name`** *String*
9898

9999
Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
100100

@@ -106,31 +106,31 @@ Name of the new access code. Enables administrators and users to identify the ac
106106

107107
---
108108

109-
**`prefer_native_scheduling`**
109+
**`prefer_native_scheduling`** *Boolean*
110110

111111
Indicates whether [native scheduling](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#native-scheduling) should be used for time-bound codes when supported by the provider. Default: `true`.
112112

113113
---
114114

115-
**`preferred_code_length`**
115+
**`preferred_code_length`** *Number*
116116

117117
Preferred code length. Only applicable if you do not specify a `code`. If the affected device does not support the preferred code length, Seam reverts to using the shortest supported code length.
118118

119119
---
120120

121-
**`starts_at`**
121+
**`starts_at`** *String*
122122

123123
Date and time at which the validity of the new access code starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
124124

125125
---
126126

127-
**`use_backup_access_code_pool`**
127+
**`use_backup_access_code_pool`** *Boolean*
128128

129129
Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](../../api-clients/access_codes/pull_backup_access_code.md).
130130

131131
---
132132

133-
**`use_offline_access_code`**
133+
**`use_offline_access_code`** *Boolean*
134134

135135
---
136136

docs/api/access_codes/delete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
2828

2929
## Request Parameters
3030

31-
**`access_code_id`** (Required)
31+
**`access_code_id`** *String* (Required)
3232

3333
ID of the access code that you want to delete.
3434

3535
---
3636

37-
**`device_id`**
37+
**`device_id`** *String*
3838

3939
ID of the device for which you want to delete the access code.
4040

docs/api/access_codes/generate_code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
2828

2929
## Request Parameters
3030

31-
**`device_id`** (Required)
31+
**`device_id`** *String* (Required)
3232

3333
ID of the device for which you want to generate a code.
3434

docs/api/access_codes/get.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
2828

2929
## Request Parameters
3030

31-
**`access_code_id`**
31+
**`access_code_id`** *String*
3232

3333
ID of the access code that you want to get. You must specify either `access_code_id` or both `device_id` and `code`.
3434

3535
---
3636

37-
**`code`**
37+
**`code`** *String*
3838

3939
Code of the access code that you want to get. You must specify either `access_code_id` or both `device_id` and `code`.
4040

4141
---
4242

43-
**`device_id`**
43+
**`device_id`** *String*
4444

4545
ID of the device containing the access code that you want to get. You must specify either `access_code_id` or both `device_id` and `code`.
4646

docs/api/access_codes/list.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,31 +30,31 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
3030

3131
## Request Parameters
3232

33-
**`access_code_ids`** *of UUIDs*
33+
**`access_code_ids`** *Array* *of UUIDs*
3434

3535
IDs of the access codes that you want to retrieve. Specify either `device_id` or `access_code_ids`.
3636

3737
---
3838

39-
**`device_id`**
39+
**`device_id`** *String*
4040

4141
ID of the device for which you want to list access codes. Specify either `device_id` or `access_code_ids`.
4242

4343
---
4444

45-
**`limit`**
45+
**`limit`** *Number*
4646

4747
Numerical limit on the number of access codes to return.
4848

4949
---
5050

51-
**`page_cursor`**
51+
**`page_cursor`** *String*
5252

5353
Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
5454

5555
---
5656

57-
**`user_identifier_key`**
57+
**`user_identifier_key`** *String*
5858

5959
Your user ID for the user by which to filter access codes.
6060

docs/api/access_codes/pull_backup_access_code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
3636

3737
## Request Parameters
3838

39-
**`access_code_id`** (Required)
39+
**`access_code_id`** *String* (Required)
4040

4141
ID of the access code for which you want to pull a backup access code.
4242

docs/api/access_codes/report_device_constraints.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,25 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
3030

3131
## Request Parameters
3232

33-
**`device_id`** (Required)
33+
**`device_id`** *String* (Required)
3434

3535
ID of the device for which you want to report constraints.
3636

3737
---
3838

39-
**`max_code_length`**
39+
**`max_code_length`** *Number*
4040

4141
Maximum supported code length as an integer between 4 and 20, inclusive. You can specify either `min_code_length`/`max_code_length` or `supported_code_lengths`.
4242

4343
---
4444

45-
**`min_code_length`**
45+
**`min_code_length`** *Number*
4646

4747
Minimum supported code length as an integer between 4 and 20, inclusive. You can specify either `min_code_length`/`max_code_length` or `supported_code_lengths`.
4848

4949
---
5050

51-
**`supported_code_lengths`** *of Numbers*
51+
**`supported_code_lengths`** *Array* *of Numbers*
5252

5353
Array of supported code lengths as integers between 4 and 20, inclusive. You can specify either `supported_code_lengths` or `min_code_length`/`max_code_length`.
5454

docs/api/access_codes/simulate/create_unmanaged_access_code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
2828

2929
## Request Parameters
3030

31-
**`code`** (Required)
31+
**`code`** *String* (Required)
3232

3333
Code of the simulated unmanaged access code.
3434

3535
---
3636

37-
**`device_id`** (Required)
37+
**`device_id`** *String* (Required)
3838

3939
ID of the device for which you want to simulate the creation of an unmanaged access code.
4040

4141
---
4242

43-
**`name`** (Required)
43+
**`name`** *String* (Required)
4444

4545
Name of the simulated unmanaged access code.
4646

0 commit comments

Comments
 (0)