You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 20a409c
Browse filesBrowse the repository at this point in the historyBrowse files
ks-release-bot
committed
chore(release): regenerate ksapi v1.161.0 from ks-backend
Copy file name to clipboardExpand all lines: docs/PathPartsApi.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -676,7 +676,7 @@ Name | Type | Description | Notes
676
676
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
@@ -691,6 +691,10 @@ When ``recursive=True``, events on any descendant of the subject
691
691
are included — useful for "all events under this folder" or "all
692
692
events under this workflow definition".
693
693
694
+
By default the feed collapses intra-document churn to match the
695
+
tenant-wide admin view; pass ``include_churn=True`` for the complete
696
+
forensic feed (the agent's ``list_events`` tool does this).
697
+
694
698
### Example
695
699
696
700
* Api Key Authentication (cookieAuth):
@@ -733,12 +737,13 @@ with ksapi.ApiClient(configuration) as api_client:
733
737
since ='2013-10-20T19:20:30+01:00'# datetime | Only events at or after this timestamp (optional)
734
738
until ='2013-10-20T19:20:30+01:00'# datetime | Only events strictly before this timestamp (optional)
735
739
recursive =False# bool | Include events from descendant path_parts as well as the subject itself (optional) (default to False)
740
+
include_churn =False# bool | Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set. (optional) (default to False)
736
741
limit =20# int | Number of items per page (optional) (default to 20)
737
742
offset =0# int | Number of items to skip (optional) (default to 0)
print("The response of PathPartsApi->list_path_part_events:\n")
743
748
pprint(api_response)
744
749
exceptExceptionas e:
@@ -757,6 +762,7 @@ Name | Type | Description | Notes
757
762
**since** | **datetime**| Only events at or after this timestamp | [optional]
758
763
**until** | **datetime**| Only events strictly before this timestamp | [optional]
759
764
**recursive** | **bool**| Include events from descendant path_parts as well as the subject itself | [optional][default to False]
765
+
**include_churn** | **bool**| Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set. | [optional][default to False]
760
766
**limit** | **int**| Number of items per page | [optional][default to 20]
761
767
**offset** | **int**| Number of items to skip | [optional][default to 0]
Copy file name to clipboardExpand all lines: ksapi/api/path_parts_api.py
+20-3Lines changed: 20 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2025,6 +2025,7 @@ def list_path_part_events(
2025
2025
since: Annotated[Optional[datetime], Field(description="Only events at or after this timestamp")] =None,
2026
2026
until: Annotated[Optional[datetime], Field(description="Only events strictly before this timestamp")] =None,
2027
2027
recursive: Annotated[Optional[StrictBool], Field(description="Include events from descendant path_parts as well as the subject itself")] =None,
2028
+
include_churn: Annotated[Optional[StrictBool], Field(description="Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set.")] =None,
2028
2029
limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Number of items per page")] =None,
2029
2030
offset: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of items to skip")] =None,
2030
2031
_request_timeout: Union[
@@ -2042,7 +2043,7 @@ def list_path_part_events(
2042
2043
) ->PaginatedResponseEventResponse:
2043
2044
"""List Path Part Events Handler
2044
2045
2045
-
List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject's materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\".
2046
+
List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject's materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\". By default the feed collapses intra-document churn to match the tenant-wide admin view; pass ``include_churn=True`` for the complete forensic feed (the agent's ``list_events`` tool does this).
2046
2047
2047
2048
:param path_part_id: (required)
2048
2049
:type path_part_id: UUID
@@ -2054,6 +2055,8 @@ def list_path_part_events(
2054
2055
:type until: datetime
2055
2056
:param recursive: Include events from descendant path_parts as well as the subject itself
2056
2057
:type recursive: bool
2058
+
:param include_churn: Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set.
since: Annotated[Optional[datetime], Field(description="Only events at or after this timestamp")] =None,
2118
2122
until: Annotated[Optional[datetime], Field(description="Only events strictly before this timestamp")] =None,
2119
2123
recursive: Annotated[Optional[StrictBool], Field(description="Include events from descendant path_parts as well as the subject itself")] =None,
2124
+
include_churn: Annotated[Optional[StrictBool], Field(description="Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set.")] =None,
2120
2125
limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Number of items per page")] =None,
2121
2126
offset: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of items to skip")] =None,
List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject's materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\".
2142
+
List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject's materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\". By default the feed collapses intra-document churn to match the tenant-wide admin view; pass ``include_churn=True`` for the complete forensic feed (the agent's ``list_events`` tool does this).
:param recursive: Include events from descendant path_parts as well as the subject itself
2148
2153
:type recursive: bool
2154
+
:param include_churn: Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set.
since: Annotated[Optional[datetime], Field(description="Only events at or after this timestamp")] =None,
2210
2218
until: Annotated[Optional[datetime], Field(description="Only events strictly before this timestamp")] =None,
2211
2219
recursive: Annotated[Optional[StrictBool], Field(description="Include events from descendant path_parts as well as the subject itself")] =None,
2220
+
include_churn: Annotated[Optional[StrictBool], Field(description="Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set.")] =None,
2212
2221
limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Number of items per page")] =None,
2213
2222
offset: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of items to skip")] =None,
List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject's materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\".
2238
+
List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject's materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\". By default the feed collapses intra-document churn to match the tenant-wide admin view; pass ``include_churn=True`` for the complete forensic feed (the agent's ``list_events`` tool does this).
:param recursive: Include events from descendant path_parts as well as the subject itself
2240
2249
:type recursive: bool
2250
+
:param include_churn: Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set.
0 commit comments