current-cli 0.1.5__tar.gz → 0.1.6__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.5
3
+ Version: 0.1.6
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
@@ -1302,6 +1302,58 @@ paths:
1302
1302
  schema:
1303
1303
  $ref: '#/components/schemas/ApprovalDecideResponse'
1304
1304
  description: ''
1305
+ /api/workflows/definitions/:
1306
+ get:
1307
+ operationId: workflows_definitions_list
1308
+ description: |-
1309
+ Applied workflow definitions across the caller's workspaces. The
1310
+ portal reads this to offer definitions when binding a new trigger;
1311
+ writes go through the apply endpoint.
1312
+ parameters:
1313
+ - in: query
1314
+ name: workspace
1315
+ schema:
1316
+ type: string
1317
+ description: Filter by workspace UUID
1318
+ tags:
1319
+ - workflows
1320
+ security:
1321
+ - tokenAuth: []
1322
+ responses:
1323
+ '200':
1324
+ content:
1325
+ application/json:
1326
+ schema:
1327
+ type: array
1328
+ items:
1329
+ $ref: '#/components/schemas/WorkflowDefinition'
1330
+ description: ''
1331
+ /api/workflows/definitions/{id}/:
1332
+ get:
1333
+ operationId: workflows_definitions_retrieve
1334
+ description: |-
1335
+ Applied workflow definitions across the caller's workspaces. The
1336
+ portal reads this to offer definitions when binding a new trigger;
1337
+ writes go through the apply endpoint.
1338
+ parameters:
1339
+ - in: path
1340
+ name: id
1341
+ schema:
1342
+ type: string
1343
+ format: uuid
1344
+ description: A UUID string identifying this workflow definition.
1345
+ required: true
1346
+ tags:
1347
+ - workflows
1348
+ security:
1349
+ - tokenAuth: []
1350
+ responses:
1351
+ '200':
1352
+ content:
1353
+ application/json:
1354
+ schema:
1355
+ $ref: '#/components/schemas/WorkflowDefinition'
1356
+ description: ''
1305
1357
  /api/workflows/definitions/apply/:
1306
1358
  post:
1307
1359
  operationId: workflows_definitions_apply_create
@@ -467,6 +467,25 @@ POST /api/workflows/definitions/apply/
467
467
  Options:
468
468
  - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
469
469
 
470
+ ### current workflows definitions list
471
+
472
+ Applied workflow definitions across the caller's workspaces. The
473
+ portal reads this to offer definitions when binding a new trigger;
474
+ writes go through the apply endpoint.
475
+
476
+ GET /api/workflows/definitions/
477
+
478
+ Options:
479
+ - `--workspace` - Filter by workspace UUID
480
+
481
+ ### current workflows definitions retrieve <id>
482
+
483
+ Applied workflow definitions across the caller's workspaces. The
484
+ portal reads this to offer definitions when binding a new trigger;
485
+ writes go through the apply endpoint.
486
+
487
+ GET /api/workflows/definitions/{id}/
488
+
470
489
  ### current workflows destroy <id>
471
490
 
472
491
  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.5"
3
+ version = "0.1.6"
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