current-cli 0.1.9__tar.gz → 0.1.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: current-cli
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: Command line interface for the Current API, generated from its OpenAPI schema at runtime
5
5
  Author-email: Orin <your-email@example.com>
6
6
  License-Expression: MIT
@@ -1525,6 +1525,11 @@ paths:
1525
1525
  transitions inline. POST creates a run of a WorkflowDefinition and
1526
1526
  dispatches it (or queues it behind the per-project write queue).
1527
1527
  parameters:
1528
+ - in: query
1529
+ name: archived
1530
+ schema:
1531
+ type: boolean
1532
+ description: Filter by archived state. Defaults to false (hides archived runs).
1528
1533
  - in: query
1529
1534
  name: definition
1530
1535
  schema:
@@ -1613,6 +1618,52 @@ paths:
1613
1618
  schema:
1614
1619
  $ref: '#/components/schemas/WorkflowRun'
1615
1620
  description: ''
1621
+ /api/workflows/runs/{id}/archive/:
1622
+ post:
1623
+ operationId: workflows_runs_archive_create
1624
+ description: Hide the run from the default Actions list.
1625
+ parameters:
1626
+ - in: path
1627
+ name: id
1628
+ schema:
1629
+ type: string
1630
+ format: uuid
1631
+ description: A UUID string identifying this workflow run.
1632
+ required: true
1633
+ tags:
1634
+ - workflows
1635
+ security:
1636
+ - tokenAuth: []
1637
+ responses:
1638
+ '200':
1639
+ content:
1640
+ application/json:
1641
+ schema:
1642
+ $ref: '#/components/schemas/WorkflowRun'
1643
+ description: ''
1644
+ /api/workflows/runs/{id}/unarchive/:
1645
+ post:
1646
+ operationId: workflows_runs_unarchive_create
1647
+ description: Restore an archived run to the default Actions list.
1648
+ parameters:
1649
+ - in: path
1650
+ name: id
1651
+ schema:
1652
+ type: string
1653
+ format: uuid
1654
+ description: A UUID string identifying this workflow run.
1655
+ required: true
1656
+ tags:
1657
+ - workflows
1658
+ security:
1659
+ - tokenAuth: []
1660
+ responses:
1661
+ '200':
1662
+ content:
1663
+ application/json:
1664
+ schema:
1665
+ $ref: '#/components/schemas/WorkflowRun'
1666
+ description: ''
1616
1667
  /api/workflows/runs/{run_id}/definition/:
1617
1668
  get:
1618
1669
  operationId: workflows_runs_definition_retrieve
@@ -3926,12 +3977,22 @@ components:
3926
3977
  error:
3927
3978
  type: string
3928
3979
  readOnly: true
3980
+ archived:
3981
+ type: boolean
3982
+ readOnly: true
3983
+ archived_at:
3984
+ type: string
3985
+ format: date-time
3986
+ readOnly: true
3987
+ nullable: true
3929
3988
  transitions:
3930
3989
  type: array
3931
3990
  items:
3932
3991
  $ref: '#/components/schemas/StepTransition'
3933
3992
  readOnly: true
3934
3993
  required:
3994
+ - archived
3995
+ - archived_at
3935
3996
  - definition
3936
3997
  - dispatched_at
3937
3998
  - error
@@ -558,6 +558,12 @@ Workflows across the caller's workspaces. Any member can create and edit.
558
558
 
559
559
  GET /api/workflows/workflows/{id}/
560
560
 
561
+ ### current workflows runs archive create <id>
562
+
563
+ Hide the run from the default Actions list.
564
+
565
+ POST /api/workflows/runs/{id}/archive/
566
+
561
567
  ### current workflows runs create
562
568
 
563
569
  Run history for workflows in the caller's workspaces, with step
@@ -586,6 +592,7 @@ dispatches it (or queues it behind the per-project write queue).
586
592
  GET /api/workflows/runs/
587
593
 
588
594
  Options:
595
+ - `--archived` - Filter by archived state. Defaults to false (hides archived runs).
589
596
  - `--definition` - Filter by definition UUID
590
597
  - `--project` - Filter by project UUID
591
598
  - `--workflow` - Filter by workflow UUID
@@ -627,6 +634,12 @@ POST /api/workflows/runs/{run_id}/transitions/
627
634
  Options:
628
635
  - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
629
636
 
637
+ ### current workflows runs unarchive create <id>
638
+
639
+ Restore an archived run to the default Actions list.
640
+
641
+ POST /api/workflows/runs/{id}/unarchive/
642
+
630
643
  ### current workflows update <id>
631
644
 
632
645
  Workflows across the caller's workspaces. Any member can create and edit.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.9"
3
+ version = "0.1.10"
4
4
  description = "Command line interface for the Current API, generated from its OpenAPI schema at runtime"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes