H-3657: добавил Personal Access Tokens в v2 swagger #34
+39
-3
@@ -12379,6 +12379,8 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/Wallet'
|
||||
_links:
|
||||
$ref: '#/components/schemas/_links'
|
||||
_meta:
|
||||
$ref: '#/components/schemas/_meta'
|
||||
|
||||
@@ -12411,6 +12413,8 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/WalletTransaction'
|
||||
_links:
|
||||
$ref: '#/components/schemas/_links'
|
||||
_meta:
|
||||
$ref: '#/components/schemas/_meta'
|
||||
|
||||
@@ -12490,10 +12494,13 @@ components:
|
||||
1 — NEW, 2 — QUEUED, 3 — STARTED, 4 — FINISHED, 5 — ERROR, 6 — FATAL
|
||||
arguments:
|
||||
type: array
|
||||
result:
|
||||
type: object
|
||||
description: |
|
||||
Результат. Для wallet-excel содержит:
|
||||
Аргументы воркера. Для wallet-excel: `[WalletExcelProcessor::class, mappings]`.
|
||||
Для excel-экспорта: `[ReportClass::class, params]`.
|
||||
items: {}
|
||||
result:
|
||||
description: |
|
||||
Результат. Для wallet-excel:
|
||||
```
|
||||
{
|
||||
"summary": { "totalRows": 4, "validCount": 1, "invalidCount": 3 },
|
||||
@@ -12501,9 +12508,32 @@ components:
|
||||
"invalidRows": [{ "row": 2, "errors": {...} }, ...]
|
||||
}
|
||||
```
|
||||
Для незавершённой обработки или экспорта — пустой массив `[]`.
|
||||
oneOf:
|
||||
- type: object
|
||||
- type: array
|
||||
items: {}
|
||||
created_at: { type: string }
|
||||
started_at: { type: string, nullable: true }
|
||||
finished_at: { type: string, nullable: true }
|
||||
file:
|
||||
type: object
|
||||
nullable: true
|
||||
description: |
|
||||
Метаданные файла-источника. Возвращается всегда (не нужно `?expand=`).
|
||||
Содержит `id, name, ext, fid, url, file_type, mime_type, size,
|
||||
file_status_id, user_id, created_at` и др.
|
||||
created:
|
||||
type: string
|
||||
description: 'Локализованная `created_at` (например `04.05.2026 at 13:56`).'
|
||||
started:
|
||||
type: string
|
||||
nullable: true
|
||||
description: Локализованная `started_at`.
|
||||
finished:
|
||||
type: string
|
||||
nullable: true
|
||||
description: Локализованная `finished_at`.
|
||||
|
||||
FileProcessingList:
|
||||
type: object
|
||||
@@ -12512,6 +12542,8 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/FileProcessing'
|
||||
_links:
|
||||
$ref: '#/components/schemas/_links'
|
||||
_meta:
|
||||
$ref: '#/components/schemas/_meta'
|
||||
|
||||
@@ -12567,6 +12599,8 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/UserApiToken'
|
||||
_links:
|
||||
$ref: '#/components/schemas/_links'
|
||||
_meta:
|
||||
$ref: '#/components/schemas/_meta'
|
||||
|
||||
@@ -12634,6 +12668,8 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/UserApiTokenAdmin'
|
||||
_links:
|
||||
$ref: '#/components/schemas/_links'
|
||||
_meta:
|
||||
$ref: '#/components/schemas/_meta'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user