From 6d5b921c88073a448ca013eb6c8207af15ae8214 Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 2 Dec 2024 00:10:09 +0000 Subject: [PATCH] Syncing API --- .../hcc-insights/automation-hub/content.json | 4977 +++++++++++++---- .../hcc-insights/vulnerability/content.json | 2 +- .../accounts-management-service/content.json | 159 + 3 files changed, 4037 insertions(+), 1101 deletions(-) diff --git a/packages/common/config/apis/hcc-insights/automation-hub/content.json b/packages/common/config/apis/hcc-insights/automation-hub/content.json index 8621d41b..9b5fc9ec 100644 --- a/packages/common/config/apis/hcc-insights/automation-hub/content.json +++ b/packages/common/config/apis/hcc-insights/automation-hub/content.json @@ -1459,6 +1459,23 @@ ], "type": "object" }, + "ContentTypeEnum": { + "description": "* `galaxy.ansiblerepository` - Ansible Repository\n* `galaxy.collection` - Collection\n* `galaxy.collectionimport` - Collection Import\n* `galaxy.collectionremote` - Collection Remote\n* `galaxy.containernamespace` - Container Namespace\n* `galaxy.containerregistryremote` - Container Registry Remote\n* `galaxy.containerrepository` - Container Repository\n* `galaxy.namespace` - Namespace\n* `galaxy.task` - Task\n* `shared.organization` - Organization\n* `shared.team` - Team", + "enum": [ + "galaxy.ansiblerepository", + "galaxy.collection", + "galaxy.collectionimport", + "galaxy.collectionremote", + "galaxy.containernamespace", + "galaxy.containerregistryremote", + "galaxy.containerrepository", + "galaxy.namespace", + "galaxy.task", + "shared.organization", + "shared.team" + ], + "type": "string" + }, "Copy": { "description": "A serializer for Content Copy API.", "properties": { @@ -1891,116 +1908,6 @@ ], "type": "object" }, - "GalaxyCollection": { - "description": "A serializer for a Collection.", - "properties": { - "created": { - "format": "date-time", - "type": "string" - }, - "id": { - "minLength": 1, - "type": "string" - }, - "modified": { - "format": "date-time", - "type": "string" - }, - "name": { - "minLength": 1, - "type": "string" - } - }, - "required": [ - "created", - "id", - "modified", - "name" - ], - "type": "object" - }, - "GalaxyCollectionResponse": { - "description": "A serializer for a Collection.", - "properties": { - "created": { - "format": "date-time", - "type": "string" - }, - "href": { - "description": "Get href.", - "readOnly": true, - "type": "string" - }, - "id": { - "type": "string" - }, - "latest_version": { - "description": "Get latest version.", - "readOnly": true, - "type": "object" - }, - "modified": { - "format": "date-time", - "type": "string" - }, - "name": { - "type": "string" - }, - "namespace": { - "description": "Create a namespace dict.", - "readOnly": true, - "type": "object" - }, - "versions_url": { - "description": "Get versions_url.", - "readOnly": true, - "type": "string" - } - }, - "required": [ - "created", - "id", - "modified", - "name" - ], - "type": "object" - }, - "GalaxyCollectionVersionResponse": { - "description": "A serializer for a CollectionVersion.", - "properties": { - "artifact": { - "description": "Create an artifact dict.", - "readOnly": true, - "type": "object" - }, - "collection": { - "description": "Create a collection dict.", - "readOnly": true, - "type": "object" - }, - "href": { - "description": "Get href.", - "readOnly": true, - "type": "string" - }, - "metadata": { - "$ref": "#/components/schemas/CollectionMetadataResponse" - }, - "namespace": { - "description": "Create a namespace dict.", - "readOnly": true, - "type": "object" - }, - "version": { - "type": "string" - } - }, - "required": [ - "metadata", - "version" - ], - "type": "object" - }, "GalaxyRoleResponse": { "description": "A serializer for Galaxy's representation of Roles.", "properties": { @@ -2949,6 +2856,41 @@ ], "type": "object" }, + "Organization": { + "properties": { + "name": { + "description": "The name of this resource", + "maxLength": 512, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "OrganizationResponse": { + "properties": { + "id": { + "readOnly": true, + "type": "string" + }, + "name": { + "description": "The name of this resource", + "maxLength": 512, + "type": "string" + }, + "resource": { + "readOnly": true, + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, "OrphansCleanup": { "properties": { "content_hrefs": { @@ -3408,27 +3350,27 @@ ], "type": "object" }, - "PaginatedGalaxyCollectionResponseList": { + "PaginatedGalaxyRoleResponseList": { "properties": { "count": { "example": 123, "type": "integer" }, "next": { - "example": "http://api.example.org/accounts/?page=4", + "example": "http://api.example.org/accounts/?offset=400&limit=100", "format": "uri", "nullable": true, "type": "string" }, "previous": { - "example": "http://api.example.org/accounts/?page=2", + "example": "http://api.example.org/accounts/?offset=200&limit=100", "format": "uri", "nullable": true, "type": "string" }, "results": { "items": { - "$ref": "#/components/schemas/GalaxyCollectionResponse" + "$ref": "#/components/schemas/GalaxyRoleResponse" }, "type": "array" } @@ -3439,27 +3381,27 @@ ], "type": "object" }, - "PaginatedGalaxyCollectionVersionResponseList": { + "PaginatedGalaxyRoleVersionResponseList": { "properties": { "count": { "example": 123, "type": "integer" }, "next": { - "example": "http://api.example.org/accounts/?page=4", + "example": "http://api.example.org/accounts/?offset=400&limit=100", "format": "uri", "nullable": true, "type": "string" }, "previous": { - "example": "http://api.example.org/accounts/?page=2", + "example": "http://api.example.org/accounts/?offset=200&limit=100", "format": "uri", "nullable": true, "type": "string" }, "results": { "items": { - "$ref": "#/components/schemas/GalaxyCollectionVersionResponse" + "$ref": "#/components/schemas/GalaxyRoleVersionResponse" }, "type": "array" } @@ -3470,7 +3412,48 @@ ], "type": "object" }, - "PaginatedGalaxyRoleResponseList": { + "PaginatedGroupResponseList": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/GroupResponse" + }, + "type": "array" + }, + "links": { + "properties": { + "first": { + "nullable": true, + "type": "string" + }, + "last": { + "nullable": true, + "type": "string" + }, + "next": { + "nullable": true, + "type": "string" + }, + "previous": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "meta": { + "properties": { + "count": { + "example": 123, + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "PaginatedGroupRoleResponseList": { "properties": { "count": { "example": 123, @@ -3490,7 +3473,7 @@ }, "results": { "items": { - "$ref": "#/components/schemas/GalaxyRoleResponse" + "$ref": "#/components/schemas/GroupRoleResponse" }, "type": "array" } @@ -3501,7 +3484,48 @@ ], "type": "object" }, - "PaginatedGalaxyRoleVersionResponseList": { + "PaginatedGroupUserResponseList": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/GroupUserResponse" + }, + "type": "array" + }, + "links": { + "properties": { + "first": { + "nullable": true, + "type": "string" + }, + "last": { + "nullable": true, + "type": "string" + }, + "next": { + "nullable": true, + "type": "string" + }, + "previous": { + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "meta": { + "properties": { + "count": { + "example": 123, + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "PaginatedHeaderContentGuardResponseList": { "properties": { "count": { "example": 123, @@ -3521,7 +3545,7 @@ }, "results": { "items": { - "$ref": "#/components/schemas/GalaxyRoleVersionResponse" + "$ref": "#/components/schemas/HeaderContentGuardResponse" }, "type": "array" } @@ -3532,11 +3556,42 @@ ], "type": "object" }, - "PaginatedGroupResponseList": { + "PaginatedImportResponseList": { + "properties": { + "count": { + "example": 123, + "type": "integer" + }, + "next": { + "example": "http://api.example.org/accounts/?offset=400&limit=100", + "format": "uri", + "nullable": true, + "type": "string" + }, + "previous": { + "example": "http://api.example.org/accounts/?offset=200&limit=100", + "format": "uri", + "nullable": true, + "type": "string" + }, + "results": { + "items": { + "$ref": "#/components/schemas/ImportResponse" + }, + "type": "array" + } + }, + "required": [ + "count", + "results" + ], + "type": "object" + }, + "PaginatedImportTaskListResponseList": { "properties": { "data": { "items": { - "$ref": "#/components/schemas/GroupResponse" + "$ref": "#/components/schemas/ImportTaskListResponse" }, "type": "array" }, @@ -3573,42 +3628,11 @@ }, "type": "object" }, - "PaginatedGroupRoleResponseList": { - "properties": { - "count": { - "example": 123, - "type": "integer" - }, - "next": { - "example": "http://api.example.org/accounts/?offset=400&limit=100", - "format": "uri", - "nullable": true, - "type": "string" - }, - "previous": { - "example": "http://api.example.org/accounts/?offset=200&limit=100", - "format": "uri", - "nullable": true, - "type": "string" - }, - "results": { - "items": { - "$ref": "#/components/schemas/GroupRoleResponse" - }, - "type": "array" - } - }, - "required": [ - "count", - "results" - ], - "type": "object" - }, - "PaginatedGroupUserResponseList": { + "PaginatedLegacyRoleTagResponseList": { "properties": { "data": { "items": { - "$ref": "#/components/schemas/GroupUserResponse" + "$ref": "#/components/schemas/LegacyRoleTagResponse" }, "type": "array" }, @@ -3645,38 +3669,7 @@ }, "type": "object" }, - "PaginatedHeaderContentGuardResponseList": { - "properties": { - "count": { - "example": 123, - "type": "integer" - }, - "next": { - "example": "http://api.example.org/accounts/?offset=400&limit=100", - "format": "uri", - "nullable": true, - "type": "string" - }, - "previous": { - "example": "http://api.example.org/accounts/?offset=200&limit=100", - "format": "uri", - "nullable": true, - "type": "string" - }, - "results": { - "items": { - "$ref": "#/components/schemas/HeaderContentGuardResponse" - }, - "type": "array" - } - }, - "required": [ - "count", - "results" - ], - "type": "object" - }, - "PaginatedImportResponseList": { + "PaginatedMultipleArtifactContentResponseList": { "properties": { "count": { "example": 123, @@ -3696,7 +3689,7 @@ }, "results": { "items": { - "$ref": "#/components/schemas/ImportResponse" + "$ref": "#/components/schemas/MultipleArtifactContentResponse" }, "type": "array" } @@ -3707,52 +3700,11 @@ ], "type": "object" }, - "PaginatedImportTaskListResponseList": { - "properties": { - "data": { - "items": { - "$ref": "#/components/schemas/ImportTaskListResponse" - }, - "type": "array" - }, - "links": { - "properties": { - "first": { - "nullable": true, - "type": "string" - }, - "last": { - "nullable": true, - "type": "string" - }, - "next": { - "nullable": true, - "type": "string" - }, - "previous": { - "nullable": true, - "type": "string" - } - }, - "type": "object" - }, - "meta": { - "properties": { - "count": { - "example": 123, - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "PaginatedLegacyRoleTagResponseList": { + "PaginatedNamespaceSummaryResponseList": { "properties": { "data": { "items": { - "$ref": "#/components/schemas/LegacyRoleTagResponse" + "$ref": "#/components/schemas/NamespaceSummaryResponse" }, "type": "array" }, @@ -3789,27 +3741,27 @@ }, "type": "object" }, - "PaginatedMultipleArtifactContentResponseList": { + "PaginatedOrganizationResponseList": { "properties": { "count": { "example": 123, "type": "integer" }, "next": { - "example": "http://api.example.org/accounts/?offset=400&limit=100", + "example": "http://api.example.org/accounts/?page=4", "format": "uri", "nullable": true, "type": "string" }, "previous": { - "example": "http://api.example.org/accounts/?offset=200&limit=100", + "example": "http://api.example.org/accounts/?page=2", "format": "uri", "nullable": true, "type": "string" }, "results": { "items": { - "$ref": "#/components/schemas/MultipleArtifactContentResponse" + "$ref": "#/components/schemas/OrganizationResponse" }, "type": "array" } @@ -3820,47 +3772,6 @@ ], "type": "object" }, - "PaginatedNamespaceSummaryResponseList": { - "properties": { - "data": { - "items": { - "$ref": "#/components/schemas/NamespaceSummaryResponse" - }, - "type": "array" - }, - "links": { - "properties": { - "first": { - "nullable": true, - "type": "string" - }, - "last": { - "nullable": true, - "type": "string" - }, - "next": { - "nullable": true, - "type": "string" - }, - "previous": { - "nullable": true, - "type": "string" - } - }, - "type": "object" - }, - "meta": { - "properties": { - "count": { - "example": 123, - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, "PaginatedPublicationResponseList": { "properties": { "count": { @@ -4171,6 +4082,37 @@ ], "type": "object" }, + "PaginatedRoleDefinitionResponseList": { + "properties": { + "count": { + "example": 123, + "type": "integer" + }, + "next": { + "example": "http://api.example.org/accounts/?page=4", + "format": "uri", + "nullable": true, + "type": "string" + }, + "previous": { + "example": "http://api.example.org/accounts/?page=2", + "format": "uri", + "nullable": true, + "type": "string" + }, + "results": { + "items": { + "$ref": "#/components/schemas/RoleDefinitionResponse" + }, + "type": "array" + } + }, + "required": [ + "count", + "results" + ], + "type": "object" + }, "PaginatedRoleResponseList": { "properties": { "count": { @@ -4202,6 +4144,68 @@ ], "type": "object" }, + "PaginatedRoleTeamAssignmentResponseList": { + "properties": { + "count": { + "example": 123, + "type": "integer" + }, + "next": { + "example": "http://api.example.org/accounts/?page=4", + "format": "uri", + "nullable": true, + "type": "string" + }, + "previous": { + "example": "http://api.example.org/accounts/?page=2", + "format": "uri", + "nullable": true, + "type": "string" + }, + "results": { + "items": { + "$ref": "#/components/schemas/RoleTeamAssignmentResponse" + }, + "type": "array" + } + }, + "required": [ + "count", + "results" + ], + "type": "object" + }, + "PaginatedRoleUserAssignmentResponseList": { + "properties": { + "count": { + "example": 123, + "type": "integer" + }, + "next": { + "example": "http://api.example.org/accounts/?page=4", + "format": "uri", + "nullable": true, + "type": "string" + }, + "previous": { + "example": "http://api.example.org/accounts/?page=2", + "format": "uri", + "nullable": true, + "type": "string" + }, + "results": { + "items": { + "$ref": "#/components/schemas/RoleUserAssignmentResponse" + }, + "type": "array" + } + }, + "required": [ + "count", + "results" + ], + "type": "object" + }, "PaginatedSearchResultsResponseList": { "properties": { "data": { @@ -4490,6 +4494,37 @@ }, "type": "object" }, + "PaginatedTeamResponseList": { + "properties": { + "count": { + "example": 123, + "type": "integer" + }, + "next": { + "example": "http://api.example.org/accounts/?page=4", + "format": "uri", + "nullable": true, + "type": "string" + }, + "previous": { + "example": "http://api.example.org/accounts/?page=2", + "format": "uri", + "nullable": true, + "type": "string" + }, + "results": { + "items": { + "$ref": "#/components/schemas/TeamResponse" + }, + "type": "array" + } + }, + "required": [ + "count", + "results" + ], + "type": "object" + }, "PaginatedUploadResponseList": { "properties": { "count": { @@ -4552,6 +4587,37 @@ ], "type": "object" }, + "PaginatedUserDetailResponseList": { + "properties": { + "count": { + "example": 123, + "type": "integer" + }, + "next": { + "example": "http://api.example.org/accounts/?page=4", + "format": "uri", + "nullable": true, + "type": "string" + }, + "previous": { + "example": "http://api.example.org/accounts/?page=2", + "format": "uri", + "nullable": true, + "type": "string" + }, + "results": { + "items": { + "$ref": "#/components/schemas/UserDetailResponse" + }, + "type": "array" + } + }, + "required": [ + "count", + "results" + ], + "type": "object" + }, "PaginatedUserResponseList": { "properties": { "data": { @@ -4655,6 +4721,37 @@ ], "type": "object" }, + "Paginatedansible.AnsibleCollectionDeprecatedResponseList": { + "properties": { + "count": { + "example": 123, + "type": "integer" + }, + "next": { + "example": "http://api.example.org/accounts/?offset=400&limit=100", + "format": "uri", + "nullable": true, + "type": "string" + }, + "previous": { + "example": "http://api.example.org/accounts/?offset=200&limit=100", + "format": "uri", + "nullable": true, + "type": "string" + }, + "results": { + "items": { + "$ref": "#/components/schemas/ansible.AnsibleCollectionDeprecatedResponse" + }, + "type": "array" + } + }, + "required": [ + "count", + "results" + ], + "type": "object" + }, "Paginatedansible.AnsibleDistributionResponseList": { "properties": { "count": { @@ -5786,10 +5883,8 @@ "type": "object" }, "PatchedGroup": { - "description": "Serializer for Group.", "properties": { "name": { - "description": "Name", "maxLength": 150, "minLength": 1, "type": "string" @@ -5871,6 +5966,17 @@ }, "type": "object" }, + "PatchedOrganization": { + "properties": { + "name": { + "description": "The name of this resource", + "maxLength": 512, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + }, "PatchedPulpExporter": { "description": "Serializer for pulp exporters.", "properties": { @@ -5942,6 +6048,10 @@ "format": "uuid", "type": "string" }, + "is_partially_migrated": { + "description": "This gets set to True when a resource has been copied into the resource server, but the service_id hasn't been updated yet.", + "type": "boolean" + }, "resource_data": { "type": "object" }, @@ -5950,6 +6060,7 @@ "type": "string" }, "service_id": { + "description": "ID of the service responsible for managing this resource.", "format": "uuid", "type": "string" } @@ -5980,6 +6091,33 @@ }, "type": "object" }, + "PatchedRoleDefinition": { + "properties": { + "content_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentTypeEnum" + } + ], + "description": "The type of resource this applies to\n\n* `galaxy.ansiblerepository` - Ansible Repository\n* `galaxy.collection` - Collection\n* `galaxy.collectionimport` - Collection Import\n* `galaxy.collectionremote` - Collection Remote\n* `galaxy.containernamespace` - Container Namespace\n* `galaxy.containerregistryremote` - Container Registry Remote\n* `galaxy.containerrepository` - Container Repository\n* `galaxy.namespace` - Namespace\n* `galaxy.task` - Task\n* `shared.organization` - Organization\n* `shared.team` - Team", + "nullable": true + }, + "description": { + "type": "string" + }, + "name": { + "minLength": 1, + "type": "string" + }, + "permissions": { + "items": { + "$ref": "#/components/schemas/PermissionsEnum" + }, + "type": "array" + } + }, + "type": "object" + }, "PatchedSyncList": { "properties": { "collections": { @@ -6030,265 +6168,335 @@ }, "type": "object" }, - "PatchedUpstreamPulp": { - "description": "Serializer for a Server.", - "properties": { - "api_root": { - "description": "The API root. Defaults to '/pulp/'.", - "minLength": 1, - "type": "string" - }, - "base_url": { - "description": "The transport, hostname, and an optional port of the Pulp server. e.g. https://example.com", - "minLength": 1, - "type": "string" - }, - "ca_cert": { - "description": "A PEM encoded CA certificate used to validate the server certificate presented by the remote server.", - "minLength": 1, - "nullable": true, - "type": "string" - }, - "client_cert": { - "description": "A PEM encoded client certificate used for authentication.", - "minLength": 1, - "nullable": true, - "type": "string" - }, - "client_key": { - "description": "A PEM encoded private key used for authentication.", - "minLength": 1, - "nullable": true, - "type": "string", - "writeOnly": true - }, - "domain": { - "description": "The domain of the Pulp server if enabled.", - "minLength": 1, - "nullable": true, - "type": "string" - }, - "name": { - "description": "A unique name for this Pulp server.", - "minLength": 1, - "type": "string" - }, - "password": { - "description": "The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.", - "minLength": 1, - "nullable": true, - "type": "string", - "writeOnly": true - }, - "pulp_label_select": { - "description": "One or more comma separated labels that will be used to filter distributions on the upstream Pulp. E.g. \"foo=bar,key=val\" or \"foo,key\"", - "nullable": true, - "type": "string" - }, - "tls_validation": { - "description": "If True, TLS peer validation must be performed.", - "type": "boolean" - }, - "username": { - "description": "The username to be used for authentication when syncing.", - "minLength": 1, - "nullable": true, - "type": "string", - "writeOnly": true - } - }, - "type": "object" - }, - "PatchedUser": { - "properties": { - "email": { - "format": "email", - "maxLength": 254, - "title": "Email address", - "type": "string" - }, - "first_name": { - "maxLength": 150, - "type": "string" - }, - "groups": { - "description": "The groups this user belongs to. A user will get all permissions granted to each of their groups.", - "items": { - "format": "int64", - "type": "integer" - }, - "type": "array" - }, - "is_superuser": { - "description": "Designates that this user has all permissions without explicitly assigning them.", - "title": "Superuser status", - "type": "boolean" - }, - "last_name": { - "maxLength": 150, - "type": "string" - }, - "password": { - "maxLength": 128, - "type": "string", - "writeOnly": true - }, - "username": { - "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", - "maxLength": 150, - "minLength": 1, - "pattern": "^[\\w.@+-]+$", - "type": "string" - } - }, - "type": "object" - }, - "Patchedansible.AnsibleDistribution": { - "description": "Serializer for Ansible Distributions.", + "PatchedTeam": { "properties": { - "base_path": { - "description": "The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")", - "minLength": 1, - "type": "string" - }, - "content_guard": { - "description": "An optional content-guard.", - "format": "uri", - "nullable": true, - "type": "string" - }, "name": { - "description": "A unique name. Ex, `rawhide` and `stable`.", + "description": "The name of this resource", + "maxLength": 512, "minLength": 1, "type": "string" - }, - "pulp_labels": { - "additionalProperties": { - "nullable": true, - "type": "string" - }, - "type": "object" - }, - "repository": { - "description": "The latest RepositoryVersion for this Repository will be served.", - "format": "uri", - "nullable": true, - "type": "string" - }, - "repository_version": { - "description": "RepositoryVersion to be served", - "format": "uri", - "nullable": true, - "type": "string" - } - }, - "type": "object" - }, - "Patchedansible.AnsibleNamespaceMetadata": { - "description": "A serializer for Namespaces.", - "properties": { - "avatar": { - "description": "Optional avatar image for Namespace", - "format": "binary", - "type": "string", - "writeOnly": true - }, - "company": { - "description": "Optional namespace company owner.", - "maxLength": 64, - "type": "string" - }, - "description": { - "description": "Optional short description.", - "maxLength": 256, - "type": "string" - }, - "email": { - "description": "Optional namespace contact email.", - "maxLength": 256, - "type": "string" - }, - "links": { - "description": "Labeled related links.", - "items": { - "$ref": "#/components/schemas/NamespaceLink" - }, - "type": "array" - }, - "name": { - "description": "Required named, only accepts lowercase, numbers and underscores.", - "maxLength": 64, - "minLength": 3, - "pattern": "^(?!.*__)[a-z]+[0-9a-z_]*$", - "type": "string" - }, - "resources": { - "description": "Optional resource page in markdown format.", - "type": "string" } }, "type": "object" }, - "Patchedansible.AnsibleRepository": { - "description": "Serializer for Ansible Repositories.", + "PatchedUpstreamPulp": { + "description": "Serializer for a Server.", "properties": { - "description": { - "description": "An optional description.", - "minLength": 1, - "nullable": true, - "type": "string" - }, - "gpgkey": { - "description": "Gpg public key to verify collection signatures against", - "minLength": 1, - "nullable": true, - "type": "string" - }, - "last_synced_metadata_time": { - "description": "Last synced metadata time.", - "format": "date-time", - "nullable": true, - "type": "string" - }, - "name": { - "description": "A unique name for this repository.", + "api_root": { + "description": "The API root. Defaults to '/pulp/'.", "minLength": 1, "type": "string" }, - "private": { - "type": "boolean" - }, - "pulp_labels": { - "additionalProperties": { - "nullable": true, - "type": "string" - }, - "type": "object" - }, - "remote": { - "description": "An optional remote to use by default when syncing.", - "format": "uri", - "nullable": true, - "type": "string" - }, - "retain_repo_versions": { - "description": "Retain X versions of the repository. Default is null which retains all versions.", - "format": "int64", - "minimum": 1, - "nullable": true, - "type": "integer" - } - }, - "type": "object" - }, - "Patchedansible.CollectionRemote": { - "description": "A serializer for Collection Remotes.", - "properties": { - "auth_url": { - "description": "The URL to receive a session token from, e.g. used with Automation Hub.", - "maxLength": 255, + "base_url": { + "description": "The transport, hostname, and an optional port of the Pulp server. e.g. https://example.com", "minLength": 1, - "nullable": true, + "type": "string" + }, + "ca_cert": { + "description": "A PEM encoded CA certificate used to validate the server certificate presented by the remote server.", + "minLength": 1, + "nullable": true, + "type": "string" + }, + "client_cert": { + "description": "A PEM encoded client certificate used for authentication.", + "minLength": 1, + "nullable": true, + "type": "string" + }, + "client_key": { + "description": "A PEM encoded private key used for authentication.", + "minLength": 1, + "nullable": true, + "type": "string", + "writeOnly": true + }, + "domain": { + "description": "The domain of the Pulp server if enabled.", + "minLength": 1, + "nullable": true, + "type": "string" + }, + "name": { + "description": "A unique name for this Pulp server.", + "minLength": 1, + "type": "string" + }, + "password": { + "description": "The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.", + "minLength": 1, + "nullable": true, + "type": "string", + "writeOnly": true + }, + "pulp_label_select": { + "description": "One or more comma separated labels that will be used to filter distributions on the upstream Pulp. E.g. \"foo=bar,key=val\" or \"foo,key\"", + "nullable": true, + "type": "string" + }, + "tls_validation": { + "description": "If True, TLS peer validation must be performed.", + "type": "boolean" + }, + "username": { + "description": "The username to be used for authentication when syncing.", + "minLength": 1, + "nullable": true, + "type": "string", + "writeOnly": true + } + }, + "type": "object" + }, + "PatchedUser": { + "properties": { + "email": { + "format": "email", + "maxLength": 254, + "title": "Email address", + "type": "string" + }, + "first_name": { + "maxLength": 150, + "type": "string" + }, + "groups": { + "description": "The groups this user belongs to. A user will get all permissions granted to each of their groups.", + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, + "is_superuser": { + "description": "Designates that this user has all permissions without explicitly assigning them.", + "title": "Superuser status", + "type": "boolean" + }, + "last_name": { + "maxLength": 150, + "type": "string" + }, + "password": { + "maxLength": 128, + "type": "string", + "writeOnly": true + }, + "username": { + "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", + "maxLength": 150, + "minLength": 1, + "pattern": "^[\\w.@+-]+$", + "type": "string" + } + }, + "type": "object" + }, + "PatchedUserCreateUpdateDelete": { + "properties": { + "email": { + "format": "email", + "maxLength": 254, + "title": "Email address", + "type": "string" + }, + "first_name": { + "maxLength": 150, + "type": "string" + }, + "groups": { + "default": [], + "items": { + "type": "object" + }, + "type": "array" + }, + "is_superuser": { + "description": "Designates that this user has all permissions without explicitly assigning them.", + "title": "Superuser status", + "type": "boolean" + }, + "last_name": { + "maxLength": 150, + "type": "string" + }, + "organizations": { + "default": [], + "items": { + "type": "object" + }, + "type": "array" + }, + "password": { + "maxLength": 128, + "minLength": 1, + "nullable": true, + "type": "string", + "writeOnly": true + }, + "teams": { + "default": [], + "items": { + "type": "object" + }, + "type": "array" + }, + "username": { + "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", + "maxLength": 150, + "minLength": 1, + "pattern": "^[\\w.@+-]+$", + "type": "string" + } + }, + "type": "object" + }, + "Patchedansible.AnsibleDistribution": { + "description": "Serializer for Ansible Distributions.", + "properties": { + "base_path": { + "description": "The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")", + "minLength": 1, + "type": "string" + }, + "content_guard": { + "description": "An optional content-guard.", + "format": "uri", + "nullable": true, + "type": "string" + }, + "name": { + "description": "A unique name. Ex, `rawhide` and `stable`.", + "minLength": 1, + "type": "string" + }, + "pulp_labels": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "type": "object" + }, + "repository": { + "description": "The latest RepositoryVersion for this Repository will be served.", + "format": "uri", + "nullable": true, + "type": "string" + }, + "repository_version": { + "description": "RepositoryVersion to be served", + "format": "uri", + "nullable": true, + "type": "string" + } + }, + "type": "object" + }, + "Patchedansible.AnsibleNamespaceMetadata": { + "description": "A serializer for Namespaces.", + "properties": { + "avatar": { + "description": "Optional avatar image for Namespace", + "format": "binary", + "type": "string", + "writeOnly": true + }, + "company": { + "description": "Optional namespace company owner.", + "maxLength": 64, + "type": "string" + }, + "description": { + "description": "Optional short description.", + "maxLength": 256, + "type": "string" + }, + "email": { + "description": "Optional namespace contact email.", + "maxLength": 256, + "type": "string" + }, + "links": { + "description": "Labeled related links.", + "items": { + "$ref": "#/components/schemas/NamespaceLink" + }, + "type": "array" + }, + "name": { + "description": "Required named, only accepts lowercase, numbers and underscores.", + "maxLength": 64, + "minLength": 3, + "pattern": "^(?!.*__)[a-z]+[0-9a-z_]*$", + "type": "string" + }, + "resources": { + "description": "Optional resource page in markdown format.", + "type": "string" + } + }, + "type": "object" + }, + "Patchedansible.AnsibleRepository": { + "description": "Serializer for Ansible Repositories.", + "properties": { + "description": { + "description": "An optional description.", + "minLength": 1, + "nullable": true, + "type": "string" + }, + "gpgkey": { + "description": "Gpg public key to verify collection signatures against", + "minLength": 1, + "nullable": true, + "type": "string" + }, + "last_synced_metadata_time": { + "description": "Last synced metadata time.", + "format": "date-time", + "nullable": true, + "type": "string" + }, + "name": { + "description": "A unique name for this repository.", + "minLength": 1, + "type": "string" + }, + "private": { + "type": "boolean" + }, + "pulp_labels": { + "additionalProperties": { + "nullable": true, + "type": "string" + }, + "type": "object" + }, + "remote": { + "description": "An optional remote to use by default when syncing.", + "format": "uri", + "nullable": true, + "type": "string" + }, + "retain_repo_versions": { + "description": "Retain X versions of the repository. Default is null which retains all versions.", + "format": "int64", + "minimum": 1, + "nullable": true, + "type": "integer" + } + }, + "type": "object" + }, + "Patchedansible.CollectionRemote": { + "description": "A serializer for Collection Remotes.", + "properties": { + "auth_url": { + "description": "The URL to receive a session token from, e.g. used with Automation Hub.", + "maxLength": 255, + "minLength": 1, + "nullable": true, "type": "string" }, "ca_cert": { @@ -7513,6 +7721,82 @@ }, "type": "object" }, + "PermissionsEnum": { + "description": "* `galaxy.add_ansiblerepository` - galaxy.add_ansiblerepository\n* `galaxy.add_collection` - galaxy.add_collection\n* `galaxy.add_collectionimport` - galaxy.add_collectionimport\n* `galaxy.add_collectionremote` - galaxy.add_collectionremote\n* `galaxy.add_containernamespace` - galaxy.add_containernamespace\n* `galaxy.add_containerregistryremote` - galaxy.add_containerregistryremote\n* `galaxy.add_containerrepository` - galaxy.add_containerrepository\n* `galaxy.add_namespace` - galaxy.add_namespace\n* `galaxy.add_task` - galaxy.add_task\n* `galaxy.build_image_containerrepository` - galaxy.build_image_containerrepository\n* `galaxy.change_ansiblerepository` - galaxy.change_ansiblerepository\n* `galaxy.change_collection` - galaxy.change_collection\n* `galaxy.change_collectionimport` - galaxy.change_collectionimport\n* `galaxy.change_collectionremote` - galaxy.change_collectionremote\n* `galaxy.change_containernamespace` - galaxy.change_containernamespace\n* `galaxy.change_containerregistryremote` - galaxy.change_containerregistryremote\n* `galaxy.change_containerrepository` - galaxy.change_containerrepository\n* `galaxy.change_namespace` - galaxy.change_namespace\n* `galaxy.change_task` - galaxy.change_task\n* `galaxy.delete_ansiblerepository` - galaxy.delete_ansiblerepository\n* `galaxy.delete_collection` - galaxy.delete_collection\n* `galaxy.delete_collectionimport` - galaxy.delete_collectionimport\n* `galaxy.delete_collectionremote` - galaxy.delete_collectionremote\n* `galaxy.delete_containernamespace` - galaxy.delete_containernamespace\n* `galaxy.delete_containerregistryremote` - galaxy.delete_containerregistryremote\n* `galaxy.delete_containerrepository` - galaxy.delete_containerrepository\n* `galaxy.delete_containerrepository_versions` - galaxy.delete_containerrepository_versions\n* `galaxy.delete_namespace` - galaxy.delete_namespace\n* `galaxy.delete_task` - galaxy.delete_task\n* `galaxy.manage_roles_ansiblerepository` - galaxy.manage_roles_ansiblerepository\n* `galaxy.manage_roles_collectionremote` - galaxy.manage_roles_collectionremote\n* `galaxy.manage_roles_containernamespace` - galaxy.manage_roles_containernamespace\n* `galaxy.manage_roles_containerrepository` - galaxy.manage_roles_containerrepository\n* `galaxy.manage_roles_task` - galaxy.manage_roles_task\n* `galaxy.modify_ansible_repo_content` - galaxy.modify_ansible_repo_content\n* `galaxy.modify_content_containerrepository` - galaxy.modify_content_containerrepository\n* `galaxy.namespace_add_containerdistribution` - galaxy.namespace_add_containerdistribution\n* `galaxy.namespace_change_containerdistribution` - galaxy.namespace_change_containerdistribution\n* `galaxy.namespace_change_containerpushrepository` - galaxy.namespace_change_containerpushrepository\n* `galaxy.namespace_delete_containerdistribution` - galaxy.namespace_delete_containerdistribution\n* `galaxy.namespace_modify_content_containerpushrepository` - galaxy.namespace_modify_content_containerpushrepository\n* `galaxy.namespace_pull_containerdistribution` - galaxy.namespace_pull_containerdistribution\n* `galaxy.namespace_push_containerdistribution` - galaxy.namespace_push_containerdistribution\n* `galaxy.namespace_view_containerdistribution` - galaxy.namespace_view_containerdistribution\n* `galaxy.namespace_view_containerpushrepository` - galaxy.namespace_view_containerpushrepository\n* `galaxy.rebuild_metadata_ansiblerepository` - galaxy.rebuild_metadata_ansiblerepository\n* `galaxy.repair_ansiblerepository` - galaxy.repair_ansiblerepository\n* `galaxy.sign_ansiblerepository` - galaxy.sign_ansiblerepository\n* `galaxy.sync_ansiblerepository` - galaxy.sync_ansiblerepository\n* `galaxy.sync_containerrepository` - galaxy.sync_containerrepository\n* `galaxy.upload_to_namespace` - galaxy.upload_to_namespace\n* `galaxy.view_ansiblerepository` - galaxy.view_ansiblerepository\n* `galaxy.view_collection` - galaxy.view_collection\n* `galaxy.view_collectionimport` - galaxy.view_collectionimport\n* `galaxy.view_collectionremote` - galaxy.view_collectionremote\n* `galaxy.view_containernamespace` - galaxy.view_containernamespace\n* `galaxy.view_containerregistryremote` - galaxy.view_containerregistryremote\n* `galaxy.view_containerrepository` - galaxy.view_containerrepository\n* `galaxy.view_namespace` - galaxy.view_namespace\n* `galaxy.view_task` - galaxy.view_task\n* `shared.add_organization` - shared.add_organization\n* `shared.add_team` - shared.add_team\n* `shared.change_organization` - shared.change_organization\n* `shared.change_team` - shared.change_team\n* `shared.delete_organization` - shared.delete_organization\n* `shared.delete_team` - shared.delete_team\n* `shared.member_organization` - shared.member_organization\n* `shared.member_team` - shared.member_team\n* `shared.view_organization` - shared.view_organization\n* `shared.view_team` - shared.view_team", + "enum": [ + "galaxy.add_ansiblerepository", + "galaxy.add_collection", + "galaxy.add_collectionimport", + "galaxy.add_collectionremote", + "galaxy.add_containernamespace", + "galaxy.add_containerregistryremote", + "galaxy.add_containerrepository", + "galaxy.add_namespace", + "galaxy.add_task", + "galaxy.build_image_containerrepository", + "galaxy.change_ansiblerepository", + "galaxy.change_collection", + "galaxy.change_collectionimport", + "galaxy.change_collectionremote", + "galaxy.change_containernamespace", + "galaxy.change_containerregistryremote", + "galaxy.change_containerrepository", + "galaxy.change_namespace", + "galaxy.change_task", + "galaxy.delete_ansiblerepository", + "galaxy.delete_collection", + "galaxy.delete_collectionimport", + "galaxy.delete_collectionremote", + "galaxy.delete_containernamespace", + "galaxy.delete_containerregistryremote", + "galaxy.delete_containerrepository", + "galaxy.delete_containerrepository_versions", + "galaxy.delete_namespace", + "galaxy.delete_task", + "galaxy.manage_roles_ansiblerepository", + "galaxy.manage_roles_collectionremote", + "galaxy.manage_roles_containernamespace", + "galaxy.manage_roles_containerrepository", + "galaxy.manage_roles_task", + "galaxy.modify_ansible_repo_content", + "galaxy.modify_content_containerrepository", + "galaxy.namespace_add_containerdistribution", + "galaxy.namespace_change_containerdistribution", + "galaxy.namespace_change_containerpushrepository", + "galaxy.namespace_delete_containerdistribution", + "galaxy.namespace_modify_content_containerpushrepository", + "galaxy.namespace_pull_containerdistribution", + "galaxy.namespace_push_containerdistribution", + "galaxy.namespace_view_containerdistribution", + "galaxy.namespace_view_containerpushrepository", + "galaxy.rebuild_metadata_ansiblerepository", + "galaxy.repair_ansiblerepository", + "galaxy.sign_ansiblerepository", + "galaxy.sync_ansiblerepository", + "galaxy.sync_containerrepository", + "galaxy.upload_to_namespace", + "galaxy.view_ansiblerepository", + "galaxy.view_collection", + "galaxy.view_collectionimport", + "galaxy.view_collectionremote", + "galaxy.view_containernamespace", + "galaxy.view_containerregistryremote", + "galaxy.view_containerrepository", + "galaxy.view_namespace", + "galaxy.view_task", + "shared.add_organization", + "shared.add_team", + "shared.change_organization", + "shared.change_team", + "shared.delete_organization", + "shared.delete_team", + "shared.member_organization", + "shared.member_team", + "shared.view_organization", + "shared.view_team" + ], + "type": "string" + }, "Policy762Enum": { "description": "* `immediate` - When syncing, download all metadata and content now.\n* `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests.\n* `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.", "enum": [ @@ -7936,7 +8220,7 @@ "Purge": { "properties": { "finished_before": { - "default": "2024-10-21", + "default": "2024-10-29", "description": "Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]'", "format": "date-time", "type": "string" @@ -8469,6 +8753,10 @@ "format": "uuid", "type": "string" }, + "is_partially_migrated": { + "description": "This gets set to True when a resource has been copied into the resource server, but the service_id hasn't been updated yet.", + "type": "boolean" + }, "resource_data": { "type": "object" }, @@ -8477,6 +8765,7 @@ "type": "string" }, "service_id": { + "description": "ID of the service responsible for managing this resource.", "format": "uuid", "type": "string" } @@ -8496,6 +8785,10 @@ "readOnly": true, "type": "boolean" }, + "is_partially_migrated": { + "description": "This gets set to True when a resource has been copied into the resource server, but the service_id hasn't been updated yet.", + "type": "boolean" + }, "name": { "nullable": true, "readOnly": true, @@ -8509,6 +8802,7 @@ "type": "string" }, "service_id": { + "description": "ID of the service responsible for managing this resource.", "format": "uuid", "type": "string" }, @@ -8521,6 +8815,10 @@ }, "ResourceResponse": { "properties": { + "additional_data": { + "readOnly": true, + "type": "string" + }, "ansible_id": { "format": "uuid", "type": "string" @@ -8529,6 +8827,10 @@ "readOnly": true, "type": "boolean" }, + "is_partially_migrated": { + "description": "This gets set to True when a resource has been copied into the resource server, but the service_id hasn't been updated yet.", + "type": "boolean" + }, "name": { "nullable": true, "readOnly": true, @@ -8545,6 +8847,7 @@ "type": "string" }, "service_id": { + "description": "ID of the service responsible for managing this resource.", "format": "uuid", "type": "string" }, @@ -8615,6 +8918,237 @@ ], "type": "object" }, + "RoleDefinition": { + "properties": { + "content_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentTypeEnum" + } + ], + "description": "The type of resource this applies to\n\n* `galaxy.ansiblerepository` - Ansible Repository\n* `galaxy.collection` - Collection\n* `galaxy.collectionimport` - Collection Import\n* `galaxy.collectionremote` - Collection Remote\n* `galaxy.containernamespace` - Container Namespace\n* `galaxy.containerregistryremote` - Container Registry Remote\n* `galaxy.containerrepository` - Container Repository\n* `galaxy.namespace` - Namespace\n* `galaxy.task` - Task\n* `shared.organization` - Organization\n* `shared.team` - Team", + "nullable": true + }, + "description": { + "type": "string" + }, + "name": { + "minLength": 1, + "type": "string" + }, + "permissions": { + "items": { + "$ref": "#/components/schemas/PermissionsEnum" + }, + "type": "array" + } + }, + "required": [ + "name", + "permissions" + ], + "type": "object" + }, + "RoleDefinitionDetail": { + "properties": { + "description": { + "type": "string" + }, + "name": { + "minLength": 1, + "type": "string" + }, + "permissions": { + "items": { + "$ref": "#/components/schemas/PermissionsEnum" + }, + "type": "array" + } + }, + "required": [ + "name", + "permissions" + ], + "type": "object" + }, + "RoleDefinitionDetailResponse": { + "properties": { + "content_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentTypeEnum" + } + ], + "description": "The type of resource this applies to\n\n* `galaxy.ansiblerepository` - Ansible Repository\n* `galaxy.collection` - Collection\n* `galaxy.collectionimport` - Collection Import\n* `galaxy.collectionremote` - Collection Remote\n* `galaxy.containernamespace` - Container Namespace\n* `galaxy.containerregistryremote` - Container Registry Remote\n* `galaxy.containerrepository` - Container Repository\n* `galaxy.namespace` - Namespace\n* `galaxy.task` - Task\n* `shared.organization` - Organization\n* `shared.team` - Team", + "readOnly": true + }, + "created": { + "description": "The date/time this resource was created", + "format": "date-time", + "readOnly": true, + "type": "string" + }, + "created_by": { + "description": "The user who created this resource", + "format": "int64", + "nullable": true, + "readOnly": true, + "type": "integer" + }, + "description": { + "type": "string" + }, + "id": { + "format": "int64", + "readOnly": true, + "type": "integer" + }, + "managed": { + "readOnly": true, + "type": "boolean" + }, + "modified": { + "description": "The date/time this resource was created", + "format": "date-time", + "readOnly": true, + "type": "string" + }, + "modified_by": { + "description": "The user who last modified this resource", + "format": "int64", + "nullable": true, + "readOnly": true, + "type": "integer" + }, + "name": { + "type": "string" + }, + "permissions": { + "items": { + "$ref": "#/components/schemas/PermissionsEnum" + }, + "type": "array" + }, + "related": { + "additionalProperties": { + "type": "string" + }, + "readOnly": true, + "type": "object" + }, + "summary_fields": { + "additionalProperties": { + "type": "object" + }, + "readOnly": true, + "type": "object" + }, + "url": { + "readOnly": true, + "type": "string" + } + }, + "required": [ + "name", + "permissions" + ], + "type": "object" + }, + "RoleDefinitionResponse": { + "properties": { + "content_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentTypeEnum" + } + ], + "description": "The type of resource this applies to\n\n* `galaxy.ansiblerepository` - Ansible Repository\n* `galaxy.collection` - Collection\n* `galaxy.collectionimport` - Collection Import\n* `galaxy.collectionremote` - Collection Remote\n* `galaxy.containernamespace` - Container Namespace\n* `galaxy.containerregistryremote` - Container Registry Remote\n* `galaxy.containerrepository` - Container Repository\n* `galaxy.namespace` - Namespace\n* `galaxy.task` - Task\n* `shared.organization` - Organization\n* `shared.team` - Team", + "nullable": true + }, + "created": { + "description": "The date/time this resource was created", + "format": "date-time", + "readOnly": true, + "type": "string" + }, + "created_by": { + "description": "The user who created this resource", + "format": "int64", + "nullable": true, + "readOnly": true, + "type": "integer" + }, + "description": { + "type": "string" + }, + "id": { + "format": "int64", + "readOnly": true, + "type": "integer" + }, + "managed": { + "readOnly": true, + "type": "boolean" + }, + "modified": { + "description": "The date/time this resource was created", + "format": "date-time", + "readOnly": true, + "type": "string" + }, + "modified_by": { + "description": "The user who last modified this resource", + "format": "int64", + "nullable": true, + "readOnly": true, + "type": "integer" + }, + "name": { + "type": "string" + }, + "permissions": { + "items": { + "$ref": "#/components/schemas/PermissionsEnum" + }, + "type": "array" + }, + "related": { + "additionalProperties": { + "type": "string" + }, + "readOnly": true, + "type": "object" + }, + "summary_fields": { + "additionalProperties": { + "type": "object" + }, + "readOnly": true, + "type": "object" + }, + "url": { + "readOnly": true, + "type": "string" + } + }, + "required": [ + "name", + "permissions" + ], + "type": "object" + }, + "RoleMetadataResponse": { + "properties": { + "allowed_permissions": { + "description": "List of permissions allowed for a role definition, given its content type.", + "type": "object" + } + }, + "required": [ + "allowed_permissions" + ], + "type": "object" + }, "RoleResponse": { "description": "Serializer for Role.", "properties": { @@ -8663,6 +9197,230 @@ ], "type": "object" }, + "RoleTeamAssignment": { + "properties": { + "object_ansible_id": { + "description": "Resource id of the object this role applies to. Alternative to the object_id field.", + "format": "uuid", + "nullable": true, + "type": "string" + }, + "object_id": { + "description": "Primary key of the object this assignment applies to, null value indicates system-wide assignment", + "nullable": true, + "type": "string" + }, + "role_definition": { + "description": "The role definition which defines permissions conveyed by this assignment", + "format": "int64", + "type": "integer" + }, + "team": { + "format": "int64", + "type": "integer" + }, + "team_ansible_id": { + "description": "Resource id of the team who will receive permissions from this assignment. Alternative to team field.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "role_definition" + ], + "type": "object" + }, + "RoleTeamAssignmentResponse": { + "properties": { + "content_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentTypeEnum" + } + ], + "description": "The type of resource this applies to\n\n* `galaxy.ansiblerepository` - Ansible Repository\n* `galaxy.collection` - Collection\n* `galaxy.collectionimport` - Collection Import\n* `galaxy.collectionremote` - Collection Remote\n* `galaxy.containernamespace` - Container Namespace\n* `galaxy.containerregistryremote` - Container Registry Remote\n* `galaxy.containerrepository` - Container Repository\n* `galaxy.namespace` - Namespace\n* `galaxy.task` - Task\n* `shared.organization` - Organization\n* `shared.team` - Team", + "readOnly": true + }, + "created": { + "description": "The date/time this resource was created", + "format": "date-time", + "readOnly": true, + "type": "string" + }, + "created_by": { + "description": "The user who created this resource", + "format": "int64", + "nullable": true, + "readOnly": true, + "type": "integer" + }, + "id": { + "format": "int64", + "readOnly": true, + "type": "integer" + }, + "object_ansible_id": { + "description": "Resource id of the object this role applies to. Alternative to the object_id field.", + "format": "uuid", + "nullable": true, + "type": "string" + }, + "object_id": { + "description": "Primary key of the object this assignment applies to, null value indicates system-wide assignment", + "nullable": true, + "type": "string" + }, + "related": { + "additionalProperties": { + "type": "string" + }, + "readOnly": true, + "type": "object" + }, + "role_definition": { + "description": "The role definition which defines permissions conveyed by this assignment", + "format": "int64", + "type": "integer" + }, + "summary_fields": { + "additionalProperties": { + "type": "object" + }, + "readOnly": true, + "type": "object" + }, + "team": { + "format": "int64", + "type": "integer" + }, + "team_ansible_id": { + "description": "Resource id of the team who will receive permissions from this assignment. Alternative to team field.", + "format": "uuid", + "type": "string" + }, + "url": { + "readOnly": true, + "type": "string" + } + }, + "required": [ + "role_definition" + ], + "type": "object" + }, + "RoleUserAssignment": { + "properties": { + "object_ansible_id": { + "description": "Resource id of the object this role applies to. Alternative to the object_id field.", + "format": "uuid", + "nullable": true, + "type": "string" + }, + "object_id": { + "description": "Primary key of the object this assignment applies to, null value indicates system-wide assignment", + "nullable": true, + "type": "string" + }, + "role_definition": { + "description": "The role definition which defines permissions conveyed by this assignment", + "format": "int64", + "type": "integer" + }, + "user": { + "format": "int64", + "type": "integer" + }, + "user_ansible_id": { + "description": "Resource id of the user who will receive permissions from this assignment. Alternative to user field.", + "format": "uuid", + "nullable": true, + "type": "string" + } + }, + "required": [ + "role_definition" + ], + "type": "object" + }, + "RoleUserAssignmentResponse": { + "properties": { + "content_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentTypeEnum" + } + ], + "description": "The type of resource this applies to\n\n* `galaxy.ansiblerepository` - Ansible Repository\n* `galaxy.collection` - Collection\n* `galaxy.collectionimport` - Collection Import\n* `galaxy.collectionremote` - Collection Remote\n* `galaxy.containernamespace` - Container Namespace\n* `galaxy.containerregistryremote` - Container Registry Remote\n* `galaxy.containerrepository` - Container Repository\n* `galaxy.namespace` - Namespace\n* `galaxy.task` - Task\n* `shared.organization` - Organization\n* `shared.team` - Team", + "readOnly": true + }, + "created": { + "description": "The date/time this resource was created", + "format": "date-time", + "readOnly": true, + "type": "string" + }, + "created_by": { + "description": "The user who created this resource", + "format": "int64", + "nullable": true, + "readOnly": true, + "type": "integer" + }, + "id": { + "format": "int64", + "readOnly": true, + "type": "integer" + }, + "object_ansible_id": { + "description": "Resource id of the object this role applies to. Alternative to the object_id field.", + "format": "uuid", + "nullable": true, + "type": "string" + }, + "object_id": { + "description": "Primary key of the object this assignment applies to, null value indicates system-wide assignment", + "nullable": true, + "type": "string" + }, + "related": { + "additionalProperties": { + "type": "string" + }, + "readOnly": true, + "type": "object" + }, + "role_definition": { + "description": "The role definition which defines permissions conveyed by this assignment", + "format": "int64", + "type": "integer" + }, + "summary_fields": { + "additionalProperties": { + "type": "object" + }, + "readOnly": true, + "type": "object" + }, + "url": { + "readOnly": true, + "type": "string" + }, + "user": { + "format": "int64", + "type": "integer" + }, + "user_ansible_id": { + "description": "Resource id of the user who will receive permissions from this assignment. Alternative to user field.", + "format": "uuid", + "nullable": true, + "type": "string" + } + }, + "required": [ + "role_definition" + ], + "type": "object" + }, "SearchResultsResponse": { "properties": { "avatar_url": { @@ -9385,6 +10143,50 @@ ], "type": "object" }, + "Team": { + "properties": { + "name": { + "description": "The name of this resource", + "maxLength": 512, + "minLength": 1, + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "TeamResponse": { + "properties": { + "group": { + "readOnly": true, + "type": "string" + }, + "id": { + "format": "int64", + "readOnly": true, + "type": "integer" + }, + "name": { + "description": "The name of this resource", + "maxLength": 512, + "type": "string" + }, + "organization": { + "readOnly": true, + "type": "string" + }, + "resource": { + "readOnly": true, + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, "UnTagImage": { "description": "A serializer for parsing and validating data associated with a manifest untagging.", "properties": { @@ -9882,6 +10684,194 @@ ], "type": "object" }, + "UserCreateUpdateDelete": { + "properties": { + "email": { + "format": "email", + "maxLength": 254, + "title": "Email address", + "type": "string" + }, + "first_name": { + "maxLength": 150, + "type": "string" + }, + "groups": { + "default": [], + "items": { + "type": "object" + }, + "type": "array" + }, + "is_superuser": { + "description": "Designates that this user has all permissions without explicitly assigning them.", + "title": "Superuser status", + "type": "boolean" + }, + "last_name": { + "maxLength": 150, + "type": "string" + }, + "organizations": { + "default": [], + "items": { + "type": "object" + }, + "type": "array" + }, + "password": { + "maxLength": 128, + "minLength": 1, + "nullable": true, + "type": "string", + "writeOnly": true + }, + "teams": { + "default": [], + "items": { + "type": "object" + }, + "type": "array" + }, + "username": { + "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", + "maxLength": 150, + "minLength": 1, + "pattern": "^[\\w.@+-]+$", + "type": "string" + } + }, + "required": [ + "username" + ], + "type": "object" + }, + "UserCreateUpdateDeleteResponse": { + "properties": { + "date_joined": { + "format": "date-time", + "readOnly": true, + "type": "string" + }, + "email": { + "format": "email", + "maxLength": 254, + "title": "Email address", + "type": "string" + }, + "first_name": { + "maxLength": 150, + "type": "string" + }, + "groups": { + "default": [], + "items": { + "type": "object" + }, + "type": "array" + }, + "id": { + "format": "int64", + "readOnly": true, + "type": "integer" + }, + "is_superuser": { + "description": "Designates that this user has all permissions without explicitly assigning them.", + "title": "Superuser status", + "type": "boolean" + }, + "last_name": { + "maxLength": 150, + "type": "string" + }, + "organizations": { + "default": [], + "items": { + "type": "object" + }, + "type": "array" + }, + "resource": { + "readOnly": true, + "type": "string" + }, + "teams": { + "default": [], + "items": { + "type": "object" + }, + "type": "array" + }, + "username": { + "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", + "maxLength": 150, + "pattern": "^[\\w.@+-]+$", + "type": "string" + } + }, + "required": [ + "username" + ], + "type": "object" + }, + "UserDetailResponse": { + "properties": { + "date_joined": { + "format": "date-time", + "type": "string" + }, + "email": { + "format": "email", + "maxLength": 254, + "title": "Email address", + "type": "string" + }, + "first_name": { + "maxLength": 150, + "type": "string" + }, + "groups": { + "readOnly": true, + "type": "string" + }, + "id": { + "format": "int64", + "readOnly": true, + "type": "integer" + }, + "is_superuser": { + "description": "Designates that this user has all permissions without explicitly assigning them.", + "title": "Superuser status", + "type": "boolean" + }, + "last_name": { + "maxLength": 150, + "type": "string" + }, + "organizations": { + "readOnly": true, + "type": "string" + }, + "resource": { + "readOnly": true, + "type": "string" + }, + "teams": { + "readOnly": true, + "type": "string" + }, + "username": { + "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", + "maxLength": 150, + "pattern": "^[\\w.@+-]+$", + "type": "string" + } + }, + "required": [ + "username" + ], + "type": "object" + }, "UserGroup": { "description": "Serializer for Groups that belong to an User.", "properties": { @@ -10131,6 +11121,67 @@ }, "type": "object" }, + "ansible.AnsibleCollectionDeprecated": { + "description": "A serializer for Ansible Collection Deprecations.", + "properties": { + "name": { + "description": "The name of the Collection.", + "minLength": 1, + "type": "string" + }, + "namespace": { + "description": "The namespace of the Collection.", + "minLength": 1, + "type": "string" + }, + "repository": { + "description": "A URI of a repository the new content unit should be associated with.", + "format": "uri", + "type": "string", + "writeOnly": true + } + }, + "required": [ + "name", + "namespace" + ], + "type": "object" + }, + "ansible.AnsibleCollectionDeprecatedResponse": { + "description": "A serializer for Ansible Collection Deprecations.", + "properties": { + "name": { + "description": "The name of the Collection.", + "type": "string" + }, + "namespace": { + "description": "The namespace of the Collection.", + "type": "string" + }, + "pulp_created": { + "description": "Timestamp of creation.", + "format": "date-time", + "readOnly": true, + "type": "string" + }, + "pulp_href": { + "format": "uri", + "readOnly": true, + "type": "string" + }, + "pulp_last_updated": { + "description": "Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.", + "format": "date-time", + "readOnly": true, + "type": "string" + } + }, + "required": [ + "name", + "namespace" + ], + "type": "object" + }, "ansible.AnsibleDistribution": { "description": "Serializer for Ansible Distributions.", "properties": { @@ -10483,26 +11534,6 @@ ], "type": "object" }, - "ansible.Collection": { - "description": "A serializer for Ansible Collections.", - "properties": { - "name": { - "description": "The name of the Collection.", - "minLength": 1, - "type": "string" - }, - "namespace": { - "description": "The namespace of the Collection.", - "minLength": 1, - "type": "string" - } - }, - "required": [ - "name", - "namespace" - ], - "type": "object" - }, "ansible.CollectionRemote": { "description": "A serializer for Collection Remotes.", "properties": { @@ -14280,12 +15311,12 @@ "url": "https://pulp.plan.io/attachments/download/517478/pulp_logo_word_rectangle.svg" }, "x-pulp-app-versions": { - "ansible": "0.21.6", - "certguard": "3.49.11", + "ansible": "0.22.2", + "certguard": "3.49.24", "container": "2.19.3", - "core": "3.49.11", - "file": "3.49.11", - "galaxy": "4.10.0dev" + "core": "3.49.24", + "file": "3.49.24", + "galaxy": "4.11.0dev" }, "x-pulp-domain-enabled": false }, @@ -18481,31 +19512,35 @@ ] } }, - "/api/automation-hub/api/": { - "get": { - "operationId": "api_automation_hub_api_read", - "responses": { - "200": { - "description": "No response body" - } - }, - "tags": [ - "Api: Api" - ] - } - }, - "/api/automation-hub/content/{path}/": { + "/api/automation-hub/_ui/v2/groups/": { "get": { - "operationId": "api_automation_hub_content_read", + "operationId": "api_automation_hub__ui_v2_groups_list", "parameters": [ { - "in": "path", - "name": "path", - "required": true, + "in": "query", + "name": "name", "schema": { "type": "string" } }, + { + "description": "A page number within the paginated result set.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "Number of results to return per page.", + "in": "query", + "name": "page_size", + "required": false, + "schema": { + "type": "integer" + } + }, { "description": "A list of fields to include in the response.", "in": "query", @@ -18531,71 +19566,97 @@ ], "responses": { "200": { - "description": "No response body" + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedGroupResponseList" + } + } + }, + "description": "" } }, + "summary": "List groups", "tags": [ - "Api: Content" + "Api: _Ui V2 Groups" + ] + }, + "post": { + "operationId": "api_automation_hub__ui_v2_groups_create", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Group" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/Group" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Group" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GroupResponse" + } + } + }, + "description": "" + } + }, + "summary": "Create a group", + "tags": [ + "Api: _Ui V2 Groups" ] } }, - "/api/automation-hub/content/{path}/api/": { - "get": { - "operationId": "api_automation_hub_content_api_read", + "/api/automation-hub/_ui/v2/groups/{id}/": { + "delete": { + "operationId": "api_automation_hub__ui_v2_groups_delete", "parameters": [ { + "description": "A unique integer value identifying this group.", "in": "path", - "name": "path", + "name": "id", "required": true, "schema": { - "type": "string" - } - }, - { - "description": "A list of fields to include in the response.", - "in": "query", - "name": "fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - { - "description": "A list of fields to exclude from the response.", - "in": "query", - "name": "exclude_fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" + "format": "int64", + "type": "integer" } } ], "responses": { - "200": { + "204": { "description": "No response body" } }, + "summary": "Delete a group", "tags": [ - "Api: Content Api" + "Api: _Ui V2 Groups" ] - } - }, - "/api/automation-hub/content/{path}/v3/": { + }, "get": { - "deprecated": true, - "description": "Legacy v3 endpoint.", - "operationId": "api_automation_hub_content_v3_read", + "operationId": "api_automation_hub__ui_v2_groups_read", "parameters": [ { + "description": "A unique integer value identifying this group.", "in": "path", - "name": "path", + "name": "id", "required": true, "schema": { - "type": "string" + "format": "int64", + "type": "integer" } }, { @@ -18622,89 +19683,2252 @@ } ], "responses": { - "202": { + "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RepoMetadataResponse" + "$ref": "#/components/schemas/GroupResponse" } } }, "description": "" + } + }, + "summary": "Inspect a group", + "tags": [ + "Api: _Ui V2 Groups" + ] + }, + "patch": { + "operationId": "api_automation_hub__ui_v2_groups_partial_update", + "parameters": [ + { + "description": "A unique integer value identifying this group.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PatchedGroup" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/PatchedGroup" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/PatchedGroup" + } + } }, - "302": { - "description": "No response body" + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GroupResponse" + } + } + }, + "description": "" } }, + "summary": "Update a group", "tags": [ - "Api: Content V3" + "Api: _Ui V2 Groups" ] - } - }, - "/api/automation-hub/content/{path}/v3/artifacts/collections/": { - "post": { - "description": "Create an artifact and trigger an asynchronous task to create Collection content from it.", - "operationId": "api_automation_hub_content_v3_artifacts_collections_create", + }, + "put": { + "operationId": "api_automation_hub__ui_v2_groups_update", "parameters": [ { + "description": "A unique integer value identifying this group.", "in": "path", - "name": "path", + "name": "id", "required": true, "schema": { - "type": "string" + "format": "int64", + "type": "integer" } } ], "requestBody": { "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Group" + } + }, "application/x-www-form-urlencoded": { "schema": { - "$ref": "#/components/schemas/CollectionUploadWithDownloadUrl" + "$ref": "#/components/schemas/Group" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/CollectionUploadWithDownloadUrl" + "$ref": "#/components/schemas/Group" } } }, "required": true }, "responses": { - "202": { + "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AsyncOperationResponse" + "$ref": "#/components/schemas/GroupResponse" } } }, "description": "" } }, - "summary": "Upload a collection", + "summary": "Update a group", "tags": [ - "Pulp_Ansible: Artifacts Collections V3" + "Api: _Ui V2 Groups" ] } }, - "/api/automation-hub/content/{path}/v3/artifacts/collections/{path}/{filename}": { + "/api/automation-hub/_ui/v2/me/": { "get": { - "description": "Download collection.", - "operationId": "api_automation_hub_content_v3_artifacts_collections_get", + "operationId": "api_automation_hub__ui_v2_me_read", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserDetailResponse" + } + } + }, + "description": "" + } + }, + "tags": [ + "Api: _Ui V2 Me" + ] + } + }, + "/api/automation-hub/_ui/v2/organizations/": { + "get": { + "operationId": "api_automation_hub__ui_v2_organizations_list", "parameters": [ { - "in": "path", - "name": "filename", - "required": true, + "in": "query", + "name": "name", "schema": { "type": "string" } }, { - "in": "path", - "name": "path", - "required": true, + "description": "A page number within the paginated result set.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "Number of results to return per page.", + "in": "query", + "name": "page_size", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "in": "query", + "name": "resource__ansible_id", + "schema": { + "type": "string" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedOrganizationResponseList" + } + } + }, + "description": "" + } + }, + "summary": "List organizations", + "tags": [ + "Api: _Ui V2 Organizations" + ] + }, + "post": { + "operationId": "api_automation_hub__ui_v2_organizations_create", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Organization" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/Organization" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Organization" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrganizationResponse" + } + } + }, + "description": "" + } + }, + "summary": "Create an organization", + "tags": [ + "Api: _Ui V2 Organizations" + ] + } + }, + "/api/automation-hub/_ui/v2/organizations/{id}/": { + "delete": { + "operationId": "api_automation_hub__ui_v2_organizations_delete", + "parameters": [ + { + "description": "A unique integer value identifying this organization.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No response body" + } + }, + "summary": "Delete an organization", + "tags": [ + "Api: _Ui V2 Organizations" + ] + }, + "get": { + "operationId": "api_automation_hub__ui_v2_organizations_read", + "parameters": [ + { + "description": "A unique integer value identifying this organization.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrganizationResponse" + } + } + }, + "description": "" + } + }, + "summary": "Inspect an organization", + "tags": [ + "Api: _Ui V2 Organizations" + ] + }, + "patch": { + "operationId": "api_automation_hub__ui_v2_organizations_partial_update", + "parameters": [ + { + "description": "A unique integer value identifying this organization.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PatchedOrganization" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/PatchedOrganization" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/PatchedOrganization" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrganizationResponse" + } + } + }, + "description": "" + } + }, + "summary": "Update an organization", + "tags": [ + "Api: _Ui V2 Organizations" + ] + }, + "put": { + "operationId": "api_automation_hub__ui_v2_organizations_update", + "parameters": [ + { + "description": "A unique integer value identifying this organization.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Organization" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/Organization" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Organization" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrganizationResponse" + } + } + }, + "description": "" + } + }, + "summary": "Update an organization", + "tags": [ + "Api: _Ui V2 Organizations" + ] + } + }, + "/api/automation-hub/_ui/v2/role_definitions/": { + "get": { + "description": "Role Definitions (roles) contain a list of permissions and can be used to\nassign those permissions to a user or team through the respective\nassignment endpoints.\n\nCustom roles can be created, modified, and deleted through this endpoint.\nSystem-managed roles are shown here, which cannot be edited or deleted,\nbut can be assigned to users.", + "operationId": "api_automation_hub__ui_v2_role_definitions_list", + "parameters": [ + { + "description": "A page number within the paginated result set.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "Number of results to return per page.", + "in": "query", + "name": "page_size", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "A search term.", + "in": "query", + "name": "search", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedRoleDefinitionResponseList" + } + } + }, + "description": "" + } + }, + "summary": "List role_definition", + "tags": [ + "Api: _Ui V2 Role_Definitions" + ] + }, + "post": { + "description": "Role Definitions (roles) contain a list of permissions and can be used to\nassign those permissions to a user or team through the respective\nassignment endpoints.\n\nCustom roles can be created, modified, and deleted through this endpoint.\nSystem-managed roles are shown here, which cannot be edited or deleted,\nbut can be assigned to users.", + "operationId": "api_automation_hub__ui_v2_role_definitions_create", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleDefinition" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/RoleDefinition" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/RoleDefinition" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleDefinitionResponse" + } + } + }, + "description": "" + } + }, + "summary": "Create a role definition", + "tags": [ + "Api: _Ui V2 Role_Definitions" + ] + } + }, + "/api/automation-hub/_ui/v2/role_definitions/{id}/": { + "delete": { + "description": "Role Definitions (roles) contain a list of permissions and can be used to\nassign those permissions to a user or team through the respective\nassignment endpoints.\n\nCustom roles can be created, modified, and deleted through this endpoint.\nSystem-managed roles are shown here, which cannot be edited or deleted,\nbut can be assigned to users.", + "operationId": "api_automation_hub__ui_v2_role_definitions_delete", + "parameters": [ + { + "description": "A unique integer value identifying this role definition.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No response body" + } + }, + "summary": "Delete a role definition", + "tags": [ + "Api: _Ui V2 Role_Definitions" + ] + }, + "get": { + "description": "Role Definitions (roles) contain a list of permissions and can be used to\nassign those permissions to a user or team through the respective\nassignment endpoints.\n\nCustom roles can be created, modified, and deleted through this endpoint.\nSystem-managed roles are shown here, which cannot be edited or deleted,\nbut can be assigned to users.", + "operationId": "api_automation_hub__ui_v2_role_definitions_read", + "parameters": [ + { + "description": "A unique integer value identifying this role definition.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleDefinitionResponse" + } + } + }, + "description": "" + } + }, + "summary": "Inspect a role definition", + "tags": [ + "Api: _Ui V2 Role_Definitions" + ] + }, + "patch": { + "description": "Role Definitions (roles) contain a list of permissions and can be used to\nassign those permissions to a user or team through the respective\nassignment endpoints.\n\nCustom roles can be created, modified, and deleted through this endpoint.\nSystem-managed roles are shown here, which cannot be edited or deleted,\nbut can be assigned to users.", + "operationId": "api_automation_hub__ui_v2_role_definitions_partial_update", + "parameters": [ + { + "description": "A unique integer value identifying this role definition.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PatchedRoleDefinition" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/PatchedRoleDefinition" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/PatchedRoleDefinition" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleDefinitionResponse" + } + } + }, + "description": "" + } + }, + "summary": "Update a role definition", + "tags": [ + "Api: _Ui V2 Role_Definitions" + ] + }, + "put": { + "description": "Role Definitions (roles) contain a list of permissions and can be used to\nassign those permissions to a user or team through the respective\nassignment endpoints.\n\nCustom roles can be created, modified, and deleted through this endpoint.\nSystem-managed roles are shown here, which cannot be edited or deleted,\nbut can be assigned to users.", + "operationId": "api_automation_hub__ui_v2_role_definitions_update", + "parameters": [ + { + "description": "A unique integer value identifying this role definition.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleDefinitionDetail" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/RoleDefinitionDetail" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/RoleDefinitionDetail" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleDefinitionDetailResponse" + } + } + }, + "description": "" + } + }, + "summary": "Update a role definition", + "tags": [ + "Api: _Ui V2 Role_Definitions" + ] + } + }, + "/api/automation-hub/_ui/v2/role_definitions/{id}/team_assignments/": { + "get": { + "description": "Manage Role Team Assignment objects in the 'team_assignments' relationship of this particular Role Definition.\n\nStarting from the detail URL:\n\nGET /:id/team_assignments/ to show role team assignments currently in the relationship", + "operationId": "api_automation_hub__ui_v2_role_definitions_team_assignments_list", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "pattern": "^[0-9]+$", + "type": "string" + } + }, + { + "description": "A page number within the paginated result set.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "Number of results to return per page.", + "in": "query", + "name": "page_size", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "A search term.", + "in": "query", + "name": "search", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedRoleTeamAssignmentResponseList" + } + } + }, + "description": "" + } + }, + "tags": [ + "Api: _Ui V2 Role_Definitions Team_Assignments" + ] + } + }, + "/api/automation-hub/_ui/v2/role_definitions/{id}/user_assignments/": { + "get": { + "description": "Manage Role User Assignment objects in the 'user_assignments' relationship of this particular Role Definition.\n\nStarting from the detail URL:\n\nGET /:id/user_assignments/ to show role user assignments currently in the relationship", + "operationId": "api_automation_hub__ui_v2_role_definitions_user_assignments_list", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "pattern": "^[0-9]+$", + "type": "string" + } + }, + { + "description": "A page number within the paginated result set.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "Number of results to return per page.", + "in": "query", + "name": "page_size", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "A search term.", + "in": "query", + "name": "search", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedRoleUserAssignmentResponseList" + } + } + }, + "description": "" + } + }, + "tags": [ + "Api: _Ui V2 Role_Definitions User_Assignments" + ] + } + }, + "/api/automation-hub/_ui/v2/role_metadata/": { + "get": { + "description": "General data about models and permissions tracked by django-ansible-base RBAC\n\nInformation from this endpoint should be static given a server version.\nThis reflects model definitions, registrations with the permission registry,\nand enablement of RBAC features in settings.\n\nallowed_permissions: Valid permissions for a role of a given content_type", + "operationId": "api_automation_hub__ui_v2_role_metadata_get", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleMetadataResponse" + } + } + }, + "description": "" + } + }, + "tags": [ + "Api: _Ui V2 Role_Metadata" + ] + } + }, + "/api/automation-hub/_ui/v2/role_team_assignments/": { + "get": { + "description": "Use this endpoint to give a team permission to a resource or an organization.\nThe needed data is the team, the role definition, and the object id.\nThe object must be of the type specified in the role definition.\nThe type given in the role definition and the provided object_id are used\nto look up the resource.\n\nAfter creation, the assignment cannot be edited, but can be deleted to\nremove those permissions.", + "operationId": "api_automation_hub__ui_v2_role_team_assignments_list", + "parameters": [ + { + "description": "A page number within the paginated result set.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "Number of results to return per page.", + "in": "query", + "name": "page_size", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "A search term.", + "in": "query", + "name": "search", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedRoleTeamAssignmentResponseList" + } + } + }, + "description": "" + } + }, + "tags": [ + "Api: _Ui V2 Role_Team_Assignments" + ] + }, + "post": { + "description": "Use this endpoint to give a team permission to a resource or an organization.\nThe needed data is the team, the role definition, and the object id.\nThe object must be of the type specified in the role definition.\nThe type given in the role definition and the provided object_id are used\nto look up the resource.\n\nAfter creation, the assignment cannot be edited, but can be deleted to\nremove those permissions.", + "operationId": "api_automation_hub__ui_v2_role_team_assignments_create", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleTeamAssignment" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/RoleTeamAssignment" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/RoleTeamAssignment" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleTeamAssignmentResponse" + } + } + }, + "description": "" + } + }, + "tags": [ + "Api: _Ui V2 Role_Team_Assignments" + ] + } + }, + "/api/automation-hub/_ui/v2/role_team_assignments/{id}/": { + "delete": { + "description": "Use this endpoint to give a team permission to a resource or an organization.\nThe needed data is the team, the role definition, and the object id.\nThe object must be of the type specified in the role definition.\nThe type given in the role definition and the provided object_id are used\nto look up the resource.\n\nAfter creation, the assignment cannot be edited, but can be deleted to\nremove those permissions.", + "operationId": "api_automation_hub__ui_v2_role_team_assignments_delete", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No response body" + } + }, + "tags": [ + "Api: _Ui V2 Role_Team_Assignments" + ] + }, + "get": { + "description": "Use this endpoint to give a team permission to a resource or an organization.\nThe needed data is the team, the role definition, and the object id.\nThe object must be of the type specified in the role definition.\nThe type given in the role definition and the provided object_id are used\nto look up the resource.\n\nAfter creation, the assignment cannot be edited, but can be deleted to\nremove those permissions.", + "operationId": "api_automation_hub__ui_v2_role_team_assignments_read", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleTeamAssignmentResponse" + } + } + }, + "description": "" + } + }, + "tags": [ + "Api: _Ui V2 Role_Team_Assignments" + ] + } + }, + "/api/automation-hub/_ui/v2/role_user_assignments/": { + "get": { + "description": "Use this endpoint to give a user permission to a resource or an organization.\nThe needed data is the user, the role definition, and the object id.\nThe object must be of the type specified in the role definition.\nThe type given in the role definition and the provided object_id are used\nto look up the resource.\n\nAfter creation, the assignment cannot be edited, but can be deleted to\nremove those permissions.", + "operationId": "api_automation_hub__ui_v2_role_user_assignments_list", + "parameters": [ + { + "description": "A page number within the paginated result set.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "Number of results to return per page.", + "in": "query", + "name": "page_size", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "A search term.", + "in": "query", + "name": "search", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedRoleUserAssignmentResponseList" + } + } + }, + "description": "" + } + }, + "tags": [ + "Api: _Ui V2 Role_User_Assignments" + ] + }, + "post": { + "description": "Use this endpoint to give a user permission to a resource or an organization.\nThe needed data is the user, the role definition, and the object id.\nThe object must be of the type specified in the role definition.\nThe type given in the role definition and the provided object_id are used\nto look up the resource.\n\nAfter creation, the assignment cannot be edited, but can be deleted to\nremove those permissions.", + "operationId": "api_automation_hub__ui_v2_role_user_assignments_create", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleUserAssignment" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/RoleUserAssignment" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/RoleUserAssignment" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleUserAssignmentResponse" + } + } + }, + "description": "" + } + }, + "tags": [ + "Api: _Ui V2 Role_User_Assignments" + ] + } + }, + "/api/automation-hub/_ui/v2/role_user_assignments/{id}/": { + "delete": { + "description": "Use this endpoint to give a user permission to a resource or an organization.\nThe needed data is the user, the role definition, and the object id.\nThe object must be of the type specified in the role definition.\nThe type given in the role definition and the provided object_id are used\nto look up the resource.\n\nAfter creation, the assignment cannot be edited, but can be deleted to\nremove those permissions.", + "operationId": "api_automation_hub__ui_v2_role_user_assignments_delete", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No response body" + } + }, + "tags": [ + "Api: _Ui V2 Role_User_Assignments" + ] + }, + "get": { + "description": "Use this endpoint to give a user permission to a resource or an organization.\nThe needed data is the user, the role definition, and the object id.\nThe object must be of the type specified in the role definition.\nThe type given in the role definition and the provided object_id are used\nto look up the resource.\n\nAfter creation, the assignment cannot be edited, but can be deleted to\nremove those permissions.", + "operationId": "api_automation_hub__ui_v2_role_user_assignments_read", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleUserAssignmentResponse" + } + } + }, + "description": "" + } + }, + "tags": [ + "Api: _Ui V2 Role_User_Assignments" + ] + } + }, + "/api/automation-hub/_ui/v2/teams/": { + "get": { + "operationId": "api_automation_hub__ui_v2_teams_list", + "parameters": [ + { + "in": "query", + "name": "name", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "name__contains", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "name__icontains", + "schema": { + "type": "string" + } + }, + { + "description": "A page number within the paginated result set.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "Number of results to return per page.", + "in": "query", + "name": "page_size", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "in": "query", + "name": "resource__ansible_id", + "schema": { + "type": "string" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedTeamResponseList" + } + } + }, + "description": "" + } + }, + "summary": "List teams", + "tags": [ + "Api: _Ui V2 Teams" + ] + }, + "post": { + "operationId": "api_automation_hub__ui_v2_teams_create", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Team" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/Team" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Team" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TeamResponse" + } + } + }, + "description": "" + } + }, + "summary": "Create a team", + "tags": [ + "Api: _Ui V2 Teams" + ] + } + }, + "/api/automation-hub/_ui/v2/teams/{id}/": { + "delete": { + "operationId": "api_automation_hub__ui_v2_teams_delete", + "parameters": [ + { + "description": "A unique integer value identifying this team.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No response body" + } + }, + "summary": "Delete a team", + "tags": [ + "Api: _Ui V2 Teams" + ] + }, + "get": { + "operationId": "api_automation_hub__ui_v2_teams_read", + "parameters": [ + { + "description": "A unique integer value identifying this team.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TeamResponse" + } + } + }, + "description": "" + } + }, + "summary": "Inspect a team", + "tags": [ + "Api: _Ui V2 Teams" + ] + }, + "patch": { + "operationId": "api_automation_hub__ui_v2_teams_partial_update", + "parameters": [ + { + "description": "A unique integer value identifying this team.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PatchedTeam" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/PatchedTeam" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/PatchedTeam" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TeamResponse" + } + } + }, + "description": "" + } + }, + "summary": "Update a team", + "tags": [ + "Api: _Ui V2 Teams" + ] + }, + "put": { + "operationId": "api_automation_hub__ui_v2_teams_update", + "parameters": [ + { + "description": "A unique integer value identifying this team.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Team" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/Team" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Team" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TeamResponse" + } + } + }, + "description": "" + } + }, + "summary": "Update a team", + "tags": [ + "Api: _Ui V2 Teams" + ] + } + }, + "/api/automation-hub/_ui/v2/users/": { + "get": { + "operationId": "api_automation_hub__ui_v2_users_list", + "parameters": [ + { + "in": "query", + "name": "date_joined", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "in": "query", + "name": "email", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "email__contains", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "email__startswith", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "first_name", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "first_name__contains", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "first_name__startswith", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "is_superuser", + "schema": { + "type": "boolean" + } + }, + { + "in": "query", + "name": "last_name", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "last_name__contains", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "last_name__startswith", + "schema": { + "type": "string" + } + }, + { + "description": "A page number within the paginated result set.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "description": "Number of results to return per page.", + "in": "query", + "name": "page_size", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "in": "query", + "name": "resource__ansible_id", + "schema": { + "format": "uuid", + "type": "string" + } + }, + { + "description": "Ordering\n\n* `username` - Username\n* `-username` - Username (descending)\n* `email` - Email\n* `-email` - Email (descending)\n* `first_name` - First name\n* `-first_name` - First name (descending)\n* `last_name` - Last name\n* `-last_name` - Last name (descending)\n* `date_joined` - Date joined\n* `-date_joined` - Date joined (descending)", + "explode": false, + "in": "query", + "name": "sort", + "schema": { + "items": { + "enum": [ + "-date_joined", + "-email", + "-first_name", + "-last_name", + "-username", + "date_joined", + "email", + "first_name", + "last_name", + "username" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + }, + { + "in": "query", + "name": "username", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "username__contains", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "username__icontains", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "username__startswith", + "schema": { + "type": "string" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaginatedUserDetailResponseList" + } + } + }, + "description": "" + } + }, + "summary": "List users", + "tags": [ + "Api: _Ui V2 Users" + ] + }, + "post": { + "operationId": "api_automation_hub__ui_v2_users_create", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserCreateUpdateDelete" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/UserCreateUpdateDelete" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/UserCreateUpdateDelete" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserCreateUpdateDeleteResponse" + } + } + }, + "description": "" + } + }, + "summary": "Create an user", + "tags": [ + "Api: _Ui V2 Users" + ] + } + }, + "/api/automation-hub/_ui/v2/users/{id}/": { + "delete": { + "operationId": "api_automation_hub__ui_v2_users_delete", + "parameters": [ + { + "description": "A unique integer value identifying this user.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No response body" + } + }, + "summary": "Delete an user", + "tags": [ + "Api: _Ui V2 Users" + ] + }, + "get": { + "operationId": "api_automation_hub__ui_v2_users_read", + "parameters": [ + { + "description": "A unique integer value identifying this user.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserDetailResponse" + } + } + }, + "description": "" + } + }, + "summary": "Inspect an user", + "tags": [ + "Api: _Ui V2 Users" + ] + }, + "patch": { + "operationId": "api_automation_hub__ui_v2_users_partial_update", + "parameters": [ + { + "description": "A unique integer value identifying this user.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PatchedUserCreateUpdateDelete" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/PatchedUserCreateUpdateDelete" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/PatchedUserCreateUpdateDelete" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserCreateUpdateDeleteResponse" + } + } + }, + "description": "" + } + }, + "summary": "Update an user", + "tags": [ + "Api: _Ui V2 Users" + ] + }, + "put": { + "operationId": "api_automation_hub__ui_v2_users_update", + "parameters": [ + { + "description": "A unique integer value identifying this user.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "format": "int64", + "type": "integer" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserCreateUpdateDelete" + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/UserCreateUpdateDelete" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/UserCreateUpdateDelete" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserCreateUpdateDeleteResponse" + } + } + }, + "description": "" + } + }, + "summary": "Update an user", + "tags": [ + "Api: _Ui V2 Users" + ] + } + }, + "/api/automation-hub/api/": { + "get": { + "operationId": "api_automation_hub_api_read", + "responses": { + "200": { + "description": "No response body" + } + }, + "tags": [ + "Api: Api" + ] + } + }, + "/api/automation-hub/content/{path}/": { + "get": { + "operationId": "api_automation_hub_content_read", + "parameters": [ + { + "in": "path", + "name": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "description": "No response body" + } + }, + "tags": [ + "Api: Content" + ] + } + }, + "/api/automation-hub/content/{path}/api/": { + "get": { + "operationId": "api_automation_hub_content_api_read", + "parameters": [ + { + "in": "path", + "name": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "200": { + "description": "No response body" + } + }, + "tags": [ + "Api: Content Api" + ] + } + }, + "/api/automation-hub/content/{path}/v3/": { + "get": { + "deprecated": true, + "description": "Legacy v3 endpoint.", + "operationId": "api_automation_hub_content_v3_read", + "parameters": [ + { + "in": "path", + "name": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "A list of fields to include in the response.", + "in": "query", + "name": "fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + { + "description": "A list of fields to exclude from the response.", + "in": "query", + "name": "exclude_fields", + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + ], + "responses": { + "202": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RepoMetadataResponse" + } + } + }, + "description": "" + }, + "302": { + "description": "No response body" + } + }, + "tags": [ + "Api: Content V3" + ] + } + }, + "/api/automation-hub/content/{path}/v3/artifacts/collections/": { + "post": { + "description": "Create an artifact and trigger an asynchronous task to create Collection content from it.", + "operationId": "api_automation_hub_content_v3_artifacts_collections_create", + "parameters": [ + { + "in": "path", + "name": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/CollectionUploadWithDownloadUrl" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/CollectionUploadWithDownloadUrl" + } + } + }, + "required": true + }, + "responses": { + "202": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AsyncOperationResponse" + } + } + }, + "description": "" + } + }, + "summary": "Upload a collection", + "tags": [ + "Pulp_Ansible: Artifacts Collections V3" + ] + } + }, + "/api/automation-hub/content/{path}/v3/artifacts/collections/{path}/{filename}": { + "get": { + "description": "Download collection.", + "operationId": "api_automation_hub_content_v3_artifacts_collections_get", + "parameters": [ + { + "in": "path", + "name": "filename", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "path", + "required": true, "schema": { "type": "string" } @@ -22504,6 +25728,7 @@ "description": "" } }, + "summary": "List cross repository collection version indexs", "tags": [ "Api: Content V3 Plugin Ansible Search Collection-Versions" ] @@ -25413,7 +28638,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Paginatedansible.CollectionResponseList" + "$ref": "#/components/schemas/Paginatedansible.AnsibleCollectionDeprecatedResponseList" } } }, @@ -25426,34 +28651,34 @@ ] }, "post": { - "description": "ViewSet for AnsibleCollectionDeprecated.", + "description": "Trigger an asynchronous task to create content,optionally create new repository version.", "operationId": "content_ansible_collection_deprecations_create", "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ansible.Collection" + "$ref": "#/components/schemas/ansible.AnsibleCollectionDeprecated" } }, "application/x-www-form-urlencoded": { "schema": { - "$ref": "#/components/schemas/ansible.Collection" + "$ref": "#/components/schemas/ansible.AnsibleCollectionDeprecated" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/ansible.Collection" + "$ref": "#/components/schemas/ansible.AnsibleCollectionDeprecated" } } }, "required": true }, "responses": { - "201": { + "202": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ansible.CollectionResponse" + "$ref": "#/components/schemas/AsyncOperationResponse" } } }, @@ -25509,7 +28734,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ansible.CollectionResponse" + "$ref": "#/components/schemas/ansible.AnsibleCollectionDeprecatedResponse" } } }, @@ -58890,6 +62115,7 @@ }, "/api/automation-hub/service-index/metadata/": { "get": { + "description": "A view to define the base properties for the views in\nansible_base.rbac. Set ANSIBLE_BASE_CUSTOM_VIEW_PARENT\nto this class in settings so that the rbac endpoints\nfollow the defined pagination and permission classes.", "operationId": "api_automation_hub_service_index_metadata_get", "responses": { "200": { @@ -59341,60 +62567,6 @@ ] } }, - "/api/automation-hub/service-index/resources/{ansible_id}/additional_data/": { - "get": { - "description": "Index of all the resources in the system.", - "operationId": "api_automation_hub_service_index_resources_additional_data_additional_data", - "parameters": [ - { - "in": "path", - "name": "ansible_id", - "required": true, - "schema": { - "format": "uuid", - "type": "string" - } - }, - { - "description": "A list of fields to include in the response.", - "in": "query", - "name": "fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - { - "description": "A list of fields to exclude from the response.", - "in": "query", - "name": "exclude_fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResourceResponse" - } - } - }, - "description": "" - } - }, - "tags": [ - "Api: Service-Index Resources Additional_Data" - ] - } - }, "/api/automation-hub/service-index/validate-local-account/": { "post": { "description": "Validate a user's username and password.", @@ -59404,6 +62576,9 @@ "description": "No response body" } }, + "security": [ + {} + ], "tags": [ "Api: Service-Index Validate-Local-Account" ] @@ -63024,6 +66199,7 @@ "description": "" } }, + "summary": "List cross repository collection version indexs", "tags": [ "Api: V3 Plugin Ansible Search Collection-Versions" ] @@ -67202,6 +70378,7 @@ "description": "" } }, + "summary": "List cross repository collection version indexs", "tags": [ "Pulp_Ansible: Default Api V3 Plugin Ansible Search Collection-Versions" ] @@ -67442,407 +70619,6 @@ ] } }, - "/pulp_ansible/galaxy/{path}/api/v2/collection-imports/{task}/": { - "get": { - "description": "Returns a CollectionImport object.", - "operationId": "pulp_ansible_galaxy_api_v2_collection_imports_read", - "parameters": [ - { - "in": "path", - "name": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Filter messages since a given timestamp", - "in": "query", - "name": "since", - "schema": { - "type": "string" - } - }, - { - "description": "A unique value identifying this collection import.", - "in": "path", - "name": "task", - "required": true, - "schema": { - "format": "uuid", - "type": "string" - } - }, - { - "description": "A list of fields to include in the response.", - "in": "query", - "name": "fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - { - "description": "A list of fields to exclude from the response.", - "in": "query", - "name": "exclude_fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CollectionImportDetailResponse" - } - } - }, - "description": "" - } - }, - "summary": "Inspect a collection import", - "tags": [ - "Pulp_Ansible: Api V2 Collection-Imports" - ] - } - }, - "/pulp_ansible/galaxy/{path}/api/v2/collections/": { - "get": { - "description": "View for Collection models.", - "operationId": "_pulp_ansible_galaxy_{path}_api_v2_collections_pulp_ansible_galaxy_api_v2_collections_get", - "parameters": [ - { - "description": "A page number within the paginated result set.", - "in": "query", - "name": "page", - "required": false, - "schema": { - "type": "integer" - } - }, - { - "in": "path", - "name": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "A list of fields to include in the response.", - "in": "query", - "name": "fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - { - "description": "A list of fields to exclude from the response.", - "in": "query", - "name": "exclude_fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedGalaxyCollectionResponseList" - } - } - }, - "description": "" - } - }, - "tags": [ - "Pulp_Ansible: Api V2 Collections" - ] - }, - "post": { - "deprecated": true, - "description": "Queues a task that creates a new Collection from an uploaded artifact.", - "operationId": "pulp_ansible_galaxy_api_v2_collections_post", - "parameters": [ - { - "in": "path", - "name": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GalaxyCollection" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/GalaxyCollection" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/GalaxyCollection" - } - } - }, - "required": true - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GalaxyCollectionResponse" - } - } - }, - "description": "" - } - }, - "tags": [ - "Pulp_Ansible: Api V2 Collections" - ] - } - }, - "/pulp_ansible/galaxy/{path}/api/v2/collections/{namespace}/{name}/": { - "get": { - "description": "Get the detail view of a Collection.", - "operationId": "_pulp_ansible_galaxy_{path}_api_v2_collections_{namespace}_{name}_pulp_ansible_galaxy_api_v2_collections_get", - "parameters": [ - { - "in": "path", - "name": "name", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "namespace", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "A list of fields to include in the response.", - "in": "query", - "name": "fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - { - "description": "A list of fields to exclude from the response.", - "in": "query", - "name": "exclude_fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GalaxyCollectionResponse" - } - } - }, - "description": "" - } - }, - "tags": [ - "Pulp_Ansible: Api V2 Collections" - ] - } - }, - "/pulp_ansible/galaxy/{path}/api/v2/collections/{namespace}/{name}/versions/": { - "get": { - "description": "APIView for Collections by namespace/name.", - "operationId": "api_v2_collection_versions_list", - "parameters": [ - { - "in": "path", - "name": "name", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "namespace", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "A page number within the paginated result set.", - "in": "query", - "name": "page", - "required": false, - "schema": { - "type": "integer" - } - }, - { - "in": "path", - "name": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "A list of fields to include in the response.", - "in": "query", - "name": "fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - { - "description": "A list of fields to exclude from the response.", - "in": "query", - "name": "exclude_fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedGalaxyCollectionVersionResponseList" - } - } - }, - "description": "" - } - }, - "tags": [ - "Pulp_Ansible: Api V2 Collections Versions" - ] - } - }, - "/pulp_ansible/galaxy/{path}/api/v2/collections/{namespace}/{name}/versions/{version}/": { - "get": { - "description": "Return a response to the \"GET\" action.", - "operationId": "pulp_ansible_galaxy_api_v2_collections_versions_get", - "parameters": [ - { - "in": "path", - "name": "name", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "namespace", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "version", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "A list of fields to include in the response.", - "in": "query", - "name": "fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - { - "description": "A list of fields to exclude from the response.", - "in": "query", - "name": "exclude_fields", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - } - ], - "responses": { - "200": { - "description": "No response body" - } - }, - "tags": [ - "Pulp_Ansible: Api V2 Collections Versions" - ] - } - }, "/pulp_ansible/galaxy/{path}/api/v3/": { "get": { "deprecated": true, @@ -71693,6 +74469,7 @@ "description": "" } }, + "summary": "List cross repository collection version indexs", "tags": [ "Pulp_Ansible: Api V3 Plugin Ansible Search Collection-Versions" ] diff --git a/packages/common/config/apis/hcc-insights/vulnerability/content.json b/packages/common/config/apis/hcc-insights/vulnerability/content.json index b66795f2..639d7a24 100644 --- a/packages/common/config/apis/hcc-insights/vulnerability/content.json +++ b/packages/common/config/apis/hcc-insights/vulnerability/content.json @@ -3720,7 +3720,7 @@ }, "info": { "title": "Vulnerability Engine Manager", - "version": "2.42.18" + "version": "2.42.24" }, "openapi": "3.0.0", "paths": { diff --git a/packages/common/config/apis/openshift/accounts-management-service/content.json b/packages/common/config/apis/openshift/accounts-management-service/content.json index 574b9ea6..94f5a524 100644 --- a/packages/common/config/apis/openshift/accounts-management-service/content.json +++ b/packages/common/config/apis/openshift/accounts-management-service/content.json @@ -1669,6 +1669,76 @@ } ] }, + "EntitlementCertificate": { + "properties": { + "cert": { + "type": "string" + }, + "id": { + "type": "string" + }, + "key": { + "type": "string" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "organization_id": { + "type": "string" + }, + "serial": { + "$ref": "#/components/schemas/CertificateSerial" + } + }, + "required": [ + "id", + "organization_id", + "metadata", + "key", + "cert", + "serial" + ], + "type": "object" + }, + "EntitlementCertificatesRequest": { + "properties": { + "arch": { + "example": [ + "x86", + "x86_64", + "ppc" + ], + "items": { + "enum": [ + "x86", + "x86_64", + "ppc", + "ppc64", + "ppc64le", + "s390", + "s390x", + "ia64", + "aarch64" + ], + "type": "string" + }, + "type": "array" + }, + "type": { + "enum": [ + "sca" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, "EphemeralResourceQuota": { "properties": { "availability_zone_type": { @@ -7551,6 +7621,95 @@ } ] }, + "/api/accounts_mgmt/v1/entitlement_certificates": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntitlementCertificatesRequest" + } + } + }, + "description": "# The payload depends on the type of the requested certificates\n The examples for supported types:\n* {\"type\": \"sca\", \"arch\": [\"x86\",\"x86_64\",\"ppc\"]}\n", + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/EntitlementCertificate" + }, + "type": "array" + } + } + }, + "description": "The certificates associated with the organization" + }, + "400": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + }, + "description": "Validation errors occurred" + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + }, + "description": "Auth token is invalid" + }, + "403": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + }, + "description": "Unauthorized to perform operation" + }, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + }, + "description": "The certificate is not avaialbe for the organization" + }, + "500": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + }, + "description": "Unexpected error occurred" + } + }, + "security": [ + { + "Bearer": [] + }, + { + "AccessToken": [] + } + ], + "summary": "Fetch all certificates of a particular type based on the architectures" + } + }, "/api/accounts_mgmt/v1/errors": { "get": { "responses": {