current-cli 0.1.44__tar.gz → 0.1.45__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.45}/PKG-INFO +1 -1
- {current_cli-0.1.44 → current_cli-0.1.45}/current_cli/schema.yml +37 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/llms.txt +17 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/pyproject.toml +1 -1
- {current_cli-0.1.44 → current_cli-0.1.45}/.gitignore +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/README.md +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/current_cli/__init__.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/current_cli/build.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/current_cli/config.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/current_cli/docs.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/current_cli/http.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/current_cli/main.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/current_cli/schema.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/scripts/bump_version.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/tests/__init__.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/tests/conftest.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/tests/test_auth.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/tests/test_docs.py +0 -0
- {current_cli-0.1.44 → current_cli-0.1.45}/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
|
|
@@ -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
|