Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "0d1694f", "specHash": "7cec401", "version": "10.19.0" }
{ "engineHash": "0d1694f", "specHash": "58bd93b", "version": "10.19.0" }
8 changes: 4 additions & 4 deletions box_sdk_gen/managers/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def search_for_content(
include_recent_shared_links: Optional[bool] = None,
fields: Optional[List[str]] = None,
offset: Optional[int] = None,
deleted_user_ids: Optional[List[str]] = None,
deleter_user_ids: Optional[List[str]] = None,
deleted_at_range: Optional[List[str]] = None,
extra_headers: Optional[Dict[str, Optional[str]]] = None
) -> SearchResultsResponse:
Expand Down Expand Up @@ -489,7 +489,7 @@ def search_for_content(
exceeding 10000 will be rejected
with a 400 response., defaults to None
:type offset: Optional[int], optional
:param deleted_user_ids: Limits the search results to items that were deleted by the given
:param deleter_user_ids: Limits the search results to items that were deleted by the given
list of users, defined as a list of comma separated user IDs.

The `trash_content` parameter needs to be set to `trashed_only`.
Expand All @@ -503,7 +503,7 @@ def search_for_content(
any of the users, an empty result set is returned.

Data available from 2023-02-01 onwards., defaults to None
:type deleted_user_ids: Optional[List[str]], optional
:type deleter_user_ids: Optional[List[str]], optional
:param deleted_at_range: Limits the search results to any items deleted within a given
date range.

Expand Down Expand Up @@ -548,7 +548,7 @@ def search_for_content(
'include_recent_shared_links': to_string(include_recent_shared_links),
'fields': to_string(fields),
'offset': to_string(offset),
'deleted_user_ids': to_string(deleted_user_ids),
'deleter_user_ids': to_string(deleter_user_ids),
'deleted_at_range': to_string(deleted_at_range),
}
)
Expand Down
2 changes: 1 addition & 1 deletion box_sdk_gen/networking/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '10.20.0'
__version__ = '10.19.0'
2 changes: 1 addition & 1 deletion docs/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ client.search.search_for_content(
- A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
- offset `Optional[int]`
- The offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
- deleted_user_ids `Optional[List[str]]`
- deleter_user_ids `Optional[List[str]]`
- Limits the search results to items that were deleted by the given list of users, defined as a list of comma separated user IDs. The `trash_content` parameter needs to be set to `trashed_only`. If searching in trash is not performed, an empty result set is returned. The items need to be owned or shared with the currently authenticated user for them to show up in the search results. If the user does not have access to any files owned by any of the users, an empty result set is returned. Data available from 2023-02-01 onwards.
- deleted_at_range `Optional[List[str]]`
- Limits the search results to any items deleted within a given date range. Date ranges are defined as comma separated RFC3339 timestamps. If the start date is omitted (`2014-05-17T13:35:01-07:00`), anything deleted before the end date will be returned. If the end date is omitted (`2014-05-15T13:35:01-07:00`), the current date will be used as the end date instead. The `trash_content` parameter needs to be set to `trashed_only`. If searching in trash is not performed, then an empty result is returned. Data available from 2023-02-01 onwards.
Expand Down
Loading