current-cli 0.1.44__tar.gz → 0.1.46__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.
- {current_cli-0.1.44 → current_cli-0.1.46}/PKG-INFO +1 -1
- {current_cli-0.1.44 → current_cli-0.1.46}/current_cli/schema.yml +45 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/llms.txt +17 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/pyproject.toml +1 -1
- {current_cli-0.1.44 → current_cli-0.1.46}/.gitignore +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/README.md +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/current_cli/__init__.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/current_cli/build.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/current_cli/config.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/current_cli/docs.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/current_cli/http.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/current_cli/main.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/current_cli/schema.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/scripts/bump_version.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/tests/__init__.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/tests/conftest.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/tests/test_auth.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/tests/test_docs.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.46}/tests/test_requests.py +0 -0
|
@@ -656,6 +656,43 @@ paths:
|
|
|
656
656
|
schema:
|
|
657
657
|
$ref: '#/components/schemas/FilesErrorDetail'
|
|
658
658
|
description: ''
|
|
659
|
+
/api/files/preview-url/:
|
|
660
|
+
post:
|
|
661
|
+
operationId: files_preview_url
|
|
662
|
+
description: |-
|
|
663
|
+
A URL the browser can render in place, rather than download.
|
|
664
|
+
|
|
665
|
+
``download_url`` stamps ``Content-Disposition: attachment``, which is
|
|
666
|
+
right for the file browser's download button and fatal for a viewer:
|
|
667
|
+
Chrome will still paint an ``<img>`` from such a URL, but it leaves an
|
|
668
|
+
``<object type="application/pdf">`` blank — so the closeout report's
|
|
669
|
+
evidence viewer showed an empty pane for every PDF it opened, which is
|
|
670
|
+
most of the evidence a closeout has. ``storage.get_url`` is the same
|
|
671
|
+
presigned GET without the disposition.
|
|
672
|
+
tags:
|
|
673
|
+
- files
|
|
674
|
+
requestBody:
|
|
675
|
+
content:
|
|
676
|
+
application/json:
|
|
677
|
+
schema:
|
|
678
|
+
$ref: '#/components/schemas/FilePathRequestRequest'
|
|
679
|
+
application/x-www-form-urlencoded:
|
|
680
|
+
schema:
|
|
681
|
+
$ref: '#/components/schemas/FilePathRequestRequest'
|
|
682
|
+
multipart/form-data:
|
|
683
|
+
schema:
|
|
684
|
+
$ref: '#/components/schemas/FilePathRequestRequest'
|
|
685
|
+
required: true
|
|
686
|
+
security:
|
|
687
|
+
- MessagingJobTokenAuth: []
|
|
688
|
+
- tokenAuth: []
|
|
689
|
+
responses:
|
|
690
|
+
'200':
|
|
691
|
+
content:
|
|
692
|
+
application/json:
|
|
693
|
+
schema:
|
|
694
|
+
$ref: '#/components/schemas/FileUrlResponse'
|
|
695
|
+
description: ''
|
|
659
696
|
/api/files/upload-url/:
|
|
660
697
|
post:
|
|
661
698
|
operationId: files_upload_url
|
|
@@ -3910,6 +3947,7 @@ components:
|
|
|
3910
3947
|
- secondary
|
|
3911
3948
|
- success
|
|
3912
3949
|
- primary
|
|
3950
|
+
- error
|
|
3913
3951
|
type: string
|
|
3914
3952
|
description: |-
|
|
3915
3953
|
* `neutral` - Neutral
|
|
@@ -3918,6 +3956,7 @@ components:
|
|
|
3918
3956
|
* `secondary` - Secondary
|
|
3919
3957
|
* `success` - Success
|
|
3920
3958
|
* `primary` - Primary
|
|
3959
|
+
* `error` - Error
|
|
3921
3960
|
ConditionCompileRequest:
|
|
3922
3961
|
type: object
|
|
3923
3962
|
description: |-
|
|
@@ -5018,6 +5057,8 @@ components:
|
|
|
5018
5057
|
$ref: '#/components/schemas/DataTypeEnum'
|
|
5019
5058
|
is_array:
|
|
5020
5059
|
type: boolean
|
|
5060
|
+
is_status:
|
|
5061
|
+
type: boolean
|
|
5021
5062
|
required:
|
|
5022
5063
|
type: boolean
|
|
5023
5064
|
options:
|
|
@@ -5248,6 +5289,8 @@ components:
|
|
|
5248
5289
|
is_system:
|
|
5249
5290
|
type: boolean
|
|
5250
5291
|
readOnly: true
|
|
5292
|
+
is_status:
|
|
5293
|
+
type: boolean
|
|
5251
5294
|
required:
|
|
5252
5295
|
type: boolean
|
|
5253
5296
|
options:
|
|
@@ -5285,6 +5328,8 @@ components:
|
|
|
5285
5328
|
$ref: '#/components/schemas/DataTypeEnum'
|
|
5286
5329
|
is_array:
|
|
5287
5330
|
type: boolean
|
|
5331
|
+
is_status:
|
|
5332
|
+
type: boolean
|
|
5288
5333
|
required:
|
|
5289
5334
|
type: boolean
|
|
5290
5335
|
options:
|
|
@@ -243,6 +243,23 @@ Options:
|
|
|
243
243
|
- `--prefix` - Narrow to one tree, e.g. company/ or projects/<id>/
|
|
244
244
|
- `--workspace` - Workspace UUID
|
|
245
245
|
|
|
246
|
+
### current files preview-url post
|
|
247
|
+
|
|
248
|
+
A URL the browser can render in place, rather than download.
|
|
249
|
+
|
|
250
|
+
``download_url`` stamps ``Content-Disposition: attachment``, which is
|
|
251
|
+
right for the file browser's download button and fatal for a viewer:
|
|
252
|
+
Chrome will still paint an ``<img>`` from such a URL, but it leaves an
|
|
253
|
+
``<object type="application/pdf">`` blank — so the closeout report's
|
|
254
|
+
evidence viewer showed an empty pane for every PDF it opened, which is
|
|
255
|
+
most of the evidence a closeout has. ``storage.get_url`` is the same
|
|
256
|
+
presigned GET without the disposition.
|
|
257
|
+
|
|
258
|
+
POST /api/files/preview-url/
|
|
259
|
+
|
|
260
|
+
Options:
|
|
261
|
+
- `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
|
|
262
|
+
|
|
246
263
|
### current files upload-url post
|
|
247
264
|
|
|
248
265
|
POST {workspace, path} -> {url, path}; subclasses pick the verb.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|