Skip to content

Commit 689bb86

Browse files
docs: Fix docs rendering (box/box-codegen#767) (#649)
1 parent 64163f3 commit 689bb86

20 files changed

+1
-51
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "66d6f32", "specHash": "eaa9cf0", "version": "1.15.0" }
1+
{ "engineHash": "43a5daf", "specHash": "eaa9cf0", "version": "1.15.0" }

docs/ai.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ client.ai.create_ai_ask(
4545
- include_citations `Optional[bool]`
4646
- A flag to indicate whether citations should be returned.
4747
- ai_agent `Optional[Union[AiAgentAsk, AiAgentReference]]`
48-
-
4948
- extra_headers `Optional[Dict[str, Optional[str]]]`
5049
- Extra headers that will be included in the HTTP request.
5150

@@ -101,7 +100,6 @@ client.ai.create_ai_text_gen(
101100
- dialogue_history `Optional[List[AiDialogueHistory]]`
102101
- The history of prompts and answers previously passed to the LLM. This parameter provides the additional context to the LLM when generating the response.
103102
- ai_agent `Optional[Union[AiAgentReference, AiAgentTextGen]]`
104-
-
105103
- extra_headers `Optional[Dict[str, Optional[str]]]`
106104
- Extra headers that will be included in the HTTP request.
107105

@@ -178,7 +176,6 @@ client.ai.create_ai_extract(
178176
- items `List[AiItemBase]`
179177
- The items that LLM will process. Currently, you can use files only.
180178
- ai_agent `Optional[Union[AiAgentReference, AiAgentExtract]]`
181-
-
182179
- extra_headers `Optional[Dict[str, Optional[str]]]`
183180
- Extra headers that will be included in the HTTP request.
184181

@@ -260,7 +257,6 @@ client.ai.create_ai_extract_structured(
260257
- fields `Optional[List[CreateAiExtractStructuredFields]]`
261258
- The fields to be extracted from the provided items. For your request to work, you must provide either `metadata_template` or `fields`, but not both.
262259
- ai_agent `Optional[Union[AiAgentReference, AiAgentExtractStructured]]`
263-
-
264260
- extra_headers `Optional[Dict[str, Optional[str]]]`
265261
- Extra headers that will be included in the HTTP request.
266262

docs/ai_studio.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,8 @@ client.ai_studio.create_ai_agent(
7676
- allowed_entities `Optional[List[AiAgentAllowedEntity]]`
7777
- List of allowed users or groups.
7878
- ask `Optional[AiStudioAgentAsk]`
79-
-
8079
- text_gen `Optional[AiStudioAgentTextGen]`
81-
-
8280
- extract `Optional[AiStudioAgentExtract]`
83-
-
8481
- extra_headers `Optional[Dict[str, Optional[str]]]`
8582
- Extra headers that will be included in the HTTP request.
8683

@@ -125,11 +122,8 @@ client.ai_studio.update_ai_agent_by_id(
125122
- allowed_entities `Optional[List[AiAgentAllowedEntity]]`
126123
- List of allowed users or groups.
127124
- ask `Optional[AiStudioAgentAsk]`
128-
-
129125
- text_gen `Optional[AiStudioAgentTextGen]`
130-
-
131126
- extract `Optional[AiStudioAgentExtract]`
132-
-
133127
- extra_headers `Optional[Dict[str, Optional[str]]]`
134128
- Extra headers that will be included in the HTTP request.
135129

docs/avatars.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ client.avatars.create_user_avatar(
6363
- pic `ByteStream`
6464
- The image file to be uploaded to Box. Accepted file extensions are `.jpg` or `.png`. The maximum file size is 1MB.
6565
- pic_file_name `Optional[str]`
66-
-
6766
- pic_content_type `Optional[str]`
68-
-
6967
- extra_headers `Optional[Dict[str, Optional[str]]]`
7068
- Extra headers that will be included in the HTTP request.
7169

docs/docgen.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,13 @@ client.docgen.create_docgen_batch_v2025_r0(
129129
### Arguments
130130

131131
- file `FileReferenceV2025R0`
132-
-
133132
- file_version `Optional[FileVersionBaseV2025R0]`
134-
-
135133
- input_source `str`
136134
- Source of input. The value has to be `api` for all the API-based document generation requests.
137135
- destination_folder `CreateDocgenBatchV2025R0DestinationFolder`
138-
-
139136
- output_type `str`
140137
- Type of the output file.
141138
- document_generation_data `List[DocGenDocumentGenerationDataV2025R0]`
142-
-
143139
- box_version `BoxVersionHeaderV2025R0`
144140
- Version header.
145141
- extra_headers `Optional[Dict[str, Optional[str]]]`

docs/docgen_template.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ client.docgen_template.create_docgen_template_v2025_r0(FileReferenceV2025R0(id=f
2525
### Arguments
2626

2727
- file `FileReferenceV2025R0`
28-
-
2928
- box_version `BoxVersionHeaderV2025R0`
3029
- Version header.
3130
- extra_headers `Optional[Dict[str, Optional[str]]]`

docs/files.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ client.files.update_file_by_id(
7676
- description `Optional[str]`
7777
- The description for a file. This can be seen in the right-hand sidebar panel when viewing a file in the Box web app. Additionally, this index is used in the search index of the file, allowing users to find the file by the content in the description.
7878
- parent `Optional[UpdateFileByIdParent]`
79-
-
8079
- shared_link `Optional[UpdateFileByIdSharedLink]`
81-
-
8280
- lock `Optional[UpdateFileByIdLock]`
8381
- Defines a lock on an item. This prevents the item from being moved, renamed, or otherwise changed by anyone other than the user who created the lock. Set this to `null` to remove the lock.
8482
- disposition_at `Optional[DateTime]`

docs/folders.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,8 @@ client.folders.update_folder_by_id(
9999
- can_non_owners_invite `Optional[bool]`
100100
- Specifies if users who are not the owner of the folder can invite new collaborators to the folder.
101101
- parent `Optional[UpdateFolderByIdParent]`
102-
-
103102
- shared_link `Optional[UpdateFolderByIdSharedLink]`
104-
-
105103
- folder_upload_email `Optional[UpdateFolderByIdFolderUploadEmail]`
106-
-
107104
- tags `Optional[List[str]]`
108105
- The tags for this item. These tags are shown in the Box web app and mobile apps next to an item. To add or remove a tag, retrieve the item's current tags, modify them, and then update this field. There is a limit of 100 tags per item, and 10,000 unique tags per enterprise.
109106
- is_collaboration_restricted_to_enterprise `Optional[bool]`
@@ -238,7 +235,6 @@ client.folders.create_folder(new_folder_name, CreateFolderParent(id="0"))
238235
- parent `CreateFolderParent`
239236
- The parent folder to create the new folder within.
240237
- folder_upload_email `Optional[CreateFolderFolderUploadEmail]`
241-
-
242238
- sync_state `Optional[CreateFolderSyncState]`
243239
- Specifies whether a folder should be synced to a user's device or not. This is used by Box Sync (discontinued) and is not used by Box Drive.
244240
- fields `Optional[List[str]]`

docs/integration_mappings.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,8 @@ user_client.integration_mappings.create_slack_integration_mapping(
7979
### Arguments
8080

8181
- partner_item `IntegrationMappingPartnerItemSlack`
82-
-
8382
- box_item `IntegrationMappingBoxItemSlack`
84-
-
8583
- options `Optional[IntegrationMappingSlackOptions]`
86-
-
8784
- extra_headers `Optional[Dict[str, Optional[str]]]`
8885
- Extra headers that will be included in the HTTP request.
8986

@@ -119,9 +116,7 @@ user_client.integration_mappings.update_slack_integration_mapping_by_id(
119116
- integration_mapping_id `str`
120117
- An ID of an integration mapping. Example: "11235432"
121118
- box_item `Optional[IntegrationMappingBoxItemSlack]`
122-
-
123119
- options `Optional[IntegrationMappingSlackOptions]`
124-
-
125120
- extra_headers `Optional[Dict[str, Optional[str]]]`
126121
- Extra headers that will be included in the HTTP request.
127122

@@ -229,9 +224,7 @@ user_client.integration_mappings.create_teams_integration_mapping(
229224
### Arguments
230225

231226
- partner_item `IntegrationMappingPartnerItemTeamsCreateRequest`
232-
-
233227
- box_item `FolderReference`
234-
-
235228
- extra_headers `Optional[Dict[str, Optional[str]]]`
236229
- Extra headers that will be included in the HTTP request.
237230

@@ -266,7 +259,6 @@ user_client.integration_mappings.update_teams_integration_mapping_by_id(
266259
- integration_mapping_id `str`
267260
- An ID of an integration mapping. Example: "11235432"
268261
- box_item `Optional[FolderReference]`
269-
-
270262
- extra_headers `Optional[Dict[str, Optional[str]]]`
271263
- Extra headers that will be included in the HTTP request.
272264

docs/shield_information_barrier_reports.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ client.shield_information_barrier_reports.create_shield_information_barrier_repo
6161
### Arguments
6262

6363
- shield_information_barrier `Optional[ShieldInformationBarrierBase]`
64-
-
6564
- extra_headers `Optional[Dict[str, Optional[str]]]`
6665
- Extra headers that will be included in the HTTP request.
6766

0 commit comments

Comments
 (0)