Complete batch import v2 runtime and host capability recovery
This commit is contained in:
@@ -173,6 +173,12 @@ paths:
|
||||
get:
|
||||
security:
|
||||
- bearerAuth: []
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/BatchImportRunStateQuery'
|
||||
- $ref: '#/components/parameters/BatchImportAccessModeQuery'
|
||||
- $ref: '#/components/parameters/BatchImportQuery'
|
||||
- $ref: '#/components/parameters/CursorQuery'
|
||||
- $ref: '#/components/parameters/LimitQuery'
|
||||
responses:
|
||||
'200':
|
||||
description: list batch import runs
|
||||
@@ -205,6 +211,16 @@ paths:
|
||||
- bearerAuth: []
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/RunID'
|
||||
- $ref: '#/components/parameters/BatchImportCurrentStageQuery'
|
||||
- $ref: '#/components/parameters/BatchImportConfirmationStatusQuery'
|
||||
- $ref: '#/components/parameters/BatchImportAccessStatusQuery'
|
||||
- $ref: '#/components/parameters/BatchImportHasWarningQuery'
|
||||
- $ref: '#/components/parameters/BatchImportProviderIDQuery'
|
||||
- $ref: '#/components/parameters/BatchImportMatchedAccountStateQuery'
|
||||
- $ref: '#/components/parameters/BatchImportAccountResolutionQuery'
|
||||
- $ref: '#/components/parameters/BatchImportQuery'
|
||||
- $ref: '#/components/parameters/CursorQuery'
|
||||
- $ref: '#/components/parameters/LimitQuery'
|
||||
responses:
|
||||
'200':
|
||||
description: batch import run items
|
||||
@@ -471,6 +487,86 @@ components:
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
BatchImportRunStateQuery:
|
||||
name: state
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
enum: [running, completed, completed_with_warnings, failed, cancelled]
|
||||
BatchImportAccessModeQuery:
|
||||
name: access_mode
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
enum: [subscription, self_service]
|
||||
BatchImportQuery:
|
||||
name: q
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
CursorQuery:
|
||||
name: cursor
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
LimitQuery:
|
||||
name: limit
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: integer
|
||||
minimum: 1
|
||||
BatchImportCurrentStageQuery:
|
||||
name: current_stage
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
enum: [probe, provision, confirm, validate, done]
|
||||
BatchImportConfirmationStatusQuery:
|
||||
name: confirmation_status
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
enum: [pending, confirmed, advisory, failed]
|
||||
BatchImportAccessStatusQuery:
|
||||
name: access_status
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
enum: [unknown, active, degraded, broken]
|
||||
BatchImportHasWarningQuery:
|
||||
name: has_warning
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: boolean
|
||||
BatchImportProviderIDQuery:
|
||||
name: provider_id
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
BatchImportMatchedAccountStateQuery:
|
||||
name: matched_account_state
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
enum: [none, active, disabled, deprecated, broken]
|
||||
BatchImportAccountResolutionQuery:
|
||||
name: account_resolution
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
enum: [created, reused, reactivated, replaced]
|
||||
responses:
|
||||
Unauthorized:
|
||||
description: missing or invalid admin token
|
||||
@@ -710,6 +806,9 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/BatchImportRunSummary'
|
||||
next_cursor:
|
||||
type: string
|
||||
nullable: true
|
||||
BatchImportCapabilityTransportProfile:
|
||||
type: object
|
||||
properties:
|
||||
@@ -886,6 +985,9 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/BatchImportRunItemSummary'
|
||||
next_cursor:
|
||||
type: string
|
||||
nullable: true
|
||||
ImportBatchInfo:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user