current-cli 0.1.53__tar.gz → 0.1.54__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.5
2
2
  Name: current-cli
3
- Version: 0.1.53
3
+ Version: 0.1.54
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
@@ -3570,6 +3570,16 @@ paths:
3570
3570
  description: Vendors across the caller's workspaces. Any member can create and
3571
3571
  edit.
3572
3572
  parameters:
3573
+ - in: query
3574
+ name: limit
3575
+ schema:
3576
+ type: integer
3577
+ description: Max vendors per page (default 25, cap 100)
3578
+ - in: query
3579
+ name: offset
3580
+ schema:
3581
+ type: integer
3582
+ description: Page offset (default 0)
3573
3583
  - in: query
3574
3584
  name: project
3575
3585
  schema:
@@ -3590,9 +3600,7 @@ paths:
3590
3600
  content:
3591
3601
  application/json:
3592
3602
  schema:
3593
- type: array
3594
- items:
3595
- $ref: '#/components/schemas/Vendor'
3603
+ $ref: '#/components/schemas/VendorListResponse'
3596
3604
  description: ''
3597
3605
  post:
3598
3606
  operationId: vendors_vendors_create
@@ -3829,9 +3837,10 @@ paths:
3829
3837
  get:
3830
3838
  operationId: workflows_runs_list
3831
3839
  description: |-
3832
- Run history for workflows in the caller's workspaces, with step
3833
- transitions inline. POST creates a run of a WorkflowDefinition and
3834
- dispatches it. Runs on the same project execute concurrently.
3840
+ An offset/limit page. A run carries its transitions inline, so the
3841
+ unpaged history was the largest payload this API could return and
3842
+ grew without bound; a reader now sees a page and the true ``total``
3843
+ rather than whatever fit.
3835
3844
  parameters:
3836
3845
  - in: query
3837
3846
  name: archived
@@ -3843,6 +3852,16 @@ paths:
3843
3852
  schema:
3844
3853
  type: string
3845
3854
  description: Filter by definition UUID
3855
+ - in: query
3856
+ name: limit
3857
+ schema:
3858
+ type: integer
3859
+ description: Max runs per page (default 25, cap 100)
3860
+ - in: query
3861
+ name: offset
3862
+ schema:
3863
+ type: integer
3864
+ description: Page offset (default 0)
3846
3865
  - in: query
3847
3866
  name: project
3848
3867
  schema:
@@ -3868,9 +3887,7 @@ paths:
3868
3887
  content:
3869
3888
  application/json:
3870
3889
  schema:
3871
- type: array
3872
- items:
3873
- $ref: '#/components/schemas/WorkflowRun'
3890
+ $ref: '#/components/schemas/WorkflowRunListResponse'
3874
3891
  description: ''
3875
3892
  post:
3876
3893
  operationId: workflows_runs_create
@@ -8030,6 +8047,22 @@ components:
8030
8047
  - name
8031
8048
  - updated_at
8032
8049
  - workspace
8050
+ VendorListResponse:
8051
+ type: object
8052
+ properties:
8053
+ items:
8054
+ type: array
8055
+ items:
8056
+ $ref: '#/components/schemas/Vendor'
8057
+ total:
8058
+ type: integer
8059
+ next_offset:
8060
+ type: integer
8061
+ nullable: true
8062
+ required:
8063
+ - items
8064
+ - next_offset
8065
+ - total
8033
8066
  VendorRequest:
8034
8067
  type: object
8035
8068
  properties:
@@ -8472,6 +8505,22 @@ components:
8472
8505
  - triggered_by_name
8473
8506
  - workflow
8474
8507
  - workflow_name
8508
+ WorkflowRunListResponse:
8509
+ type: object
8510
+ properties:
8511
+ items:
8512
+ type: array
8513
+ items:
8514
+ $ref: '#/components/schemas/WorkflowRun'
8515
+ total:
8516
+ type: integer
8517
+ next_offset:
8518
+ type: integer
8519
+ nullable: true
8520
+ required:
8521
+ - items
8522
+ - next_offset
8523
+ - total
8475
8524
  WorkflowRunStatusEnum:
8476
8525
  enum:
8477
8526
  - queued
@@ -1195,6 +1195,8 @@ Vendors across the caller's workspaces. Any member can create and edit.
1195
1195
  GET /api/vendors/vendors/
1196
1196
 
1197
1197
  Options:
1198
+ - `--limit` - Max vendors per page (default 25, cap 100)
1199
+ - `--offset` - Page offset (default 0)
1198
1200
  - `--project` - Filter by linked project UUID
1199
1201
  - `--workspace` - Filter by workspace UUID
1200
1202
 
@@ -1367,15 +1369,18 @@ Options:
1367
1369
 
1368
1370
  ### current workflows runs list
1369
1371
 
1370
- Run history for workflows in the caller's workspaces, with step
1371
- transitions inline. POST creates a run of a WorkflowDefinition and
1372
- dispatches it. Runs on the same project execute concurrently.
1372
+ An offset/limit page. A run carries its transitions inline, so the
1373
+ unpaged history was the largest payload this API could return and
1374
+ grew without bound; a reader now sees a page and the true ``total``
1375
+ rather than whatever fit.
1373
1376
 
1374
1377
  GET /api/workflows/runs/
1375
1378
 
1376
1379
  Options:
1377
1380
  - `--archived` - Filter by archived state. Defaults to false (hides archived runs).
1378
1381
  - `--definition` - Filter by definition UUID
1382
+ - `--limit` - Max runs per page (default 25, cap 100)
1383
+ - `--offset` - Page offset (default 0)
1379
1384
  - `--project` - Filter by project UUID
1380
1385
  - `--workflow` - Filter by workflow UUID
1381
1386
  - `--workspace` - Filter by workspace UUID
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.53"
3
+ version = "0.1.54"
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