API: update api

This commit is contained in:
Lucas Garfield 2025-05-15 20:42:58 -05:00 committed by Lucas Garfield
parent 2d562a14d4
commit 8a41974d34
5 changed files with 7346 additions and 6830 deletions

View file

@ -1254,6 +1254,12 @@ components:
description: |
ID of the content template. A content template and snapshot date cannot both be specified.
If a content template is specified, the snapshot date used will be the one from the content template.
content_template_name:
type: string
description: |
Name of the content template. Used when registering the system to Insights.
aap_registration:
$ref: '#/components/schemas/AAPRegistration'
ImageTypes:
type: string
enum:
@ -1465,7 +1471,28 @@ components:
description: |
Determines whether a valid subscription manager (candlepin) identity is required to
access this repository. Consumer certificates will be used as client certificates when
fetching metadata and content.
fetching metadata and content.
AAPRegistration:
type: object
x-go-name: AAPRegistration
additionalProperties: false
required:
- ansible_controller_url
- job_template_id
- host_config_key
properties:
ansible_controller_url:
type: string
example: "example.towerhost.net"
job_template_id:
type: integer
example: 38
host_config_key:
type: string
example: "44d7507f2ead49af5fca80aa18fd24bc"
tls_certificate_authority:
type: string
x-go-type-skip-optional-pointer: true
PackagesResponse:
type: object
required: