API: Update image-builder API
This commit updates the image-builder API due to these two recent changes: A new type added for the ClientId, used when differentiating between API and UI users.fce3d1c355OpenSCAP profile names and descriptions.1d292917d1
This commit is contained in:
parent
31d286aac3
commit
c7dd831645
2 changed files with 18 additions and 5 deletions
|
|
@ -602,8 +602,7 @@ components:
|
|||
example: "MyImageDescription"
|
||||
maxLength: 250
|
||||
client_id:
|
||||
type: string
|
||||
example: "ui"
|
||||
$ref: '#/components/schemas/ClientId'
|
||||
image_requests:
|
||||
type: array
|
||||
minItems: 1
|
||||
|
|
@ -771,7 +770,11 @@ components:
|
|||
image_name:
|
||||
type: string
|
||||
client_id:
|
||||
type: string
|
||||
$ref: '#/components/schemas/ClientId'
|
||||
ClientId:
|
||||
type: string
|
||||
enum: ["api", "ui"]
|
||||
default: "api"
|
||||
ComposeResponse:
|
||||
required:
|
||||
- id
|
||||
|
|
@ -1172,6 +1175,13 @@ components:
|
|||
profile_id:
|
||||
type: string
|
||||
example: "xccdf_org.ssgproject.content_profile_cis"
|
||||
description: "The policy reference ID"
|
||||
profile_name:
|
||||
type: string
|
||||
description: "The policy type"
|
||||
profile_description:
|
||||
type: string
|
||||
description: "The longform policy description"
|
||||
ClonesResponse:
|
||||
required:
|
||||
- meta
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue