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 e996e8c
Browse filesBrowse the repository at this point in the historyBrowse files
ks-release-bot
committed
chore(release): regenerate ksapi v1.124.0 from ks-backend
Copy file name to clipboardExpand all lines: docs/FoldersApi.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -370,7 +370,7 @@ Name | Type | Description | Notes
370
370
[[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)
This is the preferred way to list folder contents when you need document metadata.
385
389
For generic path traversal of folders only, use GET /path-parts.
386
390
@@ -393,6 +397,7 @@ For generic path traversal of folders only, use GET /path-parts.
393
397
import ksapi
394
398
from ksapi.models.paginated_response_annotated_union_folder_response_document_response_workflow_definition_response_workflow_run_response_data_source_response_data_source_schema_response_data_source_table_response_api_connection_response_discriminator import PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator
395
399
from ksapi.models.path_order import PathOrder
400
+
from ksapi.models.path_part_approval_state import PathPartApprovalState
396
401
from ksapi.rest import ApiException
397
402
from pprint import pprint
398
403
@@ -428,10 +433,13 @@ with ksapi.ApiClient(configuration) as api_client:
428
433
with_tags =False# bool | Include tag IDs for each item (default: false) (optional) (default to False)
429
434
limit =20# int | Number of items per page (optional) (default to 20)
430
435
offset =0# int | Number of items to skip (optional) (default to 0)
436
+
approval_state = [ksapi.PathPartApprovalState()] # List[PathPartApprovalState] | Keep only items in these approval states (repeatable): not_required, pending, approved. (optional)
437
+
include_tag_ids =None# List[UUID] | Keep only items that carry at least one of these tags on the item itself or any ancestor folder (repeatable, OR / tag inheritance). (optional)
438
+
exclude_tag_ids =None# List[UUID] | Drop items that carry any of these tags on the item itself or any ancestor folder (repeatable). Takes precedence over include_tag_ids. (optional)
print("The response of FoldersApi->list_folder_contents:\n")
436
444
pprint(api_response)
437
445
exceptExceptionas e:
@@ -451,6 +459,9 @@ Name | Type | Description | Notes
451
459
**with_tags** | **bool**| Include tag IDs for each item (default: false) | [optional][default to False]
452
460
**limit** | **int**| Number of items per page | [optional][default to 20]
453
461
**offset** | **int**| Number of items to skip | [optional][default to 0]
462
+
**approval_state** | [**List[PathPartApprovalState]**](PathPartApprovalState.md)| Keep only items in these approval states (repeatable): not_required, pending, approved. | [optional]
463
+
**include_tag_ids** | [**List[UUID]**](UUID.md)| Keep only items that carry at least one of these tags on the item itself or any ancestor folder (repeatable, OR / tag inheritance). | [optional]
464
+
**exclude_tag_ids** | [**List[UUID]**](UUID.md)| Drop items that carry any of these tags on the item itself or any ancestor folder (repeatable). Takes precedence over include_tag_ids. | [optional]
Copy file name to clipboardExpand all lines: docs/WorkflowRunsApi.md
+15-7Lines changed: 15 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -376,16 +376,17 @@ Name | Type | Description | Notes
376
376
[[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)
List runs across every workflow in the tenant, permission-scoped.
384
384
385
385
The single spine behind the dashboard worklists — the FE composes its
386
-
tabs from preset filters (``mine`` + ``state``, ``pending_approval_for_me``).
387
-
Visibility follows the same model as the per-definition list: OWNER/ADMIN
388
-
see all; a USER sees runs under workflows they can read.
386
+
tabs from preset filters (``mine`` + ``state``, and the approval worklist
387
+
``approval_state=pending`` + ``approvable_by_me``). Visibility follows the
388
+
same model as the per-definition list: OWNER/ADMIN see all; a USER sees
389
+
runs under workflows they can read.
389
390
390
391
### Example
391
392
@@ -395,6 +396,7 @@ see all; a USER sees runs under workflows they can read.
395
396
```python
396
397
import ksapi
397
398
from ksapi.models.paginated_response_workflow_run_response import PaginatedResponseWorkflowRunResponse
399
+
from ksapi.models.path_part_approval_state import PathPartApprovalState
398
400
from ksapi.models.sort_direction import SortDirection
399
401
from ksapi.models.workflow_execution_state import WorkflowExecutionState
400
402
from ksapi.models.workflow_run_order import WorkflowRunOrder
@@ -429,7 +431,7 @@ with ksapi.ApiClient(configuration) as api_client:
429
431
api_instance = ksapi.WorkflowRunsApi(api_client)
430
432
state = [ksapi.WorkflowExecutionState()] # List[WorkflowExecutionState] | Keep only runs in these execution states (repeatable). (optional)
431
433
mine =False# bool | Only runs the caller created (owner). Overrides owner_id. (optional) (default to False)
432
-
pending_approval_for_me=False# bool | Only runs pending approval that the caller may approve. (optional) (default to False)
434
+
approvable_by_me=False# bool | Only runs the caller may approve (approve-path scoped). Compose with approval_state=pending for the approval worklist. (optional) (default to False)
433
435
definition_id = UUID('38400000-8cf0-11bd-b23e-10b96e4ef00d') # UUID | Only runs under this workflow definition. (optional)
434
436
owner_id = UUID('38400000-8cf0-11bd-b23e-10b96e4ef00d') # UUID | Only runs created by this user. (optional)
435
437
sort_by = ksapi.WorkflowRunOrder() # WorkflowRunOrder | Field to sort runs by (default: STARTED_AT) (optional)
@@ -440,10 +442,13 @@ with ksapi.ApiClient(configuration) as api_client:
440
442
created_before ='2013-10-20T19:20:30+01:00'# datetime | Only items created strictly before this timestamp (optional)
441
443
updated_after ='2013-10-20T19:20:30+01:00'# datetime | Only items updated at or after this timestamp (inclusive) (optional)
442
444
updated_before ='2013-10-20T19:20:30+01:00'# datetime | Only items updated strictly before this timestamp (optional)
445
+
approval_state = [ksapi.PathPartApprovalState()] # List[PathPartApprovalState] | Keep only items in these approval states (repeatable): not_required, pending, approved. (optional)
446
+
include_tag_ids =None# List[UUID] | Keep only items that carry at least one of these tags on the item itself or any ancestor folder (repeatable, OR / tag inheritance). (optional)
447
+
exclude_tag_ids =None# List[UUID] | Drop items that carry any of these tags on the item itself or any ancestor folder (repeatable). Takes precedence over include_tag_ids. (optional)
**state** | [**List[WorkflowExecutionState]**](WorkflowExecutionState.md)| Keep only runs in these execution states (repeatable). | [optional]
461
466
**mine** | **bool**| Only runs the caller created (owner). Overrides owner_id. | [optional][default to False]
462
-
**pending_approval_for_me** | **bool**| Only runs pending approval that the caller may approve. | [optional][default to False]
467
+
**approvable_by_me** | **bool**| Only runs the caller may approve (approve-path scoped). Compose with approval_state=pending for the approval worklist. | [optional][default to False]
463
468
**definition_id** | **UUID**| Only runs under this workflow definition. | [optional]
464
469
**owner_id** | **UUID**| Only runs created by this user. | [optional]
465
470
**sort_by** | [**WorkflowRunOrder**](.md)| Field to sort runs by (default: STARTED_AT) | [optional]
@@ -470,6 +475,9 @@ Name | Type | Description | Notes
470
475
**created_before** | **datetime**| Only items created strictly before this timestamp | [optional]
471
476
**updated_after** | **datetime**| Only items updated at or after this timestamp (inclusive) | [optional]
472
477
**updated_before** | **datetime**| Only items updated strictly before this timestamp | [optional]
478
+
**approval_state** | [**List[PathPartApprovalState]**](PathPartApprovalState.md)| Keep only items in these approval states (repeatable): not_required, pending, approved. | [optional]
479
+
**include_tag_ids** | [**List[UUID]**](UUID.md)| Keep only items that carry at least one of these tags on the item itself or any ancestor folder (repeatable, OR / tag inheritance). | [optional]
480
+
**exclude_tag_ids** | [**List[UUID]**](UUID.md)| Drop items that carry any of these tags on the item itself or any ancestor folder (repeatable). Takes precedence over include_tag_ids. | [optional]
0 commit comments