From 5a9d26f2a4f48e605051635fc8aa71fbe3edfdca Mon Sep 17 00:00:00 2001 From: tahmidefaz Date: Wed, 10 Apr 2024 15:50:24 +0000 Subject: [PATCH] deploy: 12ea91fca3b359317418d4e2cc7db0bd8bc0817d --- asset-manifest.json | 8 ++++---- index.html | 2 +- static/js/8171.24e21fa3.chunk.js | 1 - static/js/8171.64234381.chunk.js | 1 + static/js/{main.ae675689.js => main.b6b91212.js} | 6 +++--- ...675689.js.LICENSE.txt => main.b6b91212.js.LICENSE.txt} | 0 static/js/{main.ae675689.js.map => main.b6b91212.js.map} | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 static/js/8171.24e21fa3.chunk.js create mode 100644 static/js/8171.64234381.chunk.js rename static/js/{main.ae675689.js => main.b6b91212.js} (99%) rename static/js/{main.ae675689.js.LICENSE.txt => main.b6b91212.js.LICENSE.txt} (100%) rename static/js/{main.ae675689.js.map => main.b6b91212.js.map} (99%) diff --git a/asset-manifest.json b/asset-manifest.json index 643f0c70..bd0e9b76 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "/api-documentation-frontend/static/css/main.a0e45d1e.css", - "main.js": "/api-documentation-frontend/static/js/main.ae675689.js", + "main.js": "/api-documentation-frontend/static/js/main.b6b91212.js", "static/js/5322.37959faf.chunk.js": "/api-documentation-frontend/static/js/5322.37959faf.chunk.js", "static/js/9511.0184e6df.chunk.js": "/api-documentation-frontend/static/js/9511.0184e6df.chunk.js", "static/js/1087.242821e0.chunk.js": "/api-documentation-frontend/static/js/1087.242821e0.chunk.js", @@ -33,7 +33,7 @@ "static/js/6865.b8f01b6c.chunk.js": "/api-documentation-frontend/static/js/6865.b8f01b6c.chunk.js", "static/js/7832.0344219f.chunk.js": "/api-documentation-frontend/static/js/7832.0344219f.chunk.js", "static/js/5781.53164198.chunk.js": "/api-documentation-frontend/static/js/5781.53164198.chunk.js", - "static/js/8171.24e21fa3.chunk.js": "/api-documentation-frontend/static/js/8171.24e21fa3.chunk.js", + "static/js/8171.64234381.chunk.js": "/api-documentation-frontend/static/js/8171.64234381.chunk.js", "static/js/4982.fc641823.chunk.js": "/api-documentation-frontend/static/js/4982.fc641823.chunk.js", "static/js/750.7e565c9f.chunk.js": "/api-documentation-frontend/static/js/750.7e565c9f.chunk.js", "static/js/4369.7b71b2d8.chunk.js": "/api-documentation-frontend/static/js/4369.7b71b2d8.chunk.js", @@ -132,7 +132,7 @@ "static/media/status-icon-sprite.svg": "/api-documentation-frontend/static/media/status-icon-sprite.4fee9fefc3971799d2dd.svg", "index.html": "/api-documentation-frontend/index.html", "main.a0e45d1e.css.map": "/api-documentation-frontend/static/css/main.a0e45d1e.css.map", - "main.ae675689.js.map": "/api-documentation-frontend/static/js/main.ae675689.js.map", + "main.b6b91212.js.map": "/api-documentation-frontend/static/js/main.b6b91212.js.map", "7299.8c76628a.chunk.js.map": "/api-documentation-frontend/static/js/7299.8c76628a.chunk.js.map", "5328.f35f9abe.chunk.js.map": "/api-documentation-frontend/static/js/5328.f35f9abe.chunk.js.map", "7615.c56e9218.chunk.js.map": "/api-documentation-frontend/static/js/7615.c56e9218.chunk.js.map", @@ -145,6 +145,6 @@ }, "entrypoints": [ "static/css/main.a0e45d1e.css", - "static/js/main.ae675689.js" + "static/js/main.b6b91212.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index cfe9dd5a..42075b20 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -API Catalog
\ No newline at end of file +API Catalog
\ No newline at end of file diff --git a/static/js/8171.24e21fa3.chunk.js b/static/js/8171.24e21fa3.chunk.js deleted file mode 100644 index ee7f35be..00000000 --- a/static/js/8171.24e21fa3.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapidocs=self.webpackChunkapidocs||[]).push([[8171],{18171:function(e){e.exports=JSON.parse('{"extras":{},"openapi":{"components":{"parameters":{"accountId":{"description":"The id of account","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},"acctGrpAsgnId":{"description":"The id of account group assignment","in":"path","name":"acctGrpAsgnId","required":true,"schema":{"type":"string"}},"acctGrpId":{"description":"The id of account group","in":"path","name":"acctGrpId","required":true,"schema":{"type":"string"}},"caseId":{"description":"The id of a support case","in":"path","name":"caseId","required":true,"schema":{"type":"string"}},"deleteAssociatedResources":{"description":"If true, deletes the associated resources (e.g. role bindings) for an account along with the account itself","in":"query","name":"deleteAssociatedResources","required":false,"schema":{"type":"boolean"}},"dryRun":{"description":"If true, instructs API to avoid making any changes, but rather run through validations only.","in":"query","name":"dryRun","required":false,"schema":{"type":"boolean"}},"excludeSubscriptionStatuses":{"description":"A comma-separated list of subscription statuses. Subscriptions with these statuses will be excluded from results. This options is mutually exclusive with includeSubscriptionStatuses.","in":"query","name":"excludeSubscriptionStatuses","required":false,"schema":{"type":"string"}},"externalResourceId":{"description":"The external resource id of record","in":"path","name":"externalResourceId","required":true,"schema":{"type":"string"}},"fetchAccounts":{"description":"If true, includes the account reference information in the output. Could slow request response time.","in":"query","name":"fetchAccounts","required":false,"schema":{"type":"boolean"}},"fetchCapabilities":{"description":"If true, includes the capabilities on a subscription in the output. Could slow request response time.","in":"query","name":"fetchCapabilities","required":false,"schema":{"type":"boolean"}},"fetchCloudAccounts":{"description":"If true, includes the marketplace cloud accounts in the output. Could slow request response time.","in":"query","name":"fetchCloudAccounts","required":false,"schema":{"type":"boolean"}},"fetchCpuAndSocket":{"description":"If true, fetches, from the clusters service, the total numbers of CPU\'s and sockets under an obligation, and includes in the output. Could slow request response time.","in":"query","name":"fetchCpuAndSocket","required":false,"schema":{"type":"boolean"}},"fetchLabels":{"description":"If true, includes the labels on a subscription/organization/account in the output. Could slow request response time.","in":"query","name":"fetchLabels","required":false,"schema":{"type":"boolean"}},"fetchRelatedResources":{"description":"If true, includes the related resources in the output. Could slow request response time.","in":"query","name":"fetchRelatedResources","required":false,"schema":{"type":"boolean"}},"fetchRhit":{"description":"If true, includes the RHIT account_id in the output. Could slow request response time.","in":"query","name":"fetchRhit","required":false,"schema":{"type":"boolean"}},"fields":{"description":"Supplies a comma-separated list of fields to be returned.\\nFields of sub-structures and of arrays use . notation.\\n.* means all field of a structure\\nExample: For each Subscription to get id, href, plan(id and kind) and labels (all fields)\\n\\n```\\nocm get subscriptions --parameter fields=id,href,plan.id,plan.kind,labels.* --parameter fetchLabels=true\\n```","in":"query","name":"fields","required":false,"schema":{"type":"string"}},"forceRecalc":{"description":"If true, includes that ConsumedQuota should be recalculated.","in":"query","name":"forceRecalc","required":false,"schema":{"type":"boolean"}},"id":{"description":"The id of record","in":"path","name":"id","required":true,"schema":{"type":"string"}},"includeSubscriptionStatuses":{"description":"A comma-separated list of subscription statuses. Only subscriptions with these statuses will be included into results. This options is mutually exclusive with excludeSubscriptionStatuses.","in":"query","name":"includeSubscriptionStatuses","required":false,"schema":{"type":"string"}},"key":{"description":"The key of the label","in":"path","name":"key","required":true,"schema":{"type":"string"}},"labels":{"description":"Specifies the criteria to filter the subscription resource based on their labels.\\nA label is represented as a `key=value` pair,\\n\\n```\\nlabels = \\"foo=bar\\"\\n```\\n\\nand multiple labels are separated by comma,\\n\\n```\\nlabels = \\"foo=bar,fooz=barz\\"\\n```","in":"query","name":"labels","required":false,"schema":{"type":"string"}},"metricName":{"description":"The name of the metric","in":"path","name":"metric_name","required":true,"schema":{"type":"string"}},"metricSearch":{"description":"The `search` paramter specifies the PromQL selector. The syntax is defined by Prometheus at\\nhttps://prometheus.io/docs/prometheus/latest/querying/basics/#time-series-selectors.\\nIt only supports simple selections as shown in https://prometheus.io/docs/prometheus/latest/querying/examples/#simple-time-series-selection.\\nFor example, in order to retrieve subscription_sync_total with names starting with `managed` and with a channel = `production`:\\n\\n```\\nname=~\'managed.*\',channel=\'production\'\\n```\\n\\nIf the parameter isn\'t provided, or if the value is empty, then all the records will be returned.","in":"query","name":"search","required":false,"schema":{"type":"string"}},"name":{"description":"The name of the default capability","in":"path","name":"name","required":true,"schema":{"type":"string"}},"orderBy":{"description":"Specifies the order by criteria. The syntax of this parameter is\\nsimilar to the syntax of the _order by_ clause of an SQL statement,\\nbut using the names of the json attributes / column of the account.\\nFor example, in order to retrieve all accounts ordered by username:\\n\\n```sql\\nusername asc\\n```\\n\\nOr in order to retrieve all accounts ordered by username _and_ first name:\\n\\n```sql\\nusername asc, firstName asc\\n```\\n\\nIf the parameter isn\'t provided, or if the value is empty, then\\nno explicit ordering will be applied.","in":"query","name":"orderBy","required":false,"schema":{"type":"string"}},"orgId":{"description":"The id of organization","in":"path","name":"orgId","required":true,"schema":{"type":"string"}},"page":{"description":"Page number of record list when record list exceeds specified page size","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},"product":{"description":"The product for self_entitlement. The supported products are [rosa].","in":"path","name":"product","required":true,"schema":{"type":"string"}},"quotaId":{"description":"The id of quota","in":"path","name":"quotaId","required":true,"schema":{"type":"string"}},"reduceClusterList":{"description":"If true, When returning a list of cluster_ids/cluster_uuids/subscription_ids, if those are already included in one of the organizations provided in organization_ids, do not include it in the list.","in":"query","name":"reduceClusterList","required":false,"schema":{"type":"boolean"}},"reservedResourceId":{"description":"The id of reserved resource","in":"path","name":"reservedResourceId","required":true,"schema":{"type":"string"}},"rotationId":{"description":"The id of the pull secret rotation","in":"path","name":"rotationId","required":true,"schema":{"type":"string"}},"search":{"description":"Specifies the search criteria. The syntax of this parameter is\\nsimilar to the syntax of the _where_ clause of an SQL statement,\\nusing the names of the json attributes / column names of the account.\\nFor example, in order to retrieve all the accounts with a username starting with `my`:\\n\\n```sql\\nusername like \'my%\'\\n```\\n\\n> **Important Note**:\\nAccount Management Service uses **KSUID** as an **ID** field.\\nKSUID contains a timestamp component that allows them to be sorted by generation time.\\nAs this field uses an index, please use it to sort by instead of `created_at` field.\\n\\nThe search criteria can also be applied on related resource.\\nFor example, in order to retrieve all the subscriptions labeled by `foo=bar`,\\n\\n```sql\\nlabels.key = \'foo\' and labels.value = \'bar\'\\n```\\n\\nIf the parameter isn\'t provided, or if the value is empty, then\\nall the accounts that the user has permission to see will be\\nreturned.","in":"query","name":"search","required":false,"schema":{"type":"string"}},"size":{"description":"Maximum number of records to return","in":"query","name":"size","required":false,"schema":{"default":100,"minimum":0,"type":"integer"}},"subId":{"description":"The id of subscription","in":"path","name":"subId","required":true,"schema":{"type":"string"}}},"schemas":{"AccessReview":{"properties":{"account_username":{"type":"string"},"action":{"enum":["get","list","create","delete","update"],"type":"string"},"cluster_id":{"type":"string"},"cluster_uuid":{"type":"string"},"organization_id":{"type":"string"},"resource_type":{"enum":["AddOn","Flavour","Account","AccountPool","Cluster","Plan","Subscription","Organization","Role","Permission","RoleBinding","Registry","RegistryCredential","CurrentAccount","AccessReview","SelfAcccessReview","ResourceReview","SelfResourceReview","ClusterRegistration","AccessToken","ClusterAuthorization","SelfManagedCluster","RedhatManagedCluster","ExportControlReview","ClusterLog","ClusterCredential","ClusterMetric","ResourceQuota","ReservedResource","Dashboard","ClusterProviderAndRegion","ServiceLog","InternalServiceLog","CSLogs","SubscriptionLabel","OrganizationLabel","SubscriptionLabelInternal","SelfAccessReview","SubscriptionInternal","SubscriptionRoleBinding","ClusterSelfManaged","ClusterSelfManagedAddon","ClusterSelfManagedLabel","ClusterSelfManagedStatus"],"type":"string"},"subscription_id":{"type":"string"}},"required":["action","resource_type","account_username"],"type":"object"},"AccessReviewResponse":{"properties":{"account_id":{"type":"string"},"action":{"enum":["get","list","create","delete","update"],"type":"string"},"allowed":{"type":"boolean"},"cluster_id":{"type":"string"},"cluster_uuid":{"type":"string"},"is_ocm_internal":{"type":"boolean"},"organization_id":{"type":"string"},"reason":{"type":"string"},"resource_type":{"enum":["AddOn","Flavour","Account","AccountPool","Cluster","Plan","Subscription","Organization","Role","Permission","RoleBinding","Registry","RegistryCredential","CurrentAccount","AccessReview","SelfAcccessReview","ResourceReview","SelfResourceReview","ClusterRegistration","AccessToken","ClusterAuthorization","SelfManagedCluster","RedhatManagedCluster","ExportControlReview","ClusterLog","ClusterCredential","ClusterMetric","ResourceQuota","ReservedResource","Dashboard","ClusterProviderAndRegion","ServiceLog","InternalServiceLog","CSLogs","SubscriptionLabel","OrganizationLabel","SubscriptionLabelInternal","SelfAccessReview","SubscriptionInternal","SubscriptionRoleBinding","ClusterSelfManaged","ClusterSelfManagedAddon","ClusterSelfManagedLabel","ClusterSelfManagedStatus"],"type":"string"},"subscription_id":{"type":"string"}},"required":["allowed"],"type":"object"},"AccessTokenCfg":{"properties":{"auths":{"additionalProperties":true,"type":"object"}},"required":["auths"],"type":"object"},"Account":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"ban_code":{"type":"string"},"ban_description":{"type":"string"},"banned":{"default":false,"type":"boolean"},"capabilities":{"items":{"$ref":"#/components/schemas/Capability"},"type":"array"},"created_at":{"format":"date-time","type":"string"},"email":{"format":"email","type":"string"},"first_name":{"type":"string"},"labels":{"items":{"$ref":"#/components/schemas/Label"},"type":"array"},"last_name":{"type":"string"},"organization":{"$ref":"#/components/schemas/Organization"},"organization_id":{"type":"string"},"rhit_account_id":{"type":"string"},"rhit_web_user_id":{"type":"string"},"service_account":{"default":false,"type":"boolean"},"updated_at":{"format":"date-time","type":"string"},"username":{"type":"string"}},"required":["username"],"type":"object"}]},"AccountGroup":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"created_at":{"format":"date-time","type":"string"},"description":{"type":"string"},"external_id":{"type":"string"},"managed_by":{"enum":["SSO","OCM","RBAC"],"type":"string"},"name":{"type":"string"},"organization_id":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"required":["name","description","organization_id","managed_by"],"type":"object"}]},"AccountGroupAssignment":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"account_group_id":{"type":"string"},"account_id":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"managed_by":{"enum":["OCM","RBAC"],"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"required":["account_id","account_group_id","managed_by"],"type":"object"}]},"AccountGroupAssignmentList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/AccountGroupAssignment"},"type":"array"}},"type":"object"}]},"AccountGroupList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/AccountGroup"},"type":"array"}},"type":"object"}]},"AccountGroupRequest":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"description":{"type":"string"},"name":{"type":"string"}},"required":["name","description"],"type":"object"}]},"AccountList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Account"},"type":"array"}},"type":"object"}]},"AccountPatchRequest":{"properties":{"ban_code":{"type":"string"},"ban_description":{"type":"string"},"banned":{"type":"boolean"},"email":{"format":"email","type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"organization_id":{"type":"string"},"service_account":{"type":"boolean"}},"type":"object"},"AccountReference":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"email":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"name":{"type":"string"},"username":{"type":"string"}},"type":"object"}]},"BillingModel":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"billing_model_type":{"enum":["standard","marketplace","marketplace-aws","marketplace-azure","marketplace-rhm","marketplace-gcp"],"type":"string"},"description":{"type":"string"},"display_name":{"type":"string"},"id":{"type":"string"},"marketplace":{"type":"string"}},"required":["id","billing_model_type","display_name","description"],"type":"object"}]},"BillingModelList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/BillingModel"},"type":"array"}},"type":"object"}]},"Capability":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"inherited":{"type":"boolean"},"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value","inherited"],"type":"object"}]},"CapabilityList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Capability"},"type":"array"}},"type":"object"}]},"CapabilityReview":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object"},"CapabilityReviewRequest":{"properties":{"account_username":{"type":"string"},"capability":{"enum":["manage_cluster_admin"],"type":"string"},"cluster_id":{"type":"string"},"organization_id":{"type":"string"},"subscription_id":{"type":"string"},"type":{"enum":["Cluster"],"type":"string"}},"required":["account_username","type","capability"],"type":"object"},"Certificate":{"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"},"CertificateSerial":{"properties":{"created":{"format":"date-time","type":"string"},"expiration":{"format":"date-time","type":"string"},"id":{"format":"int64","type":"integer"},"serial":{"format":"int64","type":"integer"},"updated":{"format":"date-time","type":"string"}},"required":["id","serial","created","updated","expiration"],"type":"object"},"CertificatesRequest":{"properties":{"arch":{"enum":["x86","x86_64","ppc","ppc64","ppc64le","s390","s390x","ia64","aarch64"],"type":"string"},"type":{"enum":["sca"],"type":"string"}},"required":["type"],"type":"object"},"CloudAccount":{"properties":{"cloud_account_id":{"type":"string"},"cloud_provider_id":{"type":"string"},"contracts":{"items":{"$ref":"#/components/schemas/Contract"},"type":"array"}},"type":"object"},"CloudResource":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"active":{"default":true,"type":"boolean"},"category":{"type":"string"},"category_pretty":{"type":"string"},"ccs_only":{"type":"boolean"},"cloud_provider":{"type":"string"},"cpu_cores":{"type":"integer"},"created_at":{"format":"date-time","type":"string"},"generic_name":{"type":"string"},"memory":{"format":"int64","type":"integer"},"memory_pretty":{"type":"string"},"name_pretty":{"type":"string"},"resource_type":{"enum":["addon","compute.node","cluster","network.io","network.loadbalancer","pv.storage"],"type":"string"},"size_pretty":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"CloudResourceList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/CloudResource"},"type":"array"}},"type":"object"}]},"ClusterAuthorizationRequest":{"properties":{"account_username":{"type":"string"},"availability_zone":{"type":"string"},"byoc":{"type":"boolean"},"cloud_account_id":{"type":"string"},"cloud_provider_id":{"type":"string"},"cluster_id":{"type":"string"},"disconnected":{"type":"boolean"},"display_name":{"type":"string"},"external_cluster_id":{"type":"string"},"managed":{"type":"boolean"},"product_category":{"enum":["assistedInstall","HostedControlPlane"],"type":"string"},"product_id":{"default":"OSD","enum":["OCP","OSD","OSDTrial","MOA","RHMI","RHOSAK","RHOSAKTrial","RHOSR","RHOSRTrial","RHOSE","RHOSETrial","RHACS","RHACSTrial","ARO","RHOIC"],"type":"string"},"quota_version":{"type":"string"},"reserve":{"type":"boolean"},"resources":{"items":{"$ref":"#/components/schemas/ReservedResource"},"type":"array"},"scope":{"type":"string"},"xcm_id":{"type":"string"}},"required":["cluster_id","account_username"],"type":"object"},"ClusterAuthorizationResponse":{"properties":{"allowed":{"type":"boolean"},"excess_resources":{"items":{"$ref":"#/components/schemas/ExcessResource"},"type":"array"},"organization_id":{"type":"string"},"subscription":{"$ref":"#/components/schemas/ObjectReference"}},"required":["allowed","excess_resources"],"type":"object"},"ClusterMetricsNodes":{"properties":{"arch":{"type":"string"},"compute":{"format":"double","type":"number"},"infra":{"format":"double","type":"number"},"master":{"format":"double","type":"number"},"total":{"format":"double","type":"number"}},"type":"object"},"ClusterRegistrationRequest":{"properties":{"authorization_token":{"type":"string"},"cluster_id":{"type":"string"}},"type":"object"},"ClusterRegistrationResponse":{"properties":{"account_id":{"type":"string"},"authorization_token":{"type":"string"},"cluster_id":{"type":"string"},"expires_at":{"description":"Cluster Registration expiration in Unix time","type":"string"}},"type":"object"},"ClusterResource":{"properties":{"total":{"properties":{"unit":{"type":"string"},"value":{"format":"double","type":"number"}},"required":["value","unit"],"type":"object"},"updated_timestamp":{"format":"date-time","type":"string"},"used":{"properties":{"unit":{"type":"string"},"value":{"format":"double","type":"number"}},"required":["value","unit"],"type":"object"}},"required":["used","total","updated_timestamp"],"type":"object"},"ClusterTransfer":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"cluster_uuid":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"expiration_date":{"format":"date-time","type":"string"},"owner":{"type":"string"},"pull_secret_rotation_id":{"type":"string"},"recipient":{"type":"string"},"secret":{"type":"string"},"status":{"enum":["Pending","Accepted","Declined","Rescinded","Completed"],"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"ClusterTransferList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/ClusterTransfer"},"type":"array"}},"type":"object"}]},"ClusterTransferPatchRequest":{"properties":{"status":{"type":"string"}},"type":"object"},"ClusterTransferRequest":{"properties":{"cluster_uuid":{"type":"string"},"owner":{"type":"string"},"recipient":{"type":"string"}},"type":"object"},"ClusterUpgrade":{"properties":{"available":{"type":"boolean"},"state":{"type":"string"},"updated_timestamp":{"format":"date-time","type":"string"},"version":{"type":"string"}},"type":"object"},"ConsumedQuota":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"availability_zone_type":{"type":"string"},"billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-rhm","marketplace-azure","marketplace-gcp"],"type":"string"},"byoc":{"type":"boolean"},"cloud_provider_id":{"type":"string"},"count":{"type":"integer"},"organization_id":{"type":"string"},"plan_id":{"type":"string"},"resource_name":{"type":"string"},"resource_type":{"type":"string"},"version":{"type":"string"}},"required":["byoc","count"],"type":"object"}]},"ConsumedQuotaList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/ConsumedQuota"},"type":"array"}},"type":"object"}]},"Contract":{"properties":{"dimensions":{"items":{"$ref":"#/components/schemas/ContractDimension"},"type":"array"},"end_date":{"format":"date-time","type":"string"},"start_date":{"format":"date-time","type":"string"}},"type":"object"},"ContractDimension":{"properties":{"name":{"type":"string"},"value":{"type":"string"}},"type":"object"},"DefaultCapability":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"type":"object"}]},"DefaultCapabilityList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/DefaultCapability"},"type":"array"}},"type":"object"}]},"DeletedSubscription":{"allOf":[{"$ref":"#/components/schemas/SubscriptionCommonFields"},{"properties":{"created_at":{"format":"date-time","type":"string"},"id":{"type":"string"},"metrics":{"type":"string"},"original_id":{"type":"string"},"query_timestamp":{"format":"date-time","type":"string"}},"type":"object"}]},"DeletedSubscriptionList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/DeletedSubscription"},"type":"array"}},"type":"object"}]},"EphemeralResourceQuota":{"properties":{"availability_zone_type":{"type":"string"},"byoc":{"type":"boolean"},"resource_name":{"type":"string"},"resource_type":{"type":"string"},"sku":{"type":"string"},"sku_count":{"type":"integer"}},"type":"object"},"Error":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"code":{"type":"string"},"operation_id":{"type":"string"},"reason":{"type":"string"}},"type":"object"}]},"ErrorList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Error"},"type":"array"}},"type":"object"}]},"ExcessResource":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"availability_zone_type":{"type":"string"},"billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-rhm","marketplace-azure","marketplace-gcp"],"type":"string"},"byoc":{"type":"boolean"},"count":{"type":"integer"},"resource_name":{"type":"string"},"resource_type":{"type":"string"}},"required":["byoc"],"type":"object"}]},"ExportControlReview":{"properties":{"restricted":{"type":"boolean"}},"required":["restricted"],"type":"object"},"ExportControlReviewRequest":{"properties":{"account_username":{"type":"string"},"ignore_cache":{"type":"boolean"}},"required":["account_username"],"type":"object"},"FeatureReview":{"properties":{"account_username":{"type":"string"},"feature":{"type":"string"},"organization_id":{"type":"string"}},"required":["feature"],"type":"object"},"FeatureReviewResponse":{"properties":{"enabled":{"default":false,"type":"boolean"},"feature_id":{"type":"string"}},"required":["enabled","feature_id"],"type":"object"},"FeatureToggle":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"enabled":{"default":false,"type":"boolean"}},"required":["enabled"],"type":"object"}]},"FeatureToggleQueryRequest":{"allOf":[{"properties":{"organization_id":{"type":"string"}},"required":["organization_id"],"type":"object"}]},"Label":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"account_id":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"internal":{"type":"boolean"},"key":{"type":"string"},"managed_by":{"enum":["Config","User"],"type":"string"},"organization_id":{"type":"string"},"subscription_id":{"type":"string"},"type":{"type":"string"},"updated_at":{"format":"date-time","type":"string"},"value":{"type":"string"}},"required":["key","value","internal"],"type":"object"}]},"LabelList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Label"},"type":"array"}},"type":"object"}]},"LandingPageCTLItem":{"properties":{"shape":{"properties":{"description":{"type":"string"},"link":{"$ref":"#/components/schemas/LandingPageLinkShape"},"title":{"type":"string"}},"type":"object"}},"type":"object"},"LandingPageEstateItem":{"properties":{"count":{"format":"int64","type":"integer"},"id":{"type":"string"},"shape":{"$ref":"#/components/schemas/LandingPageLinkShape"}},"type":"object"},"LandingPageLinkShape":{"properties":{"href":{"type":"string"},"title":{"type":"string"}},"type":"object"},"List":{"properties":{"kind":{"type":"string"},"page":{"type":"integer"},"size":{"type":"integer"},"total":{"type":"integer"}},"required":["kind","page","size","total","items"],"type":"object"},"Metric":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"external_id":{"type":"string"},"health_state":{"type":"string"},"id":{"type":"string"},"metrics":{"type":"string"},"query_timestamp":{"format":"date-time","type":"string"}},"type":"object"}]},"MetricsList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Metric"},"type":"array"}},"type":"object"}]},"NotificationContactCreateRequest":{"properties":{"account_identifier":{"type":"string"}},"type":"object"},"NotifyDetailsRequest":{"properties":{"bcc_address":{"type":"string"},"cluster_id":{"type":"string"},"cluster_uuid":{"type":"string"},"include_red_hat_associates":{"type":"boolean"},"internal_only":{"description":"The `internal_only` parameter is used for validation. Specifically to check if there is a discrepancy between the email address and the log type.","type":"boolean"},"org_id":{"type":"string"},"subject":{"type":"string"},"subscription_id":{"type":"string"}},"type":"object"},"NotifyDetailsResponse":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"key":{"type":"string"},"value":{"type":"string"}},"required":["key","value"],"type":"object"}]},"NotifyDetailsResponseList":{"properties":{"associates":{"items":{"type":"string"},"type":"array"},"items":{"items":{"$ref":"#/components/schemas/NotifyDetailsResponse"},"type":"array"},"recipients":{"items":{"type":"string"},"type":"array"}},"type":"object"},"ObjectReference":{"properties":{"href":{"type":"string"},"id":{"type":"string"},"kind":{"type":"string"}},"type":"object"},"OneMetric":{"properties":{"arch":{"type":"string"},"channel_info":{"type":"string"},"cloud_provider":{"type":"string"},"cluster_type":{"type":"string"},"compute_nodes_cpu":{"$ref":"#/components/schemas/ClusterResource"},"compute_nodes_memory":{"$ref":"#/components/schemas/ClusterResource"},"compute_nodes_sockets":{"$ref":"#/components/schemas/ClusterResource"},"console_url":{"type":"string"},"cpu":{"$ref":"#/components/schemas/ClusterResource"},"critical_alerts_firing":{"format":"double","type":"number"},"health_state":{"enum":["healthy","unhealthy","unknown"],"type":"string"},"memory":{"$ref":"#/components/schemas/ClusterResource"},"nodes":{"$ref":"#/components/schemas/ClusterMetricsNodes"},"nodes_arch":{"items":{"$ref":"#/components/schemas/ClusterMetricsNodes"},"type":"array"},"non_virt_nodes":{"format":"double","type":"number"},"openshift_version":{"type":"string"},"operating_system":{"type":"string"},"operators_condition_failing":{"format":"double","type":"number"},"query_timestamp":{"format":"date-time","type":"string"},"region":{"type":"string"},"sockets":{"$ref":"#/components/schemas/ClusterResource"},"state":{"type":"string"},"state_description":{"type":"string"},"storage":{"$ref":"#/components/schemas/ClusterResource"},"subscription_cpu_total":{"format":"double","type":"number"},"subscription_obligation_exists":{"format":"double","type":"number"},"subscription_socket_total":{"format":"double","type":"number"},"upgrade":{"$ref":"#/components/schemas/ClusterUpgrade"}},"required":["HealthState","memory","cpu","sockets","compute_nodes_memory","compute_nodes_cpu","compute_nodes_sockets","storage","nodes","operating_system","upgrade","state","state_description","openshift_version","cloud_provider","region","console_url","critical_alerts_firing","operators_condition_failing","subscription_cpu_total","subscription_socket_total","subscription_obligation_exists","cluster_type","non_virt_nodes"],"type":"object"},"Organization":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"capabilities":{"items":{"$ref":"#/components/schemas/Capability"},"type":"array"},"created_at":{"format":"date-time","type":"string"},"ebs_account_id":{"type":"string"},"external_id":{"type":"string"},"labels":{"items":{"$ref":"#/components/schemas/Label"},"type":"array"},"name":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"OrganizationList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Organization"},"type":"array"}},"type":"object"}]},"OrganizationPatchRequest":{"properties":{"ebs_account_id":{"type":"string"},"external_id":{"type":"string"},"name":{"type":"string"}},"type":"object"},"Permission":{"allOf":[{"properties":{"action":{"enum":["get","list","create","delete","update"],"type":"string"},"resource":{"type":"string"}},"type":"object"}]},"PermissionList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Permission"},"type":"array"}},"type":"object"}]},"Plan":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"category":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}},"type":"object"}]},"PlanList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Plan"},"type":"array"}},"type":"object"}]},"PullSecretRequest":{"properties":{"external_resource_id":{"type":"string"}},"required":["external_resource_id"],"type":"object"},"PullSecretRotation":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"account_id":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"status":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"PullSecretRotationList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/PullSecretRotation"},"type":"array"}},"type":"object"}]},"PullSecretRotationRequest":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"type":"object"}]},"Quota":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"created_at":{"format":"date-time","type":"string"},"description":{"type":"string"},"resource_type":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"QuotaAuthorizationRequest":{"properties":{"account_username":{"type":"string"},"availability_zone":{"type":"string"},"cloud_provider_id":{"type":"string"},"display_name":{"type":"string"},"product_id":{"type":"string"},"quota_version":{"type":"string"},"reserve":{"type":"boolean"},"resource_id":{"type":"string"},"resources":{"items":{"$ref":"#/components/schemas/ReservedResource"},"type":"array"},"subscription_id":{"type":"string"}},"required":["account_username","resources"],"type":"object"},"QuotaAuthorizationResponse":{"properties":{"allowed":{"type":"boolean"},"excess_resources":{"items":{"$ref":"#/components/schemas/ExcessResource"},"type":"array"},"organization_id":{"type":"string"},"subscription":{"$ref":"#/components/schemas/ObjectReference"}},"required":["allowed","excess_resources"],"type":"object"},"QuotaCost":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"allowed":{"type":"integer"},"cloud_accounts":{"items":{"$ref":"#/components/schemas/CloudAccount"},"type":"array"},"consumed":{"type":"integer"},"organization_id":{"type":"string"},"quota_id":{"type":"string"},"related_resources":{"items":{"$ref":"#/components/schemas/RelatedResource"},"type":"array"},"version":{"type":"string"}},"required":["quota_id","consumed","allowed"],"type":"object"}]},"QuotaCostList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/QuotaCost"},"type":"array"}},"type":"object"}]},"QuotaList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Quota"},"type":"array"}},"type":"object"}]},"QuotaRules":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"availability_zone":{"type":"string"},"billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-rhm","marketplace-azure","marketplace-gcp"],"type":"string"},"byoc":{"type":"string"},"cloud":{"type":"string"},"cost":{"type":"integer"},"name":{"type":"string"},"product":{"type":"string"},"quota_id":{"type":"string"},"type":{"type":"string"}},"required":["cost"],"type":"object"}]},"QuotaRulesList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/QuotaRules"},"type":"array"}},"type":"object"}]},"Registry":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"cloudAlias":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"name":{"type":"string"},"org_name":{"type":"string"},"team_name":{"type":"string"},"type":{"type":"string"},"updated_at":{"format":"date-time","type":"string"},"url":{"type":"string"}},"type":"object"}]},"RegistryAddress":{"additionalProperties":{"properties":{"auth":{"type":"string"},"email":{"format":"email","type":"string"}},"type":"object"},"type":"object"},"RegistryCreateRequest":{"allOf":[{"$ref":"#/components/schemas/RegistryRequest"},{"required":["name","url","type"]}],"type":"object"},"RegistryCredential":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"account":{"$ref":"#/components/schemas/ObjectReference"},"created_at":{"format":"date-time","type":"string"},"external_resource_id":{"type":"string"},"registry":{"$ref":"#/components/schemas/ObjectReference"},"token":{"type":"string"},"updated_at":{"format":"date-time","type":"string"},"username":{"type":"string"}},"type":"object"}]},"RegistryCredentialList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/RegistryCredential"},"type":"array"}},"type":"object"}]},"RegistryCredentialPatchRequest":{"properties":{"account_id":{"type":"string"},"external_resource_id":{"type":"string"},"registry_id":{"type":"string"},"token":{"type":"string"},"username":{"type":"string"}},"type":"object"},"RegistryList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Registry"},"type":"array"}},"type":"object"}]},"RegistryRequest":{"properties":{"cloudAlias":{"type":"boolean"},"name":{"type":"string"},"org_name":{"type":"string"},"team_name":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"}},"type":"object"},"RelatedResource":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"availability_zone_type":{"type":"string"},"billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-rhm","marketplace-azure","marketplace-gcp"],"type":"string"},"byoc":{"type":"string"},"cloud_provider":{"type":"string"},"cost":{"type":"integer"},"product":{"type":"string"},"product_id":{"type":"string"},"resource_name":{"type":"string"},"resource_type":{"type":"string"}},"required":["resource_type","resource_anme","byoc","availability_zone_type","cloud_provider","product","billing_model","cost"],"type":"object"}]},"ReservedResource":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"availability_zone_type":{"type":"string"},"billing_marketplace_account":{"type":"string"},"billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-rhm","marketplace-azure","marketplace-gcp"],"type":"string"},"byoc":{"type":"boolean"},"cluster":{"type":"boolean"},"count":{"type":"integer"},"created_at":{"format":"date-time","type":"string"},"resource_name":{"type":"string"},"resource_type":{"enum":["compute.node.aws","pv.storage.aws","cluster.aws","network.io.aws","network.loadbalancer.aws","compute.node.gcp","pv.storage.gcp","cluster.gcp","network.io.gcp","network-gcp.loadbalancer.gcp","addon","compute.node","pv.storage","cluster","network.io","network.loadbalancer"],"type":"string"},"scope":{"type":"string"},"subscription":{"$ref":"#/components/schemas/ObjectReference"},"updated_at":{"format":"date-time","type":"string"}},"required":["byoc"],"type":"object"}]},"ReservedResourceList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/ReservedResource"},"type":"array"}},"type":"object"}]},"ReservedResourcePatchRequest":{"properties":{"billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-rhm","marketplace-azure","marketplace-gcp"],"type":"string"}},"type":"object"},"ResourceQuota":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"created_at":{"format":"date-time","type":"string"},"organization_id":{"type":"string"},"sku":{"type":"string"},"sku_count":{"type":"integer"},"type":{"enum":["Config","Manual","Subscription"],"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"required":["sku_count"],"type":"object"}]},"ResourceQuotaList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/ResourceQuota"},"type":"array"}},"type":"object"}]},"ResourceQuotaRequest":{"properties":{"sku":{"type":"string"},"sku_count":{"type":"integer"},"type":{"enum":["Config","Manual","Subscription"],"type":"string"}},"required":["sku","sku_count","count"],"type":"object"},"ResourceReview":{"properties":{"account_username":{"type":"string"},"action":{"enum":["get","list","create","delete","update"],"type":"string"},"cluster_ids":{"items":{"type":"string"},"type":"array"},"cluster_uuids":{"items":{"type":"string"},"type":"array"},"organization_ids":{"items":{"type":"string"},"type":"array"},"resource_type":{"enum":["Cluster","Subscription"],"type":"string"},"subscription_ids":{"items":{"type":"string"},"type":"array"}},"required":["action","resource_type","account_username","cluster_uuids","cluster_ids","subscription_ids","organization_ids"],"type":"object"},"ResourceReviewRequest":{"properties":{"account_username":{"type":"string"},"action":{"enum":["get","delete","update"],"type":"string"},"resource_type":{"enum":["Cluster","Subscription"],"type":"string"}},"type":"object"},"Role":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"name":{"type":"string"},"permissions":{"items":{"$ref":"#/components/schemas/Permission"},"type":"array"}},"type":"object"}]},"RoleBinding":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"account":{"$ref":"#/components/schemas/ObjectReference"},"account_group":{"$ref":"#/components/schemas/ObjectReference"},"config_managed":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"managed_by":{"enum":["Config","User","RBAC"],"type":"string"},"organization":{"$ref":"#/components/schemas/ObjectReference"},"role":{"$ref":"#/components/schemas/ObjectReference"},"subscription":{"$ref":"#/components/schemas/ObjectReference"},"type":{"enum":["Application","Subscription","Organization"],"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"RoleBindingCreateRequest":{"allOf":[{"$ref":"#/components/schemas/RoleBindingRequest"},{"required":["role_id","type"]}]},"RoleBindingList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/RoleBinding"},"type":"array"}},"type":"object"}]},"RoleBindingRequest":{"properties":{"account_group_id":{"type":"string"},"account_id":{"type":"string"},"config_managed":{"type":"boolean"},"managed_by":{"type":"string"},"organization_id":{"type":"string"},"role_id":{"type":"string"},"subscription_id":{"type":"string"},"type":{"type":"string"}},"type":"object"},"RoleList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Role"},"type":"array"}},"type":"object"}]},"SKU":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"created_at":{"format":"date-time","type":"string"},"description":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"SelfAccessReview":{"properties":{"action":{"enum":["get","list","create","delete","update"],"type":"string"},"cluster_id":{"type":"string"},"cluster_uuid":{"type":"string"},"organization_id":{"type":"string"},"resource_type":{"enum":["AddOn","Flavour","Account","AccountPool","Cluster","Plan","Subscription","Organization","Role","Permission","RoleBinding","Registry","RegistryCredential","CurrentAccount","AccessReview","SelfAcccessReview","ResourceReview","SelfResourceReview","ClusterRegistration","AccessToken","ClusterAuthorization","SelfManagedCluster","RedhatManagedCluster","ExportControlReview","ClusterLog","ClusterCredential","ClusterMetric","ResourceQuota","ReservedResource","Dashboard","ClusterProviderAndRegion","ServiceLog","InternalServiceLog","CSLogs","SubscriptionLabel","OrganizationLabel","SubscriptionLabelInternal","SelfAccessReview","SubscriptionInternal","SubscriptionRoleBinding","ClusterSelfManaged","ClusterSelfManagedAddon","ClusterSelfManagedLabel","ClusterSelfManagedStatus","ClusterKubeletConfig","ClusterBreakGlassCredential"],"type":"string"},"subscription_id":{"type":"string"}},"required":["action","resource_type"],"type":"object"},"SelfEntitlementStatus":{"properties":{"product":{"type":"string"},"status":{"type":"string"}},"type":"object"},"SelfFeatureReview":{"properties":{"feature":{"type":"string"}},"required":["feature"],"type":"object"},"SelfResourceReview":{"properties":{"action":{"enum":["get","list","create","delete","update"],"type":"string"},"cluster_ids":{"items":{"type":"string"},"type":"array"},"cluster_uuids":{"items":{"type":"string"},"type":"array"},"organization_ids":{"items":{"type":"string"},"type":"array"},"resource_type":{"enum":["Cluster","Subscription"],"type":"string"},"subscription_ids":{"items":{"type":"string"},"type":"array"}},"required":["action","resource_type","cluster_uuids","cluster_ids","subscription_ids","organization_ids"],"type":"object"},"SelfResourceReviewRequest":{"properties":{"action":{"enum":["get","delete","update"],"type":"string"},"resource_type":{"enum":["Cluster","Subscription"],"type":"string"}},"type":"object"},"SelfServiceLandingPageSchema":{"properties":{"configTryLearn":{"properties":{"configure":{"items":{"$ref":"#/components/schemas/LandingPageCTLItem"},"type":"array"},"try":{"items":{"$ref":"#/components/schemas/LandingPageCTLItem"},"type":"array"}},"type":"object"},"estate":{"properties":{"items":{"items":{"$ref":"#/components/schemas/LandingPageEstateItem"},"type":"array"}},"type":"object"}},"type":"object"},"SelfTermsReview":{"properties":{"check_optional_terms":{"default":true,"type":"boolean"},"event_code":{"type":"string"},"site_code":{"type":"string"}},"type":"object"},"SkuList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/SKU"},"type":"array"}},"type":"object"}]},"SkuRules":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"allowed":{"type":"integer"},"quota_id":{"type":"string"},"sku":{"type":"string"}},"type":"object"}]},"SkuRulesList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/SkuRules"},"type":"array"}},"type":"object"}]},"Subscription":{"allOf":[{"$ref":"#/components/schemas/SubscriptionCommonFields"},{"properties":{"capabilities":{"items":{"$ref":"#/components/schemas/Capability"},"type":"array"},"created_at":{"format":"date-time","type":"string"},"creator":{"$ref":"#/components/schemas/AccountReference"},"eval_expiration_date":{"description":"Calulated as the subscription created date + 60 days","format":"date-time","type":"string"},"labels":{"items":{"$ref":"#/components/schemas/Label"},"type":"array"},"metrics":{"items":{"$ref":"#/components/schemas/OneMetric"},"maxItems":1,"type":"array"},"notification_contacts":{"items":{"$ref":"#/components/schemas/Account"},"type":"array"},"plan":{"$ref":"#/components/schemas/Plan"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"SubscriptionCommonFields":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"billing_expiration_date":{"description":"If set, the date the subscription expires based on the billing model","format":"date-time","type":"string"},"billing_marketplace_account":{"type":"string"},"cloud_account_id":{"type":"string"},"cloud_provider_id":{"type":"string"},"cluster_billing_model":{"type":"string"},"cluster_id":{"type":"string"},"console_url":{"type":"string"},"consumer_uuid":{"type":"string"},"cpu_total":{"type":"integer"},"creator_id":{"type":"string"},"display_name":{"type":"string"},"external_cluster_id":{"type":"string"},"last_reconcile_date":{"description":"Last time this subscription were reconciled about cluster usage","format":"date-time","type":"string"},"last_released_at":{"description":"Last time status was set to Released for this cluster/subscription in Unix time","format":"date-time","type":"string"},"last_telemetry_date":{"description":"Last telemetry authorization request for this cluster/subscription in Unix time","format":"date-time","type":"string"},"managed":{"type":"boolean"},"organization_id":{"type":"string"},"plan_id":{"type":"string"},"product_bundle":{"enum":["Openshift","JBoss-Middleware","IBM-CloudPak"],"type":"string"},"provenance":{"type":"string"},"region_id":{"type":"string"},"released":{"type":"boolean"},"service_level":{"enum":["L1-L3","L3-only"],"type":"string"},"socket_total":{"type":"integer"},"status":{"type":"string"},"support_level":{"enum":["Eval","Standard","Premium","Self-Support","None","Supported By IBM"],"type":"string"},"system_units":{"enum":["Cores/vCPU","Sockets"],"type":"string"},"trial_end_date":{"description":"If the subscription is a trial, date the trial ends","format":"date-time","type":"string"},"usage":{"enum":["Production","Development/Test","Disaster Recovery","Academic"],"type":"string"},"xcm_id":{"type":"string"}},"required":["managed"],"type":"object"}]},"SubscriptionCreateRequest":{"properties":{"cluster_uuid":{"type":"string"},"console_url":{"type":"string"},"display_name":{"type":"string"},"plan_id":{"enum":["OCP"],"type":"string"},"status":{"enum":["Disconnected"],"type":"string"}},"required":["cluster_uuid","status","plan_id"],"type":"object"},"SubscriptionList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Subscription"},"type":"array"}},"type":"object"}]},"SubscriptionMetric":{"allOf":[{"properties":{"_id":{"type":"string"}},"type":"object"}]},"SubscriptionMetricList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/SubscriptionMetric"},"type":"array"}},"type":"object"}]},"SubscriptionPatchRequest":{"properties":{"billing_expiration_date":{"format":"date-time","type":"string"},"cloud_account_id":{"type":"string"},"cloud_provider_id":{"type":"string"},"cluster_billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-azure","marketplace-rhm","marketplace-gcp"],"type":"string"},"cluster_id":{"type":"string"},"console_url":{"type":"string"},"consumer_uuid":{"type":"string"},"cpu_total":{"type":"integer"},"creator_id":{"type":"string"},"display_name":{"type":"string"},"external_cluster_id":{"type":"string"},"managed":{"type":"boolean"},"organization_id":{"type":"string"},"plan_id":{"type":"string"},"product_bundle":{"enum":["Openshift","JBoss-Middleware","IBM-CloudPak"],"type":"string"},"provenance":{"type":"string"},"region_id":{"type":"string"},"released":{"type":"boolean"},"service_level":{"enum":["L1-L3","L3-only"],"type":"string"},"socket_total":{"type":"integer"},"status":{"type":"string"},"support_level":{"enum":["Eval","Standard","Premium","Self-Support","None","SupportedByIBM"],"type":"string"},"system_units":{"enum":["Cores/vCPU","Sockets"],"type":"string"},"trial_end_date":{"format":"date-time","type":"string"},"usage":{"enum":["Production","Development/Test","Disaster Recovery","Academic"],"type":"string"}},"type":"object"},"SubscriptionRoleBinding":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"account":{"$ref":"#/components/schemas/AccountReference"},"account_email":{"type":"string"},"account_username":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"role":{"$ref":"#/components/schemas/ObjectReference"},"subscription":{"$ref":"#/components/schemas/ObjectReference"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"SubscriptionRoleBindingCreateRequest":{"properties":{"account_username":{"type":"string"},"role_id":{"type":"string"}},"required":["role_id","account_username"],"type":"object"},"SubscriptionRoleBindingList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/SubscriptionRoleBinding"},"type":"array"}},"type":"object"}]},"Summary":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"metrics":{"items":{"$ref":"#/components/schemas/SummaryMetrics"},"type":"array"},"name":{"type":"string"}},"required":["metrics"],"type":"object"}]},"SummaryMetrics":{"allOf":[{"properties":{"name":{"type":"string"},"vector":{"items":{"$ref":"#/components/schemas/SummaryVector"},"type":"array"}},"type":"object"}]},"SummaryVector":{"allOf":[{"properties":{"time":{"format":"date-time","type":"string"},"value":{"format":"double","type":"number"}},"type":"object"}]},"SupportCasesCreatedResponse":{"properties":{"caseNumber":{"type":"string"},"cluster_id":{"type":"string"},"cluster_uuid":{"type":"string"},"description":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"subscription_id":{"type":"string"},"summary":{"type":"string"},"uri":{"type":"string"}},"type":"object"},"SupportCasesRequest":{"properties":{"account_number":{"type":"string"},"case_language":{"type":"string"},"cluster_id":{"type":"string"},"cluster_uuid":{"type":"string"},"contact_sso_name":{"type":"string"},"description":{"type":"string"},"event_stream_id":{"type":"string"},"openshift_cluster_id":{"type":"string"},"product":{"default":"OpenShift Container Platform","type":"string"},"severity":{"enum":["1 (Urgent)","2 (High)","3 (Normal)","4 (Low)"],"type":"string"},"subscription_id":{"type":"string"},"summary":{"type":"string"},"version":{"default":"4.10","type":"string"}},"required":["summary","description","severity"],"type":"object"},"TermsReview":{"properties":{"account_username":{"type":"string"},"check_optional_terms":{"default":true,"type":"boolean"},"event_code":{"type":"string"},"site_code":{"type":"string"}},"required":["account_username"],"type":"object"},"TermsReviewResponse":{"properties":{"account_id":{"type":"string"},"organization_id":{"type":"string"},"redirect_url":{"type":"string"},"terms_available":{"type":"boolean"},"terms_required":{"type":"boolean"}},"required":["account_id","organization_id","terms_available","terms_required"],"type":"object"},"TokenAuthorizationRequest":{"properties":{"authorization_token":{"type":"string"}},"type":"object"},"TokenAuthorizationResponse":{"properties":{"account":{"$ref":"#/components/schemas/Account"}},"type":"object"}},"securitySchemes":{"AccessToken":{"description":"Authorization: AccessToken {cluster-uuid}:{access-token}","in":"header","name":"Authorization","type":"apiKey"},"Bearer":{"bearerFormat":"JWT","scheme":"bearer","type":"http"}}},"info":{"description":"Manage user subscriptions and clusters","title":"Account Management Service API","version":"0.0.1"},"openapi":"3.0.0","paths":{"/api/accounts_mgmt/v1/access_token":{"post":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenCfg"}}},"description":"access token from registries in docker format"},"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":"Cannot find registry"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Return access token generated from registries in docker format"}},"/api/accounts_mgmt/v1/accounts":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fetchLabels"},{"$ref":"#/components/parameters/fetchCapabilities"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountList"}}},"description":"A JSON array of account objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of accounts"},"post":{"parameters":[{"$ref":"#/components/parameters/dryRun"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account can be created without dryRun parameter"},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Account already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the account"}},"security":[{"Bearer":[]}],"summary":"Create a new account"}},"/api/accounts_mgmt/v1/accounts/{id}":{"delete":{"parameters":[{"$ref":"#/components/parameters/deleteAssociatedResources"}],"responses":{"204":{"description":"Account successfully deleted"},"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":"No account with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Delete an account by id"},"get":{"parameters":[{"$ref":"#/components/parameters/fetchLabels"},{"$ref":"#/components/parameters/fetchCapabilities"},{"$ref":"#/components/parameters/fetchRhit"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account found by id"},"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":"No account with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get an account by id"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountPatchRequest"}}},"description":"Updated account data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account updated successfully"},"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":"No account with specified id exists"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Account already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating account"}},"security":[{"Bearer":[]}],"summary":"Update an account"}},"/api/accounts_mgmt/v1/accounts/{id}/labels":{"get":{"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelList"}}},"description":"A JSON array of label"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of labels"},"post":{"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Created or updated label successfully"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the label"}},"security":[{"Bearer":[]}],"summary":"Create a new label or update an existing label"}},"/api/accounts_mgmt/v1/accounts/{id}/labels/{key}":{"delete":{"responses":{"204":{"description":"Label successfully deleted"},"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":"No label with specified key on specified account id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the label"}},"security":[{"Bearer":[]}],"summary":"Delete a label"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Labels found by key"},"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":"No label with specified key on specified account id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get account labels by label key"},"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/key"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Created or updated label successfully"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Label already exists and cannot be updated"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating account label"}},"security":[{"Bearer":[]}],"summary":"Create a new label or update an existing label"}},"/api/accounts_mgmt/v1/accounts/{id}/pull_secret_rotation":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullSecretRotationList"}}},"description":"existing pull secret rotation list"},"204":{"description":"PullSecretRotation does not exist"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]},{"AccessToken":[]}],"summary":"List of pull secrets rotation"},"parameters":[{"$ref":"#/components/parameters/id"}],"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullSecretRotationRequest"}}},"description":"The contents of the pull secret rotation creation request","required":false},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullSecretRotation"}}},"description":"the pull secret rotation request has been created"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Initiate pull secret rotation for this account id"}},"/api/accounts_mgmt/v1/accounts/{id}/pull_secret_rotation/{rotationId}":{"delete":{"responses":{"204":{"description":"Pull Secret Rotation record successfully deleted"},"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":"No Pull Secret Rotation record with specified id on specified account id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the pull secret rotation record"}},"security":[{"Bearer":[]}],"summary":"Delete a single Pull Secret Rotation record"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullSecretRotation"}}},"description":"Pull secret rotation found by id for this account id"},"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":"No pull secret rotation record with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a pull secret rotation by id for a specific account"},"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/rotationId"}]},"/api/accounts_mgmt/v1/billing_models":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingModelList"}}},"description":"A JSON array of billing model objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of available billing models"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"}]},"/api/accounts_mgmt/v1/billing_models/{id}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingModel"}}},"description":"Billing model found by id"},"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":"No billing model with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a billing model"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/capabilities":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityList"}}},"description":"A JSON array of capability objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of available capabilities"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/certificates":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificatesRequest"}}},"description":"# The payload depends on the type of the requested certificate\\nThe examples for supported types:\\n* {\\"type\\": \\"sca\\", \\"arch\\": \\"x86_64\\"}\\n","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Certificate"}}},"description":"The certificate 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 certificates of a particular type"}},"/api/accounts_mgmt/v1/cloud_resources":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudResourceList"}}},"description":"A JSON array of cloud resource objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of cloud resources"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudResource"}}},"description":"Cloud resource data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudResource"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Resource already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating resource"}},"security":[{"Bearer":[]}],"summary":"Create a new cloud resource"}},"/api/accounts_mgmt/v1/cloud_resources/{id}":{"delete":{"responses":{"204":{"description":"Cloud resource successfully deleted"},"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":"No resource with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the resource"}},"security":[{"Bearer":[]}],"summary":"Delete a cloud resource"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudResource"}}},"description":"Cloud resource found by id"},"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":"No cloud resource with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a cloud resource"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudResource"}}},"description":"Updated cloud resource data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudResource"}}},"description":"Cloud resource updated successfully"},"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":"No resource with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating resource"}},"security":[{"Bearer":[]}],"summary":"Update a cloud resource"}},"/api/accounts_mgmt/v1/cluster_authorizations":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterAuthorizationRequest"}}},"description":"Cluster and authorization data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterAuthorizationResponse"}}},"description":"The authorization is successful, the requested cluster has a valid subscription and is within resource limits."},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"AMS subscription exists but is associated with another account"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The limits for this subscription are exceeded."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Other cluster authorization error"}},"security":[{"Bearer":[]}],"summary":"Authorizes new cluster creation against an exsiting RH Subscription."}},"/api/accounts_mgmt/v1/cluster_registrations":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterRegistrationRequest"}}},"description":"Cluster and authorization data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterRegistrationResponse"}}},"description":"A cluster with the specified cluster_id exists and belongs to the user with the specified registry credential token"},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterRegistrationResponse"}}},"description":"No cluster with the specified cluster exists, one was successfully created and associated with the account with the specified registry credential token"},"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":"Registry credential token is invalid"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Cluster with specified cluster_id already associated with another user"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"cluster_id provided is invalid"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Too many clusters have been associated with this user recently"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Other cluster registration error"}},"security":[{"Bearer":[]}],"summary":"Finds or creates a cluster registration with a registy credential token and cluster ID"}},"/api/accounts_mgmt/v1/cluster_transfers":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterTransferList"}}},"description":"cluster transfer detected"},"204":{"description":"ClusterTransfer does not exist for a specific cluster"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]},{"AccessToken":[]}],"summary":"List cluster transfers - returns either an empty result set or a valid ClusterTransfer instance that is within a valid transfer window."},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterTransferRequest"}}},"description":"The contents of the cluster transfer creation request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterTransfer"}}},"description":"the cluster transfer has been created"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Initiate cluster transfer."}},"/api/accounts_mgmt/v1/cluster_transfers/{id}":{"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterTransferPatchRequest"}}},"description":"Updated cluster transfer","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterTransfer"}}},"description":"Cluster transfer updated successfully"},"204":{"description":"ClusterTransfer does not exist for a specific cluster"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Conflict during cluster transfer update"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating cluster transfer"}},"security":[{"Bearer":[]}],"summary":"Update specific cluster transfer"}},"/api/accounts_mgmt/v1/config/skus":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuList"}}},"description":"A JSON array of sku objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of skus"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SKU"}}},"description":"Sku data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SKU"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Sku already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating sku"}},"security":[{"Bearer":[]}],"summary":"Create a new sku"}},"/api/accounts_mgmt/v1/config/skus/{id}":{"delete":{"responses":{"204":{"description":"Sku successfully deleted"},"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":"No sku with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the sku"}},"security":[{"Bearer":[]}],"summary":"Delete a sku"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SKU"}}},"description":"Sku found by id"},"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":"No SKU with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a sku"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SKU"}}},"description":"Updated sku data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SKU"}}},"description":"Sku updated successfully"},"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":"No sku with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating sku"}},"security":[{"Bearer":[]}],"summary":"Update a Sku"}},"/api/accounts_mgmt/v1/current_account":{"get":{"parameters":[{"$ref":"#/components/parameters/fetchLabels"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account found via JWT"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]},{"AccessToken":[]}],"summary":"Get the authenticated account"}},"/api/accounts_mgmt/v1/default_capabilities":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultCapabilityList"}}},"description":"A JSON array of default capabilities"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Auth token is invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of default capabilities"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultCapability"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultCapability"}}},"description":"Created or updated default capability successfully"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the default capability"}},"security":[{"Bearer":[]}],"summary":"Create a new default capability or update an existing one"}},"/api/accounts_mgmt/v1/default_capabilities/{name}":{"delete":{"responses":{"204":{"description":"Default capability successfully deleted"},"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":"No default capability with specified name exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the default capability"}},"security":[{"Bearer":[]}],"summary":"Delete a default capability"},"get":{"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultCapability"}}},"description":"Default capability found by name"},"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":"No default capability with specified name exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get default capability by label name"},"parameters":[{"$ref":"#/components/parameters/name"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultCapability"}}},"description":"Default capability data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultCapability"}}},"description":"Created or updated default capability successfully"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating default capability"}},"security":[{"Bearer":[]}],"summary":"Create a new default capability or update an existing one"}},"/api/accounts_mgmt/v1/deleted_subscriptions":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletedSubscriptionList"}}},"description":"A JSON array of deleted subscription objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of deleted subscriptions"}},"/api/accounts_mgmt/v1/deleted_subscriptions/{id}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletedSubscription"}}},"description":"A JSON object of a single deleted subscription"},"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":"Resource does not exist"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Fetches a deleted subscription by id"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/errors":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorList"}}},"description":"A JSON array or errors"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"summary":"Returns a list of errors"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/errors/{id}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error found by id"},"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":"No error with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"summary":"Get an error by id"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/feature_toggles/{id}/query":{"post":{"deprecated":true,"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureToggleQueryRequest"}}},"description":"The context of the query","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureToggle"}}},"description":"Feature toggle found by id"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Query a feature toggle by id"}},"/api/accounts_mgmt/v1/labels":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelList"}}},"description":"A JSON array of label objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of labels"}},"/api/accounts_mgmt/v1/landing_page/self_service":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfServiceLandingPageSchema"}}},"description":"self service schema created"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Auth token is invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a console.redhat.com landing page content JSON schema"}},"/api/accounts_mgmt/v1/metrics":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricsList"}}},"description":"A JSON array of metrics objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of metrics"},"parameters":[{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/notify_details":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotifyDetailsRequest"}}},"description":"The notification parameters such as bcc_address,cluster_id etc","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotifyDetailsResponseList"}}},"description":"A JSON array of Notification details with a key-value pair"},"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":"No such notification details can be returned"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get and validate notification details"}},"/api/accounts_mgmt/v1/organizations":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"},{"$ref":"#/components/parameters/fetchLabels"},{"$ref":"#/components/parameters/fetchCapabilities"},{"$ref":"#/components/parameters/fields"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationList"}}},"description":"A JSON array of organization objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of organizations"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}},"description":"Organization data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Organization already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the organization"}},"security":[{"Bearer":[]}],"summary":"Create a new organization"}},"/api/accounts_mgmt/v1/organizations/{id}":{"get":{"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/fetchLabels"},{"$ref":"#/components/parameters/fetchCapabilities"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}},"description":"Organization found by id"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get an organization by id"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationPatchRequest"}}},"description":"Updated organization data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}},"description":"Organization updated successfully"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating organization"}},"security":[{"Bearer":[]}],"summary":"Update an organization"}},"/api/accounts_mgmt/v1/organizations/{id}/labels":{"get":{"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelList"}}},"description":"A JSON array of label"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of labels"},"post":{"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Created or updated label successfully"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the label"}},"security":[{"Bearer":[]}],"summary":"Create a new label or update an existing label"}},"/api/accounts_mgmt/v1/organizations/{id}/labels/{key}":{"delete":{"responses":{"204":{"description":"Label successfully deleted"},"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":"No label with specified key on specified organizations id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the label"}},"security":[{"Bearer":[]}],"summary":"Delete a label"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Labels found by key"},"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":"No label with specified key on specified organizations id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get organization labels by label key"},"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/key"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Created or updated label successfully"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Label already exists and cannot be updated"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating organizations label"}},"security":[{"Bearer":[]}],"summary":"Create a new label or update an existing label"}},"/api/accounts_mgmt/v1/organizations/{id}/summary_dashboard":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Summary"}}},"description":"A JSON array of metrics objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a summary of organizations clusters based on metrics"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/organizations/{orgId}/account_group_assignments":{"get":{"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupAssignmentList"}}},"description":"A JSON array of account groups"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of account group assignments for the given org"},"post":{"parameters":[{"$ref":"#/components/parameters/orgId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupAssignment"}}},"description":"New AccountGroup data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupAssignment"}}},"description":"Created AccountGroupAssignment successfully"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the label"}},"security":[{"Bearer":[]}],"summary":"Create a new AccountGroupAssignment"}},"/api/accounts_mgmt/v1/organizations/{orgId}/account_group_assignments/{acctGrpAsgnId}":{"delete":{"responses":{"204":{"description":"Account group assignment successfully deleted"},"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":"No organization or account group assignment with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the account group assignment"}},"security":[{"Bearer":[]}],"summary":"Delete an account group assignment"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupAssignment"}}},"description":"Account group assignment found"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get account group assignment by id"},"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/acctGrpAsgnId"}]},"/api/accounts_mgmt/v1/organizations/{orgId}/account_groups":{"get":{"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupList"}}},"description":"A JSON array of account groups"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of account groups for the given org"},"post":{"parameters":[{"$ref":"#/components/parameters/orgId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupRequest"}}},"description":"New AccountGroup data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroup"}}},"description":"Created AccountGroup successfully"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the label"}},"security":[{"Bearer":[]}],"summary":"Create a new AccountGroup"}},"/api/accounts_mgmt/v1/organizations/{orgId}/account_groups/{acctGrpId}":{"delete":{"responses":{"204":{"description":"Account group successfully deleted"},"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":"No organization or account group with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the account group"}},"security":[{"Bearer":[]}],"summary":"Delete an account group"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroup"}}},"description":"Account group found"},"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":"No organization or account group with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get account group by id"},"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/acctGrpId"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupRequest"}}},"description":"Updated account group data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroup"}}},"description":"Account group updated successfully"},"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":"No account group with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating account group"}},"security":[{"Bearer":[]}],"summary":"Update an account group"}},"/api/accounts_mgmt/v1/organizations/{orgId}/consumed_quota":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumedQuotaList"}}},"description":"A JSON array of ConsumedQuota objects"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred when getting this resource"}},"security":[{"Bearer":[]}],"summary":"Returns a list of consumed quota for an organization"},"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/forceRecalc"}]},"/api/accounts_mgmt/v1/organizations/{orgId}/quota_cost":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaCostList"}}},"description":"A JSON array of QuotaCost objects"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred when getting this resource"}},"security":[{"Bearer":[]}],"summary":"Returns a summary of quota cost"},"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/fetchRelatedResources"},{"$ref":"#/components/parameters/forceRecalc"},{"$ref":"#/components/parameters/fetchCloudAccounts"}]},"/api/accounts_mgmt/v1/organizations/{orgId}/resource_quota":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"},{"$ref":"#/components/parameters/orgId"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuotaList"}}},"description":"A JSON array of ResourceQuota objects"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred when getting this resource"}},"security":[{"Bearer":[]}],"summary":"Returns a list of resource quota objects"},"post":{"parameters":[{"$ref":"#/components/parameters/orgId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuotaRequest"}}},"description":"Resource quota data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuota"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"ResourceQuota already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the resource quota"}},"security":[{"Bearer":[]}],"summary":"Create a new resource quota"}},"/api/accounts_mgmt/v1/organizations/{orgId}/resource_quota/{quotaId}":{"delete":{"responses":{"204":{"description":"Resource Quota successfully deleted"},"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":"No Resource Quota with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the Resource Quota"}},"security":[{"Bearer":[]}],"summary":"Delete a resource quota"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuota"}}},"description":"Resource quota found by id"},"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":"No resource quota with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred when getting this resource"}},"security":[{"Bearer":[]}],"summary":"Get a resource quota by id"},"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/quotaId"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuotaRequest"}}},"description":"Updated resource quota data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuota"}}},"description":"Resource Quota updated successfully"},"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":"No resource quota with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating resource quota"}},"security":[{"Bearer":[]}],"summary":"Update a resource quota"}},"/api/accounts_mgmt/v1/plans":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanList"}}},"description":"Plans list"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get all plans"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/plans/{id}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}},"description":"Plan found"},"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":"No plan with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a plan by id"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/pull_secrets":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullSecretRequest"}}},"description":"Identifier of the resource in the external service that this pull secret relates to","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenCfg"}}},"description":"access token from registries in docker format"},"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":"Cannot find registry"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Return access token generated from registries in docker format"}},"/api/accounts_mgmt/v1/pull_secrets/{externalResourceId}":{"delete":{"responses":{"204":{"description":"Pull secret successfully deleted"},"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 delete pull secret"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No Pull secret with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the pull secret"}},"security":[{"Bearer":[]}],"summary":"Delete a pull secret"},"parameters":[{"$ref":"#/components/parameters/externalResourceId"}]},"/api/accounts_mgmt/v1/quota_authorizations":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaAuthorizationRequest"}}},"description":"User data and intention","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaAuthorizationResponse"}}},"description":"The authorization action was successful"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"AMS subscription exists but is associated with another account"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The limits for this subscription are exceeded."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Other cluster authorization error"}},"security":[{"Bearer":[]}],"summary":"Authorizes a user to consume or release a single quantity of quota"}},"/api/accounts_mgmt/v1/quota_cost":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaCostList"}}},"description":"A JSON array of QuotaCost objects"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Validation errors occurred"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred when getting this resource"}},"security":[{"Bearer":[]}],"summary":"Returns a summary of quota cost for the authenticated user"},"parameters":[{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/fetchRelatedResources"},{"$ref":"#/components/parameters/fetchCloudAccounts"}]},"/api/accounts_mgmt/v1/quota_rules":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaRulesList"}}},"description":"A JSON array of quota rules objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of UHC product Quota Rules"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/quotas":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaList"}}},"description":"A JSON array of quota objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of quotas"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}},"description":"Quota data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Quota already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating quota"}},"security":[{"Bearer":[]}],"summary":"Create a new quota"}},"/api/accounts_mgmt/v1/quotas/{id}":{"delete":{"responses":{"204":{"description":"Quota successfully deleted"},"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":"No quota with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the quota"}},"security":[{"Bearer":[]}],"summary":"Delete a quota"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}},"description":"Quota found by id"},"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":"No quota with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a quota"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}},"description":"Updated quota data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}},"description":"Quota updated successfully"},"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":"No quota with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating quota"}},"security":[{"Bearer":[]}],"summary":"Update a quota"}},"/api/accounts_mgmt/v1/registries":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryList"}}},"description":"A JSON array of registry objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of registries"}},"/api/accounts_mgmt/v1/registries/{id}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Registry"}}},"description":"Registry found by id"},"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":"No registry with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get an registry by id"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/registry_credentials":{"get":{"description":"List Registry Credentials","parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryCredentialList"}}},"description":"A JSON array of RegistryCredential objects"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Auth token is invalid"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Not allowed to list RegistryCredentials"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}}},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryCredential"}}},"description":"Registry credential data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryCredential"}}},"description":"Registry credential created"},"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":"Not allowed to create RegistryCredentials"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"A RegistryCredential with this type already exists for this user"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unable to create Registry Credential"}},"security":[{"Bearer":[]}],"summary":"Request the creation of a registry credential"}},"/api/accounts_mgmt/v1/registry_credentials/{id}":{"delete":{"responses":{"204":{"description":"Registry credential successfully deleted"},"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":"No registry credential with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the registry credential"}},"security":[{"Bearer":[]}],"summary":"Delete a registry credential by id"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryCredential"}}},"description":"Registry credential found"},"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":"No registry credential with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a registry credentials by id"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryCredentialPatchRequest"}}},"description":"Updated registry credential data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryCredential"}}},"description":"Registry credential updated successfully"},"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":"Not allowed to update registry credential or the specified field(s)"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No registry credential with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating registry credential"}},"security":[{"Bearer":[]}],"summary":"Update a registry credential"}},"/api/accounts_mgmt/v1/reserved_resources":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservedResourceList"}}},"description":"A JSON array of reserved resource objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of reserved resources"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}]},"/api/accounts_mgmt/v1/resource_quota":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuotaList"}}},"description":"A JSON array of ResourceQuota objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred when getting this resource"}},"security":[{"Bearer":[]}],"summary":"Returns a list of resource quota objects"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}]},"/api/accounts_mgmt/v1/role_bindings":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBindingList"}}},"description":"A JSON array of role binding objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of role bindings"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBindingCreateRequest"}}},"description":"Role binding data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBinding"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Role binding already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating role binding"}},"security":[{"Bearer":[]}],"summary":"Create a new role binding"}},"/api/accounts_mgmt/v1/role_bindings/{id}":{"delete":{"responses":{"204":{"description":"Role binding successfully deleted"},"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":"No role binding with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the role binding"}},"security":[{"Bearer":[]}],"summary":"Delete a role binding"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBinding"}}},"description":"Role binding found by id"},"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":"No role binding with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a role binding"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBindingRequest"}}},"description":"Updated role binding data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBinding"}}},"description":"Role Binding updated successfully"},"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":"No role binding with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating role binding"}},"security":[{"Bearer":[]}],"summary":"Update a role binding"}},"/api/accounts_mgmt/v1/roles":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleList"}}},"description":"A JSON array of role objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of roles"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/roles/{id}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Role"}}},"description":"Role found by id"},"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":"No role with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a role by id"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/self_entitlement/{product}":{"parameters":[{"$ref":"#/components/parameters/product"}],"post":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfEntitlementStatus"}}},"description":"the requested entitlement already exists"},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfEntitlementStatus"}}},"description":"the requested entitlement has been created or renewed"},"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":"Cannot find account or organization"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Create or renew the entitlement to support a product for the user\'s organization."}},"/api/accounts_mgmt/v1/sku_rules":{"get":{"parameters":[{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuRulesList"}}},"description":"A JSON array of sku rules objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of UHC product SKU Rules"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuRules"}}},"description":"Sku rule data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuRules"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Sku rule already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating sku rule"}},"security":[{"Bearer":[]}],"summary":"Create a new sku rule"}},"/api/accounts_mgmt/v1/sku_rules/{id}":{"delete":{"responses":{"204":{"description":"Sku rule successfully deleted"},"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":"No sku rule with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the sku rule"}},"security":[{"Bearer":[]}],"summary":"Delete a sku rule"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuRules"}}},"description":"sku rules found by id"},"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":"No sku rules with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a sku rules by id"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuRules"}}},"description":"Updated sku rule data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuRules"}}},"description":"Sku rule updated successfully"},"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":"No sku rule with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating sku rule"}},"security":[{"Bearer":[]}],"summary":"Update a sku rule"}},"/api/accounts_mgmt/v1/skus":{"get":{"deprecated":true,"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuList"}}},"description":"A JSON array of sku objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of UHC product SKUs"},"parameters":[{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/skus/{id}":{"get":{"deprecated":true,"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SKU"}}},"description":"sku found by id"},"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":"No sku with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a sku by id"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/subscriptions":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/fetchAccounts"},{"$ref":"#/components/parameters/fetchLabels"},{"$ref":"#/components/parameters/fetchCapabilities"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/orderBy"},{"$ref":"#/components/parameters/labels"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionList"}}},"description":"A JSON array of subscription objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]},{"AccessToken":[]}],"summary":"Returns a list of subscriptions"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionCreateRequest"}}},"description":"Subscription Creation data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Subscription already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating subscription"}},"security":[{"Bearer":[]}],"summary":"Create a new subscription"}},"/api/accounts_mgmt/v1/subscriptions/{id}":{"delete":{"parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Subscription deprovisioned by id"},"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":"No subscription with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Deletes a subscription by id"},"get":{"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/fetchAccounts"},{"$ref":"#/components/parameters/fetchLabels"},{"$ref":"#/components/parameters/fetchCapabilities"},{"$ref":"#/components/parameters/fetchCpuAndSocket"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription"}}},"description":"Subscription found by id"},"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":"No subscription with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a subscription by id"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionPatchRequest"}}},"description":"Updated subscription data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription"}}},"description":"Subscription updated successfully"},"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":"Not allowed to update subscriptions or the specified field(s)"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No subscription with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating subscription"}},"security":[{"Bearer":[]}],"summary":"Update a subscription"}},"/api/accounts_mgmt/v1/subscriptions/{id}/labels":{"get":{"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelList"}}},"description":"A JSON array of label"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of labels"},"post":{"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Created or updated label successfully"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the label"}},"security":[{"Bearer":[]}],"summary":"Create a new label or update an existing label"}},"/api/accounts_mgmt/v1/subscriptions/{id}/labels/{key}":{"delete":{"responses":{"204":{"description":"Label successfully deleted"},"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":"No label with specified key on specified subscription id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the label"}},"security":[{"Bearer":[]}],"summary":"Delete a label"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Labels found by key"},"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":"No label with specified key on specified subscription id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get subscription labels by label key"},"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/key"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Created or updated label successfully"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Label already exists and cannot be updated"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating subscription label"}},"security":[{"Bearer":[]}],"summary":"Create a new label or update an existing label"}},"/api/accounts_mgmt/v1/subscriptions/{id}/metrics/{metric_name}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionMetricList"}}},"description":"Metrics\' data"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Metric name is invalid"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get subscription\'s metrics by metric name"},"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/metricName"},{"$ref":"#/components/parameters/metricSearch"},{"$ref":"#/components/parameters/fields"}]},"/api/accounts_mgmt/v1/subscriptions/{id}/reserved_resources":{"get":{"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservedResourceList"}}},"description":"A JSON array of reserved resource objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of reserved resources"}},"/api/accounts_mgmt/v1/subscriptions/{id}/support_cases":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"}],"responses":{"200":{"description":"A JSON array of support cases objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of open support creates opened against the external cluster id of this subscrption"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/subscriptions/{subId}/notification_contacts":{"get":{"parameters":[{"$ref":"#/components/parameters/subId"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountList"}}},"description":"A JSON array of account objects that are notification contacts for this subscription"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of notification contacts for the given subscription"},"post":{"parameters":[{"$ref":"#/components/parameters/subId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationContactCreateRequest"}}},"description":"Add a notification contact by an account\'s username","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Notification contact already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating notification contact"}},"security":[{"Bearer":[]}],"summary":"Add an account as a notification contact to this subscription"}},"/api/accounts_mgmt/v1/subscriptions/{subId}/notification_contacts/{accountId}":{"delete":{"parameters":[{"$ref":"#/components/parameters/subId"},{"$ref":"#/components/parameters/accountId"}],"responses":{"200":{"description":"Notification contact deleted by subscription and account id"},"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":"No notification contact with specified subscription and account id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Deletes a notification contact by subscription and account id"}},"/api/accounts_mgmt/v1/subscriptions/{subId}/reserved_resources/{reservedResourceId}":{"delete":{"responses":{"204":{"description":"Reserved resources deleted by id"},"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":"No reserved resources with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Delete reserved resources by id"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservedResource"}}},"description":"Reserved resources found by id"},"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":"No reserved resources with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get reserved resources by id"},"parameters":[{"$ref":"#/components/parameters/subId"},{"$ref":"#/components/parameters/reservedResourceId"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservedResourcePatchRequest"}}},"description":"Updated reserved resource data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservedResource"}}},"description":"Reserved resources updated successfully"},"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":"No reserved resources with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Update a reserved resource"}},"/api/accounts_mgmt/v1/subscriptions/{subId}/role_bindings":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"},{"$ref":"#/components/parameters/fetchAccounts"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRoleBindingList"}}},"description":"Subscription role bindings found, or none exist"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get subscription role bindings"},"parameters":[{"$ref":"#/components/parameters/subId"}],"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRoleBindingCreateRequest"}}},"description":"Subscription role binding data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRoleBinding"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Subscription role binding already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the subscription role binding"}},"security":[{"Bearer":[]}],"summary":"Create a new subscription role binding"}},"/api/accounts_mgmt/v1/subscriptions/{subId}/role_bindings/{id}":{"delete":{"responses":{"204":{"description":"Subscription role binding successfully deleted"},"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":"No Subscription Role Binding with specified Id is accessible"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the Subscription Role Binding"}},"security":[{"Bearer":[]}],"summary":"Delete a subscription role binding"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRoleBinding"}}},"description":"Subscription Role Binding found by id"},"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":"No Subscription Role Binding with the specified id is accessible"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a Subscription Role Binding by id"},"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/subId"}]},"/api/accounts_mgmt/v1/support_cases":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportCasesRequest"}}},"description":"The contents of the support case to be created","required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportCasesCreatedResponse"}}},"description":"Support case created"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"create a support case for the subscription"}},"/api/accounts_mgmt/v1/support_cases/{caseId}":{"delete":{"responses":{"204":{"description":"Support case successfully deleted"},"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":"No support case with specified case id on specified subscription id exists"},"405":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Not allowed to close a case that is already closed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the support case"}},"security":[{"Bearer":[]}],"summary":"Delete a support case"},"parameters":[{"$ref":"#/components/parameters/caseId"}]},"/api/accounts_mgmt/v1/token_authorization":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenAuthorizationRequest"}}},"description":"Token authorization data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenAuthorizationResponse"}}},"description":"The account belongs to the user with the specified registry credential token"},"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":"Registry credential token is invalid"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Registry credential token is not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Other token authorization error"}},"security":[{"Bearer":[]}],"summary":"Finds the account owner of the provided token"}},"/api/authorizations/v1/access_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessReview"}}},"description":"Access review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessReviewResponse"}}},"description":"Review successfully generated"},"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"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unsupported action, non-existent resource type, or non-existent account"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating access review"}},"security":[{"Bearer":[]}],"summary":"Review an account\'s access to perform an action on a particular resource or resource type"}},"/api/authorizations/v1/capability_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityReviewRequest"}}},"description":"Capability review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityReview"}}},"description":"Successful review"},"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 capability reviews"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating capability review"}},"security":[{"Bearer":[]}],"summary":"Review an account\'s capabilities"}},"/api/authorizations/v1/export_control_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportControlReviewRequest"}}},"description":"Export control review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportControlReview"}}},"description":"Successful review"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating access review"}},"security":[{"Bearer":[]}],"summary":"Determine whether a user is restricted from downloading Red Hat software based on export control compliance.\\n"}},"/api/authorizations/v1/feature_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureReview"}}},"description":"Feature review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureReviewResponse"}}},"description":"Review successfully generated"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating feature review"}},"security":[{"Bearer":[]}],"summary":"Review feature to perform an action on it such as toggle a feature on/off"}},"/api/authorizations/v1/resource_review":{"post":{"deprecated":true,"parameters":[{"$ref":"#/components/parameters/reduceClusterList"},{"$ref":"#/components/parameters/excludeSubscriptionStatuses"},{"$ref":"#/components/parameters/includeSubscriptionStatuses"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceReviewRequest"}}},"description":"Resource review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceReview"}}},"description":"Successful review"},"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 resource reviews"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unsupported action or non-existent resource type"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating access review"}},"security":[{"Bearer":[]}],"summary":"Obtain resource ids for resources an account may perform the specified action upon. Resource ids returned as [\\"*\\"] is shorthand for all ids."}},"/api/authorizations/v1/self_access_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfAccessReview"}}},"description":"Self access review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessReviewResponse"}}},"description":"Review successfully generated"},"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"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unsupported action or non-existent resource type"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating access review"}},"security":[{"Bearer":[]}],"summary":"Review your ability to perform an action on a particular resource or resource type"}},"/api/authorizations/v1/self_feature_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfFeatureReview"}}},"description":"Self feature review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureReviewResponse"}}},"description":"Review successfully generated"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating feature review"}},"security":[{"Bearer":[]}],"summary":"Review your ability to toggle a feature"}},"/api/authorizations/v1/self_resource_review":{"post":{"parameters":[{"$ref":"#/components/parameters/reduceClusterList"},{"$ref":"#/components/parameters/excludeSubscriptionStatuses"},{"$ref":"#/components/parameters/includeSubscriptionStatuses"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfResourceReviewRequest"}}},"description":"Self resource review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfResourceReview"}}},"description":"Successful review"},"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 self resource reviews"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unsupported action or non-existent resource type"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating access review"}},"security":[{"Bearer":[]}],"summary":"Obtain resource ids for resources you may perform the specified action upon. Resource ids returned as [\\"*\\"] is shorthand for all ids."}},"/api/authorizations/v1/self_terms_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfTermsReview"}}},"description":"Data to check self terms for","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TermsReviewResponse"}}},"description":"Review successfully generated"},"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"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unsupported action or non-existent resource type"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating terms review"}},"security":[{"Bearer":[]}],"summary":"Review your status of Terms"}},"/api/authorizations/v1/terms_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TermsReview"}}},"description":"Data to check terms for","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TermsReviewResponse"}}},"description":"Review successfully generated"},"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"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unsupported action, non-existent resource type, or non-existent account"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating terms review"}},"security":[{"Bearer":[]}],"summary":"Review an account\'s status of Terms"}}},"servers":[{"description":"current domain","url":"http://localhost:14321"},{"description":"Main (production) server","url":"https://api.openshift.com"},{"description":"Staging server","url":"https://api.stage.openshift.com"}]}}')}}]); \ No newline at end of file diff --git a/static/js/8171.64234381.chunk.js b/static/js/8171.64234381.chunk.js new file mode 100644 index 00000000..739f7fa0 --- /dev/null +++ b/static/js/8171.64234381.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapidocs=self.webpackChunkapidocs||[]).push([[8171],{18171:function(e){e.exports=JSON.parse('{"extras":{},"openapi":{"components":{"parameters":{"accountId":{"description":"The id of account","in":"path","name":"accountId","required":true,"schema":{"type":"string"}},"acctGrpAsgnId":{"description":"The id of account group assignment","in":"path","name":"acctGrpAsgnId","required":true,"schema":{"type":"string"}},"acctGrpId":{"description":"The id of account group","in":"path","name":"acctGrpId","required":true,"schema":{"type":"string"}},"caseId":{"description":"The id of a support case","in":"path","name":"caseId","required":true,"schema":{"type":"string"}},"deleteAssociatedResources":{"description":"If true, deletes the associated resources (e.g. role bindings) for an account along with the account itself","in":"query","name":"deleteAssociatedResources","required":false,"schema":{"type":"boolean"}},"dryRun":{"description":"If true, instructs API to avoid making any changes, but rather run through validations only.","in":"query","name":"dryRun","required":false,"schema":{"type":"boolean"}},"excludeSubscriptionStatuses":{"description":"A comma-separated list of subscription statuses. Subscriptions with these statuses will be excluded from results. This options is mutually exclusive with includeSubscriptionStatuses.","in":"query","name":"excludeSubscriptionStatuses","required":false,"schema":{"type":"string"}},"externalResourceId":{"description":"The external resource id of record","in":"path","name":"externalResourceId","required":true,"schema":{"type":"string"}},"fetchAccounts":{"description":"If true, includes the account reference information in the output. Could slow request response time.","in":"query","name":"fetchAccounts","required":false,"schema":{"type":"boolean"}},"fetchCapabilities":{"description":"If true, includes the capabilities on a subscription in the output. Could slow request response time.","in":"query","name":"fetchCapabilities","required":false,"schema":{"type":"boolean"}},"fetchCloudAccounts":{"description":"If true, includes the marketplace cloud accounts in the output. Could slow request response time.","in":"query","name":"fetchCloudAccounts","required":false,"schema":{"type":"boolean"}},"fetchCpuAndSocket":{"description":"If true, fetches, from the clusters service, the total numbers of CPU\'s and sockets under an obligation, and includes in the output. Could slow request response time.","in":"query","name":"fetchCpuAndSocket","required":false,"schema":{"type":"boolean"}},"fetchLabels":{"description":"If true, includes the labels on a subscription/organization/account in the output. Could slow request response time.","in":"query","name":"fetchLabels","required":false,"schema":{"type":"boolean"}},"fetchOrganization":{"description":"If true, includes the organization object on a subscription in the output. Could slow request response time.","in":"query","name":"fetchOrganization","required":false,"schema":{"type":"boolean"}},"fetchRelatedResources":{"description":"If true, includes the related resources in the output. Could slow request response time.","in":"query","name":"fetchRelatedResources","required":false,"schema":{"type":"boolean"}},"fetchRhit":{"description":"If true, includes the RHIT account_id in the output. Could slow request response time.","in":"query","name":"fetchRhit","required":false,"schema":{"type":"boolean"}},"fields":{"description":"Supplies a comma-separated list of fields to be returned.\\nFields of sub-structures and of arrays use . notation.\\n.* means all field of a structure\\nExample: For each Subscription to get id, href, plan(id and kind) and labels (all fields)\\n\\n```\\nocm get subscriptions --parameter fields=id,href,plan.id,plan.kind,labels.* --parameter fetchLabels=true\\n```","in":"query","name":"fields","required":false,"schema":{"type":"string"}},"forceRecalc":{"description":"If true, includes that ConsumedQuota should be recalculated.","in":"query","name":"forceRecalc","required":false,"schema":{"type":"boolean"}},"id":{"description":"The id of record","in":"path","name":"id","required":true,"schema":{"type":"string"}},"includeSubscriptionStatuses":{"description":"A comma-separated list of subscription statuses. Only subscriptions with these statuses will be included into results. This options is mutually exclusive with excludeSubscriptionStatuses.","in":"query","name":"includeSubscriptionStatuses","required":false,"schema":{"type":"string"}},"key":{"description":"The key of the label","in":"path","name":"key","required":true,"schema":{"type":"string"}},"labels":{"description":"Specifies the criteria to filter the subscription resource based on their labels.\\nA label is represented as a `key=value` pair,\\n\\n```\\nlabels = \\"foo=bar\\"\\n```\\n\\nand multiple labels are separated by comma,\\n\\n```\\nlabels = \\"foo=bar,fooz=barz\\"\\n```","in":"query","name":"labels","required":false,"schema":{"type":"string"}},"metricName":{"description":"The name of the metric","in":"path","name":"metric_name","required":true,"schema":{"type":"string"}},"metricSearch":{"description":"The `search` paramter specifies the PromQL selector. The syntax is defined by Prometheus at\\nhttps://prometheus.io/docs/prometheus/latest/querying/basics/#time-series-selectors.\\nIt only supports simple selections as shown in https://prometheus.io/docs/prometheus/latest/querying/examples/#simple-time-series-selection.\\nFor example, in order to retrieve subscription_sync_total with names starting with `managed` and with a channel = `production`:\\n\\n```\\nname=~\'managed.*\',channel=\'production\'\\n```\\n\\nIf the parameter isn\'t provided, or if the value is empty, then all the records will be returned.","in":"query","name":"search","required":false,"schema":{"type":"string"}},"name":{"description":"The name of the default capability","in":"path","name":"name","required":true,"schema":{"type":"string"}},"orderBy":{"description":"Specifies the order by criteria. The syntax of this parameter is\\nsimilar to the syntax of the _order by_ clause of an SQL statement,\\nbut using the names of the json attributes / column of the account.\\nFor example, in order to retrieve all accounts ordered by username:\\n\\n```sql\\nusername asc\\n```\\n\\nOr in order to retrieve all accounts ordered by username _and_ first name:\\n\\n```sql\\nusername asc, firstName asc\\n```\\n\\nIf the parameter isn\'t provided, or if the value is empty, then\\nno explicit ordering will be applied.","in":"query","name":"orderBy","required":false,"schema":{"type":"string"}},"orgId":{"description":"The id of organization","in":"path","name":"orgId","required":true,"schema":{"type":"string"}},"page":{"description":"Page number of record list when record list exceeds specified page size","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},"product":{"description":"The product for self_entitlement. The supported products are [rosa].","in":"path","name":"product","required":true,"schema":{"type":"string"}},"quotaId":{"description":"The id of quota","in":"path","name":"quotaId","required":true,"schema":{"type":"string"}},"reduceClusterList":{"description":"If true, When returning a list of cluster_ids/cluster_uuids/subscription_ids, if those are already included in one of the organizations provided in organization_ids, do not include it in the list.","in":"query","name":"reduceClusterList","required":false,"schema":{"type":"boolean"}},"reservedResourceId":{"description":"The id of reserved resource","in":"path","name":"reservedResourceId","required":true,"schema":{"type":"string"}},"rotationId":{"description":"The id of the pull secret rotation","in":"path","name":"rotationId","required":true,"schema":{"type":"string"}},"search":{"description":"Specifies the search criteria. The syntax of this parameter is\\nsimilar to the syntax of the _where_ clause of an SQL statement,\\nusing the names of the json attributes / column names of the account.\\nFor example, in order to retrieve all the accounts with a username starting with `my`:\\n\\n```sql\\nusername like \'my%\'\\n```\\n\\n> **Important Note**:\\nAccount Management Service uses **KSUID** as an **ID** field.\\nKSUID contains a timestamp component that allows them to be sorted by generation time.\\nAs this field uses an index, please use it to sort by instead of `created_at` field.\\n\\nThe search criteria can also be applied on related resource.\\nFor example, in order to retrieve all the subscriptions labeled by `foo=bar`,\\n\\n```sql\\nlabels.key = \'foo\' and labels.value = \'bar\'\\n```\\n\\nIf the parameter isn\'t provided, or if the value is empty, then\\nall the accounts that the user has permission to see will be\\nreturned.","in":"query","name":"search","required":false,"schema":{"type":"string"}},"size":{"description":"Maximum number of records to return","in":"query","name":"size","required":false,"schema":{"default":100,"minimum":0,"type":"integer"}},"subId":{"description":"The id of subscription","in":"path","name":"subId","required":true,"schema":{"type":"string"}}},"schemas":{"AccessReview":{"properties":{"account_username":{"type":"string"},"action":{"enum":["get","list","create","delete","update"],"type":"string"},"cluster_id":{"type":"string"},"cluster_uuid":{"type":"string"},"organization_id":{"type":"string"},"resource_type":{"enum":["AddOn","Flavour","Account","AccountPool","Cluster","Plan","Subscription","Organization","Role","Permission","RoleBinding","Registry","RegistryCredential","CurrentAccount","AccessReview","SelfAcccessReview","ResourceReview","SelfResourceReview","ClusterRegistration","AccessToken","ClusterAuthorization","SelfManagedCluster","RedhatManagedCluster","ExportControlReview","ClusterLog","ClusterCredential","ClusterMetric","ResourceQuota","ReservedResource","Dashboard","ClusterProviderAndRegion","ServiceLog","InternalServiceLog","CSLogs","SubscriptionLabel","OrganizationLabel","SubscriptionLabelInternal","SelfAccessReview","SubscriptionInternal","SubscriptionRoleBinding","ClusterSelfManaged","ClusterSelfManagedAddon","ClusterSelfManagedLabel","ClusterSelfManagedStatus"],"type":"string"},"subscription_id":{"type":"string"}},"required":["action","resource_type","account_username"],"type":"object"},"AccessReviewResponse":{"properties":{"account_id":{"type":"string"},"action":{"enum":["get","list","create","delete","update"],"type":"string"},"allowed":{"type":"boolean"},"cluster_id":{"type":"string"},"cluster_uuid":{"type":"string"},"is_ocm_internal":{"type":"boolean"},"organization_id":{"type":"string"},"reason":{"type":"string"},"resource_type":{"enum":["AddOn","Flavour","Account","AccountPool","Cluster","Plan","Subscription","Organization","Role","Permission","RoleBinding","Registry","RegistryCredential","CurrentAccount","AccessReview","SelfAcccessReview","ResourceReview","SelfResourceReview","ClusterRegistration","AccessToken","ClusterAuthorization","SelfManagedCluster","RedhatManagedCluster","ExportControlReview","ClusterLog","ClusterCredential","ClusterMetric","ResourceQuota","ReservedResource","Dashboard","ClusterProviderAndRegion","ServiceLog","InternalServiceLog","CSLogs","SubscriptionLabel","OrganizationLabel","SubscriptionLabelInternal","SelfAccessReview","SubscriptionInternal","SubscriptionRoleBinding","ClusterSelfManaged","ClusterSelfManagedAddon","ClusterSelfManagedLabel","ClusterSelfManagedStatus"],"type":"string"},"subscription_id":{"type":"string"}},"required":["allowed"],"type":"object"},"AccessTokenCfg":{"properties":{"auths":{"additionalProperties":true,"type":"object"}},"required":["auths"],"type":"object"},"Account":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"ban_code":{"type":"string"},"ban_description":{"type":"string"},"banned":{"default":false,"type":"boolean"},"capabilities":{"items":{"$ref":"#/components/schemas/Capability"},"type":"array"},"created_at":{"format":"date-time","type":"string"},"email":{"format":"email","type":"string"},"first_name":{"type":"string"},"labels":{"items":{"$ref":"#/components/schemas/Label"},"type":"array"},"last_name":{"type":"string"},"organization":{"$ref":"#/components/schemas/Organization"},"organization_id":{"type":"string"},"rhit_account_id":{"type":"string"},"rhit_web_user_id":{"type":"string"},"service_account":{"default":false,"type":"boolean"},"updated_at":{"format":"date-time","type":"string"},"username":{"type":"string"}},"required":["username"],"type":"object"}]},"AccountGroup":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"created_at":{"format":"date-time","type":"string"},"description":{"type":"string"},"external_id":{"type":"string"},"managed_by":{"enum":["SSO","OCM","RBAC"],"type":"string"},"name":{"type":"string"},"organization_id":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"required":["name","description","organization_id","managed_by"],"type":"object"}]},"AccountGroupAssignment":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"account_group_id":{"type":"string"},"account_id":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"managed_by":{"enum":["OCM","RBAC"],"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"required":["account_id","account_group_id","managed_by"],"type":"object"}]},"AccountGroupAssignmentList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/AccountGroupAssignment"},"type":"array"}},"type":"object"}]},"AccountGroupList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/AccountGroup"},"type":"array"}},"type":"object"}]},"AccountGroupRequest":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"description":{"type":"string"},"name":{"type":"string"}},"required":["name","description"],"type":"object"}]},"AccountList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Account"},"type":"array"}},"type":"object"}]},"AccountPatchRequest":{"properties":{"ban_code":{"type":"string"},"ban_description":{"type":"string"},"banned":{"type":"boolean"},"email":{"format":"email","type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"organization_id":{"type":"string"},"service_account":{"type":"boolean"}},"type":"object"},"AccountReference":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"email":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"name":{"type":"string"},"username":{"type":"string"}},"type":"object"}]},"BillingModel":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"billing_model_type":{"enum":["standard","marketplace","marketplace-aws","marketplace-azure","marketplace-rhm","marketplace-gcp"],"type":"string"},"description":{"type":"string"},"display_name":{"type":"string"},"id":{"type":"string"},"marketplace":{"type":"string"}},"required":["id","billing_model_type","display_name","description"],"type":"object"}]},"BillingModelList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/BillingModel"},"type":"array"}},"type":"object"}]},"Capability":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"inherited":{"type":"boolean"},"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value","inherited"],"type":"object"}]},"CapabilityList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Capability"},"type":"array"}},"type":"object"}]},"CapabilityReview":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object"},"CapabilityReviewRequest":{"properties":{"account_username":{"type":"string"},"capability":{"enum":["manage_cluster_admin"],"type":"string"},"cluster_id":{"type":"string"},"organization_id":{"type":"string"},"subscription_id":{"type":"string"},"type":{"enum":["Cluster"],"type":"string"}},"required":["account_username","type","capability"],"type":"object"},"Certificate":{"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"},"CertificateSerial":{"properties":{"created":{"format":"date-time","type":"string"},"expiration":{"format":"date-time","type":"string"},"id":{"format":"int64","type":"integer"},"serial":{"format":"int64","type":"integer"},"updated":{"format":"date-time","type":"string"}},"required":["id","serial","created","updated","expiration"],"type":"object"},"CertificatesRequest":{"properties":{"arch":{"enum":["x86","x86_64","ppc","ppc64","ppc64le","s390","s390x","ia64","aarch64"],"type":"string"},"type":{"enum":["sca"],"type":"string"}},"required":["type"],"type":"object"},"CloudAccount":{"properties":{"cloud_account_id":{"type":"string"},"cloud_provider_id":{"type":"string"},"contracts":{"items":{"$ref":"#/components/schemas/Contract"},"type":"array"}},"type":"object"},"CloudResource":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"active":{"default":true,"type":"boolean"},"category":{"type":"string"},"category_pretty":{"type":"string"},"ccs_only":{"type":"boolean"},"cloud_provider":{"type":"string"},"cpu_cores":{"type":"integer"},"created_at":{"format":"date-time","type":"string"},"generic_name":{"type":"string"},"memory":{"format":"int64","type":"integer"},"memory_pretty":{"type":"string"},"name_pretty":{"type":"string"},"resource_type":{"enum":["addon","compute.node","cluster","network.io","network.loadbalancer","pv.storage"],"type":"string"},"size_pretty":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"CloudResourceList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/CloudResource"},"type":"array"}},"type":"object"}]},"ClusterAuthorizationRequest":{"properties":{"account_username":{"type":"string"},"availability_zone":{"type":"string"},"byoc":{"type":"boolean"},"cloud_account_id":{"type":"string"},"cloud_provider_id":{"type":"string"},"cluster_id":{"type":"string"},"disconnected":{"type":"boolean"},"display_name":{"type":"string"},"external_cluster_id":{"type":"string"},"managed":{"type":"boolean"},"product_category":{"enum":["assistedInstall","HostedControlPlane"],"type":"string"},"product_id":{"default":"OSD","enum":["OCP","OSD","OSDTrial","MOA","RHMI","RHOSAK","RHOSAKTrial","RHOSR","RHOSRTrial","RHOSE","RHOSETrial","RHACS","RHACSTrial","ARO","RHOIC"],"type":"string"},"quota_version":{"type":"string"},"reserve":{"type":"boolean"},"resources":{"items":{"$ref":"#/components/schemas/ReservedResource"},"type":"array"},"scope":{"type":"string"},"xcm_id":{"type":"string"}},"required":["cluster_id","account_username"],"type":"object"},"ClusterAuthorizationResponse":{"properties":{"allowed":{"type":"boolean"},"excess_resources":{"items":{"$ref":"#/components/schemas/ExcessResource"},"type":"array"},"organization_id":{"type":"string"},"subscription":{"$ref":"#/components/schemas/ObjectReference"}},"required":["allowed","excess_resources"],"type":"object"},"ClusterMetricsNodes":{"properties":{"arch":{"type":"string"},"compute":{"format":"double","type":"number"},"infra":{"format":"double","type":"number"},"master":{"format":"double","type":"number"},"total":{"format":"double","type":"number"}},"type":"object"},"ClusterRegistrationRequest":{"properties":{"authorization_token":{"type":"string"},"cluster_id":{"type":"string"}},"type":"object"},"ClusterRegistrationResponse":{"properties":{"account_id":{"type":"string"},"authorization_token":{"type":"string"},"cluster_id":{"type":"string"},"expires_at":{"description":"Cluster Registration expiration in Unix time","type":"string"}},"type":"object"},"ClusterResource":{"properties":{"total":{"properties":{"unit":{"type":"string"},"value":{"format":"double","type":"number"}},"required":["value","unit"],"type":"object"},"updated_timestamp":{"format":"date-time","type":"string"},"used":{"properties":{"unit":{"type":"string"},"value":{"format":"double","type":"number"}},"required":["value","unit"],"type":"object"}},"required":["used","total","updated_timestamp"],"type":"object"},"ClusterTransfer":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"cluster_uuid":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"expiration_date":{"format":"date-time","type":"string"},"owner":{"type":"string"},"pull_secret_rotation_id":{"type":"string"},"recipient":{"type":"string"},"secret":{"type":"string"},"status":{"enum":["Pending","Accepted","Declined","Rescinded","Completed"],"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"ClusterTransferList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/ClusterTransfer"},"type":"array"}},"type":"object"}]},"ClusterTransferPatchRequest":{"properties":{"status":{"type":"string"}},"type":"object"},"ClusterTransferRequest":{"properties":{"cluster_uuid":{"type":"string"},"owner":{"type":"string"},"recipient":{"type":"string"}},"type":"object"},"ClusterUpgrade":{"properties":{"available":{"type":"boolean"},"state":{"type":"string"},"updated_timestamp":{"format":"date-time","type":"string"},"version":{"type":"string"}},"type":"object"},"ConsumedQuota":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"availability_zone_type":{"type":"string"},"billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-rhm","marketplace-azure","marketplace-gcp"],"type":"string"},"byoc":{"type":"boolean"},"cloud_provider_id":{"type":"string"},"count":{"type":"integer"},"organization_id":{"type":"string"},"plan_id":{"type":"string"},"resource_name":{"type":"string"},"resource_type":{"type":"string"},"version":{"type":"string"}},"required":["byoc","count"],"type":"object"}]},"ConsumedQuotaList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/ConsumedQuota"},"type":"array"}},"type":"object"}]},"Contract":{"properties":{"dimensions":{"items":{"$ref":"#/components/schemas/ContractDimension"},"type":"array"},"end_date":{"format":"date-time","type":"string"},"start_date":{"format":"date-time","type":"string"}},"type":"object"},"ContractDimension":{"properties":{"name":{"type":"string"},"value":{"type":"string"}},"type":"object"},"DefaultCapability":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"type":"object"}]},"DefaultCapabilityList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/DefaultCapability"},"type":"array"}},"type":"object"}]},"DeletedSubscription":{"allOf":[{"$ref":"#/components/schemas/SubscriptionCommonFields"},{"properties":{"created_at":{"format":"date-time","type":"string"},"id":{"type":"string"},"metrics":{"type":"string"},"original_id":{"type":"string"},"query_timestamp":{"format":"date-time","type":"string"}},"type":"object"}]},"DeletedSubscriptionList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/DeletedSubscription"},"type":"array"}},"type":"object"}]},"EphemeralResourceQuota":{"properties":{"availability_zone_type":{"type":"string"},"byoc":{"type":"boolean"},"resource_name":{"type":"string"},"resource_type":{"type":"string"},"sku":{"type":"string"},"sku_count":{"type":"integer"}},"type":"object"},"Error":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"code":{"type":"string"},"operation_id":{"type":"string"},"reason":{"type":"string"}},"type":"object"}]},"ErrorList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Error"},"type":"array"}},"type":"object"}]},"ExcessResource":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"availability_zone_type":{"type":"string"},"billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-rhm","marketplace-azure","marketplace-gcp"],"type":"string"},"byoc":{"type":"boolean"},"count":{"type":"integer"},"resource_name":{"type":"string"},"resource_type":{"type":"string"}},"required":["byoc"],"type":"object"}]},"ExportControlReview":{"properties":{"restricted":{"type":"boolean"}},"required":["restricted"],"type":"object"},"ExportControlReviewRequest":{"properties":{"account_username":{"type":"string"},"ignore_cache":{"type":"boolean"}},"required":["account_username"],"type":"object"},"FeatureReview":{"properties":{"account_username":{"type":"string"},"feature":{"type":"string"},"organization_id":{"type":"string"}},"required":["feature"],"type":"object"},"FeatureReviewResponse":{"properties":{"enabled":{"default":false,"type":"boolean"},"feature_id":{"type":"string"}},"required":["enabled","feature_id"],"type":"object"},"FeatureToggle":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"enabled":{"default":false,"type":"boolean"}},"required":["enabled"],"type":"object"}]},"FeatureToggleQueryRequest":{"allOf":[{"properties":{"organization_id":{"type":"string"}},"required":["organization_id"],"type":"object"}]},"Label":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"account_id":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"internal":{"type":"boolean"},"key":{"type":"string"},"managed_by":{"enum":["Config","User"],"type":"string"},"organization_id":{"type":"string"},"subscription_id":{"type":"string"},"type":{"type":"string"},"updated_at":{"format":"date-time","type":"string"},"value":{"type":"string"}},"required":["key","value","internal"],"type":"object"}]},"LabelList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Label"},"type":"array"}},"type":"object"}]},"LandingPageCTLItem":{"properties":{"shape":{"properties":{"description":{"type":"string"},"link":{"$ref":"#/components/schemas/LandingPageLinkShape"},"title":{"type":"string"}},"type":"object"}},"type":"object"},"LandingPageEstateItem":{"properties":{"count":{"format":"int64","type":"integer"},"id":{"type":"string"},"shape":{"$ref":"#/components/schemas/LandingPageLinkShape"}},"type":"object"},"LandingPageLinkShape":{"properties":{"href":{"type":"string"},"title":{"type":"string"}},"type":"object"},"List":{"properties":{"kind":{"type":"string"},"page":{"type":"integer"},"size":{"type":"integer"},"total":{"type":"integer"}},"required":["kind","page","size","total","items"],"type":"object"},"Metric":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"external_id":{"type":"string"},"health_state":{"type":"string"},"id":{"type":"string"},"metrics":{"type":"string"},"query_timestamp":{"format":"date-time","type":"string"}},"type":"object"}]},"MetricsList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Metric"},"type":"array"}},"type":"object"}]},"NotificationContactCreateRequest":{"properties":{"account_identifier":{"type":"string"}},"type":"object"},"NotifyDetailsRequest":{"properties":{"bcc_address":{"type":"string"},"cluster_id":{"type":"string"},"cluster_uuid":{"type":"string"},"include_red_hat_associates":{"type":"boolean"},"internal_only":{"description":"The `internal_only` parameter is used for validation. Specifically to check if there is a discrepancy between the email address and the log type.","type":"boolean"},"org_id":{"type":"string"},"subject":{"type":"string"},"subscription_id":{"type":"string"}},"type":"object"},"NotifyDetailsResponse":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"key":{"type":"string"},"value":{"type":"string"}},"required":["key","value"],"type":"object"}]},"NotifyDetailsResponseList":{"properties":{"associates":{"items":{"type":"string"},"type":"array"},"items":{"items":{"$ref":"#/components/schemas/NotifyDetailsResponse"},"type":"array"},"recipients":{"items":{"type":"string"},"type":"array"}},"type":"object"},"ObjectReference":{"properties":{"href":{"type":"string"},"id":{"type":"string"},"kind":{"type":"string"}},"type":"object"},"OneMetric":{"properties":{"arch":{"type":"string"},"channel_info":{"type":"string"},"cloud_provider":{"type":"string"},"cluster_type":{"type":"string"},"compute_nodes_cpu":{"$ref":"#/components/schemas/ClusterResource"},"compute_nodes_memory":{"$ref":"#/components/schemas/ClusterResource"},"compute_nodes_sockets":{"$ref":"#/components/schemas/ClusterResource"},"console_url":{"type":"string"},"cpu":{"$ref":"#/components/schemas/ClusterResource"},"critical_alerts_firing":{"format":"double","type":"number"},"health_state":{"enum":["healthy","unhealthy","unknown"],"type":"string"},"memory":{"$ref":"#/components/schemas/ClusterResource"},"nodes":{"$ref":"#/components/schemas/ClusterMetricsNodes"},"nodes_arch":{"items":{"$ref":"#/components/schemas/ClusterMetricsNodes"},"type":"array"},"non_virt_nodes":{"format":"double","type":"number"},"openshift_version":{"type":"string"},"operating_system":{"type":"string"},"operators_condition_failing":{"format":"double","type":"number"},"query_timestamp":{"format":"date-time","type":"string"},"region":{"type":"string"},"sockets":{"$ref":"#/components/schemas/ClusterResource"},"state":{"type":"string"},"state_description":{"type":"string"},"storage":{"$ref":"#/components/schemas/ClusterResource"},"subscription_cpu_total":{"format":"double","type":"number"},"subscription_obligation_exists":{"format":"double","type":"number"},"subscription_socket_total":{"format":"double","type":"number"},"upgrade":{"$ref":"#/components/schemas/ClusterUpgrade"}},"required":["HealthState","memory","cpu","sockets","compute_nodes_memory","compute_nodes_cpu","compute_nodes_sockets","storage","nodes","operating_system","upgrade","state","state_description","openshift_version","cloud_provider","region","console_url","critical_alerts_firing","operators_condition_failing","subscription_cpu_total","subscription_socket_total","subscription_obligation_exists","cluster_type","non_virt_nodes"],"type":"object"},"Organization":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"capabilities":{"items":{"$ref":"#/components/schemas/Capability"},"type":"array"},"created_at":{"format":"date-time","type":"string"},"ebs_account_id":{"type":"string"},"external_id":{"type":"string"},"labels":{"items":{"$ref":"#/components/schemas/Label"},"type":"array"},"name":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"OrganizationList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Organization"},"type":"array"}},"type":"object"}]},"OrganizationPatchRequest":{"properties":{"ebs_account_id":{"type":"string"},"external_id":{"type":"string"},"name":{"type":"string"}},"type":"object"},"Permission":{"allOf":[{"properties":{"action":{"enum":["get","list","create","delete","update"],"type":"string"},"resource":{"type":"string"}},"type":"object"}]},"PermissionList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Permission"},"type":"array"}},"type":"object"}]},"Plan":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"category":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}},"type":"object"}]},"PlanList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Plan"},"type":"array"}},"type":"object"}]},"PullSecretRequest":{"properties":{"external_resource_id":{"type":"string"}},"required":["external_resource_id"],"type":"object"},"PullSecretRotation":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"account_id":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"status":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"PullSecretRotationList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/PullSecretRotation"},"type":"array"}},"type":"object"}]},"PullSecretRotationRequest":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"type":"object"}]},"Quota":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"created_at":{"format":"date-time","type":"string"},"description":{"type":"string"},"resource_type":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"QuotaAuthorizationRequest":{"properties":{"account_username":{"type":"string"},"availability_zone":{"type":"string"},"cloud_provider_id":{"type":"string"},"display_name":{"type":"string"},"product_id":{"type":"string"},"quota_version":{"type":"string"},"reserve":{"type":"boolean"},"resource_id":{"type":"string"},"resources":{"items":{"$ref":"#/components/schemas/ReservedResource"},"type":"array"},"subscription_id":{"type":"string"}},"required":["account_username","resources"],"type":"object"},"QuotaAuthorizationResponse":{"properties":{"allowed":{"type":"boolean"},"excess_resources":{"items":{"$ref":"#/components/schemas/ExcessResource"},"type":"array"},"organization_id":{"type":"string"},"subscription":{"$ref":"#/components/schemas/ObjectReference"}},"required":["allowed","excess_resources"],"type":"object"},"QuotaCost":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"allowed":{"type":"integer"},"cloud_accounts":{"items":{"$ref":"#/components/schemas/CloudAccount"},"type":"array"},"consumed":{"type":"integer"},"organization_id":{"type":"string"},"quota_id":{"type":"string"},"related_resources":{"items":{"$ref":"#/components/schemas/RelatedResource"},"type":"array"},"version":{"type":"string"}},"required":["quota_id","consumed","allowed"],"type":"object"}]},"QuotaCostList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/QuotaCost"},"type":"array"}},"type":"object"}]},"QuotaList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Quota"},"type":"array"}},"type":"object"}]},"QuotaRules":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"availability_zone":{"type":"string"},"billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-rhm","marketplace-azure","marketplace-gcp"],"type":"string"},"byoc":{"type":"string"},"cloud":{"type":"string"},"cost":{"type":"integer"},"name":{"type":"string"},"product":{"type":"string"},"quota_id":{"type":"string"},"type":{"type":"string"}},"required":["cost"],"type":"object"}]},"QuotaRulesList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/QuotaRules"},"type":"array"}},"type":"object"}]},"Registry":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"cloudAlias":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"name":{"type":"string"},"org_name":{"type":"string"},"team_name":{"type":"string"},"type":{"type":"string"},"updated_at":{"format":"date-time","type":"string"},"url":{"type":"string"}},"type":"object"}]},"RegistryAddress":{"additionalProperties":{"properties":{"auth":{"type":"string"},"email":{"format":"email","type":"string"}},"type":"object"},"type":"object"},"RegistryCreateRequest":{"allOf":[{"$ref":"#/components/schemas/RegistryRequest"},{"required":["name","url","type"]}],"type":"object"},"RegistryCredential":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"account":{"$ref":"#/components/schemas/ObjectReference"},"created_at":{"format":"date-time","type":"string"},"external_resource_id":{"type":"string"},"registry":{"$ref":"#/components/schemas/ObjectReference"},"token":{"type":"string"},"updated_at":{"format":"date-time","type":"string"},"username":{"type":"string"}},"type":"object"}]},"RegistryCredentialList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/RegistryCredential"},"type":"array"}},"type":"object"}]},"RegistryCredentialPatchRequest":{"properties":{"account_id":{"type":"string"},"external_resource_id":{"type":"string"},"registry_id":{"type":"string"},"token":{"type":"string"},"username":{"type":"string"}},"type":"object"},"RegistryList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Registry"},"type":"array"}},"type":"object"}]},"RegistryRequest":{"properties":{"cloudAlias":{"type":"boolean"},"name":{"type":"string"},"org_name":{"type":"string"},"team_name":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"}},"type":"object"},"RelatedResource":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"availability_zone_type":{"type":"string"},"billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-rhm","marketplace-azure","marketplace-gcp"],"type":"string"},"byoc":{"type":"string"},"cloud_provider":{"type":"string"},"cost":{"type":"integer"},"product":{"type":"string"},"product_id":{"type":"string"},"resource_name":{"type":"string"},"resource_type":{"type":"string"}},"required":["resource_type","resource_anme","byoc","availability_zone_type","cloud_provider","product","billing_model","cost"],"type":"object"}]},"ReservedResource":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"availability_zone_type":{"type":"string"},"billing_marketplace_account":{"type":"string"},"billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-rhm","marketplace-azure","marketplace-gcp"],"type":"string"},"byoc":{"type":"boolean"},"cluster":{"type":"boolean"},"count":{"type":"integer"},"created_at":{"format":"date-time","type":"string"},"resource_name":{"type":"string"},"resource_type":{"enum":["compute.node.aws","pv.storage.aws","cluster.aws","network.io.aws","network.loadbalancer.aws","compute.node.gcp","pv.storage.gcp","cluster.gcp","network.io.gcp","network-gcp.loadbalancer.gcp","addon","compute.node","pv.storage","cluster","network.io","network.loadbalancer"],"type":"string"},"scope":{"type":"string"},"subscription":{"$ref":"#/components/schemas/ObjectReference"},"updated_at":{"format":"date-time","type":"string"}},"required":["byoc"],"type":"object"}]},"ReservedResourceList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/ReservedResource"},"type":"array"}},"type":"object"}]},"ReservedResourcePatchRequest":{"properties":{"billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-rhm","marketplace-azure","marketplace-gcp"],"type":"string"}},"type":"object"},"ResourceQuota":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"created_at":{"format":"date-time","type":"string"},"organization_id":{"type":"string"},"sku":{"type":"string"},"sku_count":{"type":"integer"},"type":{"enum":["Config","Manual","Subscription"],"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"required":["sku_count"],"type":"object"}]},"ResourceQuotaList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/ResourceQuota"},"type":"array"}},"type":"object"}]},"ResourceQuotaRequest":{"properties":{"sku":{"type":"string"},"sku_count":{"type":"integer"},"type":{"enum":["Config","Manual","Subscription"],"type":"string"}},"required":["sku","sku_count","count"],"type":"object"},"ResourceReview":{"properties":{"account_username":{"type":"string"},"action":{"enum":["get","list","create","delete","update"],"type":"string"},"cluster_ids":{"items":{"type":"string"},"type":"array"},"cluster_uuids":{"items":{"type":"string"},"type":"array"},"organization_ids":{"items":{"type":"string"},"type":"array"},"resource_type":{"enum":["Cluster","Subscription"],"type":"string"},"subscription_ids":{"items":{"type":"string"},"type":"array"}},"required":["action","resource_type","account_username","cluster_uuids","cluster_ids","subscription_ids","organization_ids"],"type":"object"},"ResourceReviewRequest":{"properties":{"account_username":{"type":"string"},"action":{"enum":["get","delete","update"],"type":"string"},"resource_type":{"enum":["Cluster","Subscription"],"type":"string"}},"type":"object"},"Role":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"name":{"type":"string"},"permissions":{"items":{"$ref":"#/components/schemas/Permission"},"type":"array"}},"type":"object"}]},"RoleBinding":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"account":{"$ref":"#/components/schemas/ObjectReference"},"account_group":{"$ref":"#/components/schemas/ObjectReference"},"config_managed":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"managed_by":{"enum":["Config","User","RBAC"],"type":"string"},"organization":{"$ref":"#/components/schemas/ObjectReference"},"role":{"$ref":"#/components/schemas/ObjectReference"},"subscription":{"$ref":"#/components/schemas/ObjectReference"},"type":{"enum":["Application","Subscription","Organization"],"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"RoleBindingCreateRequest":{"allOf":[{"$ref":"#/components/schemas/RoleBindingRequest"},{"required":["role_id","type"]}]},"RoleBindingList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/RoleBinding"},"type":"array"}},"type":"object"}]},"RoleBindingRequest":{"properties":{"account_group_id":{"type":"string"},"account_id":{"type":"string"},"config_managed":{"type":"boolean"},"managed_by":{"type":"string"},"organization_id":{"type":"string"},"role_id":{"type":"string"},"subscription_id":{"type":"string"},"type":{"type":"string"}},"type":"object"},"RoleList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Role"},"type":"array"}},"type":"object"}]},"SKU":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"created_at":{"format":"date-time","type":"string"},"description":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"SelfAccessReview":{"properties":{"action":{"enum":["get","list","create","delete","update"],"type":"string"},"cluster_id":{"type":"string"},"cluster_uuid":{"type":"string"},"organization_id":{"type":"string"},"resource_type":{"enum":["AddOn","Flavour","Account","AccountPool","Cluster","Plan","Subscription","Organization","Role","Permission","RoleBinding","Registry","RegistryCredential","CurrentAccount","AccessReview","SelfAcccessReview","ResourceReview","SelfResourceReview","ClusterRegistration","AccessToken","ClusterAuthorization","SelfManagedCluster","RedhatManagedCluster","ExportControlReview","ClusterLog","ClusterCredential","ClusterMetric","ResourceQuota","ReservedResource","Dashboard","ClusterProviderAndRegion","ServiceLog","InternalServiceLog","CSLogs","SubscriptionLabel","OrganizationLabel","SubscriptionLabelInternal","SelfAccessReview","SubscriptionInternal","SubscriptionRoleBinding","ClusterSelfManaged","ClusterSelfManagedAddon","ClusterSelfManagedLabel","ClusterSelfManagedStatus","ClusterKubeletConfig","ClusterBreakGlassCredential"],"type":"string"},"subscription_id":{"type":"string"}},"required":["action","resource_type"],"type":"object"},"SelfEntitlementStatus":{"properties":{"product":{"type":"string"},"status":{"type":"string"}},"type":"object"},"SelfFeatureReview":{"properties":{"feature":{"type":"string"}},"required":["feature"],"type":"object"},"SelfResourceReview":{"properties":{"action":{"enum":["get","list","create","delete","update"],"type":"string"},"cluster_ids":{"items":{"type":"string"},"type":"array"},"cluster_uuids":{"items":{"type":"string"},"type":"array"},"organization_ids":{"items":{"type":"string"},"type":"array"},"resource_type":{"enum":["Cluster","Subscription"],"type":"string"},"subscription_ids":{"items":{"type":"string"},"type":"array"}},"required":["action","resource_type","cluster_uuids","cluster_ids","subscription_ids","organization_ids"],"type":"object"},"SelfResourceReviewRequest":{"properties":{"action":{"enum":["get","delete","update"],"type":"string"},"resource_type":{"enum":["Cluster","Subscription"],"type":"string"}},"type":"object"},"SelfServiceLandingPageSchema":{"properties":{"configTryLearn":{"properties":{"configure":{"items":{"$ref":"#/components/schemas/LandingPageCTLItem"},"type":"array"},"try":{"items":{"$ref":"#/components/schemas/LandingPageCTLItem"},"type":"array"}},"type":"object"},"estate":{"properties":{"items":{"items":{"$ref":"#/components/schemas/LandingPageEstateItem"},"type":"array"}},"type":"object"}},"type":"object"},"SelfTermsReview":{"properties":{"check_optional_terms":{"default":true,"type":"boolean"},"event_code":{"type":"string"},"site_code":{"type":"string"}},"type":"object"},"SkuList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/SKU"},"type":"array"}},"type":"object"}]},"SkuRules":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"allowed":{"type":"integer"},"quota_id":{"type":"string"},"sku":{"type":"string"}},"type":"object"}]},"SkuRulesList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/SkuRules"},"type":"array"}},"type":"object"}]},"Subscription":{"allOf":[{"$ref":"#/components/schemas/SubscriptionCommonFields"},{"properties":{"capabilities":{"items":{"$ref":"#/components/schemas/Capability"},"type":"array"},"created_at":{"format":"date-time","type":"string"},"creator":{"$ref":"#/components/schemas/AccountReference"},"eval_expiration_date":{"description":"Calulated as the subscription created date + 60 days","format":"date-time","type":"string"},"labels":{"items":{"$ref":"#/components/schemas/Label"},"type":"array"},"metrics":{"items":{"$ref":"#/components/schemas/OneMetric"},"maxItems":1,"type":"array"},"notification_contacts":{"items":{"$ref":"#/components/schemas/Account"},"type":"array"},"plan":{"$ref":"#/components/schemas/Plan"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"SubscriptionCommonFields":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"billing_expiration_date":{"description":"If set, the date the subscription expires based on the billing model","format":"date-time","type":"string"},"billing_marketplace_account":{"type":"string"},"cloud_account_id":{"type":"string"},"cloud_provider_id":{"type":"string"},"cluster_billing_model":{"type":"string"},"cluster_id":{"type":"string"},"console_url":{"type":"string"},"consumer_uuid":{"type":"string"},"cpu_total":{"type":"integer"},"creator_id":{"type":"string"},"display_name":{"type":"string"},"external_cluster_id":{"type":"string"},"last_reconcile_date":{"description":"Last time this subscription were reconciled about cluster usage","format":"date-time","type":"string"},"last_released_at":{"description":"Last time status was set to Released for this cluster/subscription in Unix time","format":"date-time","type":"string"},"last_telemetry_date":{"description":"Last telemetry authorization request for this cluster/subscription in Unix time","format":"date-time","type":"string"},"managed":{"type":"boolean"},"organization":{"$ref":"#/components/schemas/Organization"},"organization_id":{"type":"string"},"plan_id":{"type":"string"},"product_bundle":{"enum":["Openshift","JBoss-Middleware","IBM-CloudPak"],"type":"string"},"provenance":{"type":"string"},"region_id":{"type":"string"},"released":{"type":"boolean"},"service_level":{"enum":["L1-L3","L3-only"],"type":"string"},"socket_total":{"type":"integer"},"status":{"type":"string"},"support_level":{"enum":["Eval","Standard","Premium","Self-Support","None","Supported By IBM"],"type":"string"},"system_units":{"enum":["Cores/vCPU","Sockets"],"type":"string"},"trial_end_date":{"description":"If the subscription is a trial, date the trial ends","format":"date-time","type":"string"},"usage":{"enum":["Production","Development/Test","Disaster Recovery","Academic"],"type":"string"},"xcm_id":{"type":"string"}},"required":["managed"],"type":"object"}]},"SubscriptionCreateRequest":{"properties":{"cluster_uuid":{"type":"string"},"console_url":{"type":"string"},"display_name":{"type":"string"},"plan_id":{"enum":["OCP"],"type":"string"},"status":{"enum":["Disconnected"],"type":"string"}},"required":["cluster_uuid","status","plan_id"],"type":"object"},"SubscriptionList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/Subscription"},"type":"array"}},"type":"object"}]},"SubscriptionMetric":{"allOf":[{"properties":{"_id":{"type":"string"}},"type":"object"}]},"SubscriptionMetricList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/SubscriptionMetric"},"type":"array"}},"type":"object"}]},"SubscriptionPatchRequest":{"properties":{"billing_expiration_date":{"format":"date-time","type":"string"},"cloud_account_id":{"type":"string"},"cloud_provider_id":{"type":"string"},"cluster_billing_model":{"enum":["standard","marketplace","marketplace-aws","marketplace-azure","marketplace-rhm","marketplace-gcp"],"type":"string"},"cluster_id":{"type":"string"},"console_url":{"type":"string"},"consumer_uuid":{"type":"string"},"cpu_total":{"type":"integer"},"creator_id":{"type":"string"},"display_name":{"type":"string"},"external_cluster_id":{"type":"string"},"managed":{"type":"boolean"},"organization_id":{"type":"string"},"plan_id":{"type":"string"},"product_bundle":{"enum":["Openshift","JBoss-Middleware","IBM-CloudPak"],"type":"string"},"provenance":{"type":"string"},"region_id":{"type":"string"},"released":{"type":"boolean"},"service_level":{"enum":["L1-L3","L3-only"],"type":"string"},"socket_total":{"type":"integer"},"status":{"type":"string"},"support_level":{"enum":["Eval","Standard","Premium","Self-Support","None","SupportedByIBM"],"type":"string"},"system_units":{"enum":["Cores/vCPU","Sockets"],"type":"string"},"trial_end_date":{"format":"date-time","type":"string"},"usage":{"enum":["Production","Development/Test","Disaster Recovery","Academic"],"type":"string"}},"type":"object"},"SubscriptionRoleBinding":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"account":{"$ref":"#/components/schemas/AccountReference"},"account_email":{"type":"string"},"account_username":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"role":{"$ref":"#/components/schemas/ObjectReference"},"subscription":{"$ref":"#/components/schemas/ObjectReference"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"}]},"SubscriptionRoleBindingCreateRequest":{"properties":{"account_username":{"type":"string"},"role_id":{"type":"string"}},"required":["role_id","account_username"],"type":"object"},"SubscriptionRoleBindingList":{"allOf":[{"$ref":"#/components/schemas/List"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/SubscriptionRoleBinding"},"type":"array"}},"type":"object"}]},"Summary":{"allOf":[{"$ref":"#/components/schemas/ObjectReference"},{"properties":{"metrics":{"items":{"$ref":"#/components/schemas/SummaryMetrics"},"type":"array"},"name":{"type":"string"}},"required":["metrics"],"type":"object"}]},"SummaryMetrics":{"allOf":[{"properties":{"name":{"type":"string"},"vector":{"items":{"$ref":"#/components/schemas/SummaryVector"},"type":"array"}},"type":"object"}]},"SummaryVector":{"allOf":[{"properties":{"time":{"format":"date-time","type":"string"},"value":{"format":"double","type":"number"}},"type":"object"}]},"SupportCasesCreatedResponse":{"properties":{"caseNumber":{"type":"string"},"cluster_id":{"type":"string"},"cluster_uuid":{"type":"string"},"description":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"subscription_id":{"type":"string"},"summary":{"type":"string"},"uri":{"type":"string"}},"type":"object"},"SupportCasesRequest":{"properties":{"account_number":{"type":"string"},"case_language":{"type":"string"},"cluster_id":{"type":"string"},"cluster_uuid":{"type":"string"},"contact_sso_name":{"type":"string"},"description":{"type":"string"},"event_stream_id":{"type":"string"},"openshift_cluster_id":{"type":"string"},"product":{"default":"OpenShift Container Platform","type":"string"},"severity":{"enum":["1 (Urgent)","2 (High)","3 (Normal)","4 (Low)"],"type":"string"},"subscription_id":{"type":"string"},"summary":{"type":"string"},"version":{"default":"4.10","type":"string"}},"required":["summary","description","severity"],"type":"object"},"TermsReview":{"properties":{"account_username":{"type":"string"},"check_optional_terms":{"default":true,"type":"boolean"},"event_code":{"type":"string"},"site_code":{"type":"string"}},"required":["account_username"],"type":"object"},"TermsReviewResponse":{"properties":{"account_id":{"type":"string"},"organization_id":{"type":"string"},"redirect_url":{"type":"string"},"terms_available":{"type":"boolean"},"terms_required":{"type":"boolean"}},"required":["account_id","organization_id","terms_available","terms_required"],"type":"object"},"TokenAuthorizationRequest":{"properties":{"authorization_token":{"type":"string"}},"type":"object"},"TokenAuthorizationResponse":{"properties":{"account":{"$ref":"#/components/schemas/Account"}},"type":"object"}},"securitySchemes":{"AccessToken":{"description":"Authorization: AccessToken {cluster-uuid}:{access-token}","in":"header","name":"Authorization","type":"apiKey"},"Bearer":{"bearerFormat":"JWT","scheme":"bearer","type":"http"}}},"info":{"description":"Manage user subscriptions and clusters","title":"Account Management Service API","version":"0.0.1"},"openapi":"3.0.0","paths":{"/api/accounts_mgmt/v1/access_token":{"post":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenCfg"}}},"description":"access token from registries in docker format"},"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":"Cannot find registry"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Return access token generated from registries in docker format"}},"/api/accounts_mgmt/v1/accounts":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fetchLabels"},{"$ref":"#/components/parameters/fetchCapabilities"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountList"}}},"description":"A JSON array of account objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of accounts"},"post":{"parameters":[{"$ref":"#/components/parameters/dryRun"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account can be created without dryRun parameter"},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Account already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the account"}},"security":[{"Bearer":[]}],"summary":"Create a new account"}},"/api/accounts_mgmt/v1/accounts/{id}":{"delete":{"parameters":[{"$ref":"#/components/parameters/deleteAssociatedResources"}],"responses":{"204":{"description":"Account successfully deleted"},"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":"No account with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Delete an account by id"},"get":{"parameters":[{"$ref":"#/components/parameters/fetchLabels"},{"$ref":"#/components/parameters/fetchCapabilities"},{"$ref":"#/components/parameters/fetchRhit"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account found by id"},"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":"No account with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get an account by id"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountPatchRequest"}}},"description":"Updated account data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account updated successfully"},"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":"No account with specified id exists"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Account already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating account"}},"security":[{"Bearer":[]}],"summary":"Update an account"}},"/api/accounts_mgmt/v1/accounts/{id}/labels":{"get":{"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelList"}}},"description":"A JSON array of label"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of labels"},"post":{"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Created or updated label successfully"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the label"}},"security":[{"Bearer":[]}],"summary":"Create a new label or update an existing label"}},"/api/accounts_mgmt/v1/accounts/{id}/labels/{key}":{"delete":{"responses":{"204":{"description":"Label successfully deleted"},"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":"No label with specified key on specified account id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the label"}},"security":[{"Bearer":[]}],"summary":"Delete a label"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Labels found by key"},"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":"No label with specified key on specified account id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get account labels by label key"},"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/key"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Created or updated label successfully"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Label already exists and cannot be updated"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating account label"}},"security":[{"Bearer":[]}],"summary":"Create a new label or update an existing label"}},"/api/accounts_mgmt/v1/accounts/{id}/pull_secret_rotation":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullSecretRotationList"}}},"description":"existing pull secret rotation list"},"204":{"description":"PullSecretRotation does not exist"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]},{"AccessToken":[]}],"summary":"List of pull secrets rotation"},"parameters":[{"$ref":"#/components/parameters/id"}],"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullSecretRotationRequest"}}},"description":"The contents of the pull secret rotation creation request","required":false},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullSecretRotation"}}},"description":"the pull secret rotation request has been created"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Initiate pull secret rotation for this account id"}},"/api/accounts_mgmt/v1/accounts/{id}/pull_secret_rotation/{rotationId}":{"delete":{"responses":{"204":{"description":"Pull Secret Rotation record successfully deleted"},"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":"No Pull Secret Rotation record with specified id on specified account id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the pull secret rotation record"}},"security":[{"Bearer":[]}],"summary":"Delete a single Pull Secret Rotation record"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullSecretRotation"}}},"description":"Pull secret rotation found by id for this account id"},"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":"No pull secret rotation record with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a pull secret rotation by id for a specific account"},"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/rotationId"}]},"/api/accounts_mgmt/v1/billing_models":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingModelList"}}},"description":"A JSON array of billing model objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of available billing models"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"}]},"/api/accounts_mgmt/v1/billing_models/{id}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingModel"}}},"description":"Billing model found by id"},"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":"No billing model with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a billing model"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/capabilities":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityList"}}},"description":"A JSON array of capability objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of available capabilities"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/certificates":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificatesRequest"}}},"description":"# The payload depends on the type of the requested certificate\\nThe examples for supported types:\\n* {\\"type\\": \\"sca\\", \\"arch\\": \\"x86_64\\"}\\n","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Certificate"}}},"description":"The certificate 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 certificates of a particular type"}},"/api/accounts_mgmt/v1/cloud_resources":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudResourceList"}}},"description":"A JSON array of cloud resource objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of cloud resources"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudResource"}}},"description":"Cloud resource data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudResource"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Resource already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating resource"}},"security":[{"Bearer":[]}],"summary":"Create a new cloud resource"}},"/api/accounts_mgmt/v1/cloud_resources/{id}":{"delete":{"responses":{"204":{"description":"Cloud resource successfully deleted"},"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":"No resource with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the resource"}},"security":[{"Bearer":[]}],"summary":"Delete a cloud resource"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudResource"}}},"description":"Cloud resource found by id"},"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":"No cloud resource with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a cloud resource"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudResource"}}},"description":"Updated cloud resource data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudResource"}}},"description":"Cloud resource updated successfully"},"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":"No resource with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating resource"}},"security":[{"Bearer":[]}],"summary":"Update a cloud resource"}},"/api/accounts_mgmt/v1/cluster_authorizations":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterAuthorizationRequest"}}},"description":"Cluster and authorization data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterAuthorizationResponse"}}},"description":"The authorization is successful, the requested cluster has a valid subscription and is within resource limits."},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"AMS subscription exists but is associated with another account"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The limits for this subscription are exceeded."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Other cluster authorization error"}},"security":[{"Bearer":[]}],"summary":"Authorizes new cluster creation against an exsiting RH Subscription."}},"/api/accounts_mgmt/v1/cluster_registrations":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterRegistrationRequest"}}},"description":"Cluster and authorization data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterRegistrationResponse"}}},"description":"A cluster with the specified cluster_id exists and belongs to the user with the specified registry credential token"},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterRegistrationResponse"}}},"description":"No cluster with the specified cluster exists, one was successfully created and associated with the account with the specified registry credential token"},"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":"Registry credential token is invalid"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Cluster with specified cluster_id already associated with another user"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"cluster_id provided is invalid"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Too many clusters have been associated with this user recently"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Other cluster registration error"}},"security":[{"Bearer":[]}],"summary":"Finds or creates a cluster registration with a registy credential token and cluster ID"}},"/api/accounts_mgmt/v1/cluster_transfers":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterTransferList"}}},"description":"cluster transfer detected"},"204":{"description":"ClusterTransfer does not exist for a specific cluster"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]},{"AccessToken":[]}],"summary":"List cluster transfers - returns either an empty result set or a valid ClusterTransfer instance that is within a valid transfer window."},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterTransferRequest"}}},"description":"The contents of the cluster transfer creation request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterTransfer"}}},"description":"the cluster transfer has been created"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Initiate cluster transfer."}},"/api/accounts_mgmt/v1/cluster_transfers/{id}":{"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterTransferPatchRequest"}}},"description":"Updated cluster transfer","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterTransfer"}}},"description":"Cluster transfer updated successfully"},"204":{"description":"ClusterTransfer does not exist for a specific cluster"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Conflict during cluster transfer update"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating cluster transfer"}},"security":[{"Bearer":[]}],"summary":"Update specific cluster transfer"}},"/api/accounts_mgmt/v1/config/skus":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuList"}}},"description":"A JSON array of sku objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of skus"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SKU"}}},"description":"Sku data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SKU"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Sku already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating sku"}},"security":[{"Bearer":[]}],"summary":"Create a new sku"}},"/api/accounts_mgmt/v1/config/skus/{id}":{"delete":{"responses":{"204":{"description":"Sku successfully deleted"},"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":"No sku with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the sku"}},"security":[{"Bearer":[]}],"summary":"Delete a sku"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SKU"}}},"description":"Sku found by id"},"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":"No SKU with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a sku"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SKU"}}},"description":"Updated sku data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SKU"}}},"description":"Sku updated successfully"},"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":"No sku with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating sku"}},"security":[{"Bearer":[]}],"summary":"Update a Sku"}},"/api/accounts_mgmt/v1/current_account":{"get":{"parameters":[{"$ref":"#/components/parameters/fetchLabels"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account found via JWT"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]},{"AccessToken":[]}],"summary":"Get the authenticated account"}},"/api/accounts_mgmt/v1/default_capabilities":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultCapabilityList"}}},"description":"A JSON array of default capabilities"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Auth token is invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of default capabilities"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultCapability"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultCapability"}}},"description":"Created or updated default capability successfully"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the default capability"}},"security":[{"Bearer":[]}],"summary":"Create a new default capability or update an existing one"}},"/api/accounts_mgmt/v1/default_capabilities/{name}":{"delete":{"responses":{"204":{"description":"Default capability successfully deleted"},"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":"No default capability with specified name exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the default capability"}},"security":[{"Bearer":[]}],"summary":"Delete a default capability"},"get":{"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultCapability"}}},"description":"Default capability found by name"},"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":"No default capability with specified name exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get default capability by label name"},"parameters":[{"$ref":"#/components/parameters/name"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultCapability"}}},"description":"Default capability data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultCapability"}}},"description":"Created or updated default capability successfully"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating default capability"}},"security":[{"Bearer":[]}],"summary":"Create a new default capability or update an existing one"}},"/api/accounts_mgmt/v1/deleted_subscriptions":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletedSubscriptionList"}}},"description":"A JSON array of deleted subscription objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of deleted subscriptions"}},"/api/accounts_mgmt/v1/deleted_subscriptions/{id}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletedSubscription"}}},"description":"A JSON object of a single deleted subscription"},"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":"Resource does not exist"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Fetches a deleted subscription by id"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/errors":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorList"}}},"description":"A JSON array or errors"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"summary":"Returns a list of errors"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/errors/{id}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error found by id"},"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":"No error with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"summary":"Get an error by id"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/feature_toggles/{id}/query":{"post":{"deprecated":true,"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureToggleQueryRequest"}}},"description":"The context of the query","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureToggle"}}},"description":"Feature toggle found by id"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Query a feature toggle by id"}},"/api/accounts_mgmt/v1/labels":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelList"}}},"description":"A JSON array of label objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of labels"}},"/api/accounts_mgmt/v1/landing_page/self_service":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfServiceLandingPageSchema"}}},"description":"self service schema created"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Auth token is invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a console.redhat.com landing page content JSON schema"}},"/api/accounts_mgmt/v1/metrics":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricsList"}}},"description":"A JSON array of metrics objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of metrics"},"parameters":[{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/notify_details":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotifyDetailsRequest"}}},"description":"The notification parameters such as bcc_address,cluster_id etc","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotifyDetailsResponseList"}}},"description":"A JSON array of Notification details with a key-value pair"},"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":"No such notification details can be returned"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get and validate notification details"}},"/api/accounts_mgmt/v1/organizations":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"},{"$ref":"#/components/parameters/fetchLabels"},{"$ref":"#/components/parameters/fetchCapabilities"},{"$ref":"#/components/parameters/fields"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationList"}}},"description":"A JSON array of organization objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of organizations"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}},"description":"Organization data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Organization already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the organization"}},"security":[{"Bearer":[]}],"summary":"Create a new organization"}},"/api/accounts_mgmt/v1/organizations/{id}":{"get":{"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/fetchLabels"},{"$ref":"#/components/parameters/fetchCapabilities"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}},"description":"Organization found by id"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get an organization by id"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationPatchRequest"}}},"description":"Updated organization data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}},"description":"Organization updated successfully"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating organization"}},"security":[{"Bearer":[]}],"summary":"Update an organization"}},"/api/accounts_mgmt/v1/organizations/{id}/labels":{"get":{"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelList"}}},"description":"A JSON array of label"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of labels"},"post":{"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Created or updated label successfully"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the label"}},"security":[{"Bearer":[]}],"summary":"Create a new label or update an existing label"}},"/api/accounts_mgmt/v1/organizations/{id}/labels/{key}":{"delete":{"responses":{"204":{"description":"Label successfully deleted"},"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":"No label with specified key on specified organizations id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the label"}},"security":[{"Bearer":[]}],"summary":"Delete a label"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Labels found by key"},"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":"No label with specified key on specified organizations id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get organization labels by label key"},"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/key"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Created or updated label successfully"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Label already exists and cannot be updated"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating organizations label"}},"security":[{"Bearer":[]}],"summary":"Create a new label or update an existing label"}},"/api/accounts_mgmt/v1/organizations/{id}/summary_dashboard":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Summary"}}},"description":"A JSON array of metrics objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a summary of organizations clusters based on metrics"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/organizations/{orgId}/account_group_assignments":{"get":{"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupAssignmentList"}}},"description":"A JSON array of account groups"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of account group assignments for the given org"},"post":{"parameters":[{"$ref":"#/components/parameters/orgId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupAssignment"}}},"description":"New AccountGroup data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupAssignment"}}},"description":"Created AccountGroupAssignment successfully"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the label"}},"security":[{"Bearer":[]}],"summary":"Create a new AccountGroupAssignment"}},"/api/accounts_mgmt/v1/organizations/{orgId}/account_group_assignments/{acctGrpAsgnId}":{"delete":{"responses":{"204":{"description":"Account group assignment successfully deleted"},"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":"No organization or account group assignment with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the account group assignment"}},"security":[{"Bearer":[]}],"summary":"Delete an account group assignment"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupAssignment"}}},"description":"Account group assignment found"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get account group assignment by id"},"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/acctGrpAsgnId"}]},"/api/accounts_mgmt/v1/organizations/{orgId}/account_groups":{"get":{"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupList"}}},"description":"A JSON array of account groups"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of account groups for the given org"},"post":{"parameters":[{"$ref":"#/components/parameters/orgId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupRequest"}}},"description":"New AccountGroup data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroup"}}},"description":"Created AccountGroup successfully"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the label"}},"security":[{"Bearer":[]}],"summary":"Create a new AccountGroup"}},"/api/accounts_mgmt/v1/organizations/{orgId}/account_groups/{acctGrpId}":{"delete":{"responses":{"204":{"description":"Account group successfully deleted"},"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":"No organization or account group with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the account group"}},"security":[{"Bearer":[]}],"summary":"Delete an account group"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroup"}}},"description":"Account group found"},"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":"No organization or account group with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get account group by id"},"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/acctGrpId"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroupRequest"}}},"description":"Updated account group data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountGroup"}}},"description":"Account group updated successfully"},"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":"No account group with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating account group"}},"security":[{"Bearer":[]}],"summary":"Update an account group"}},"/api/accounts_mgmt/v1/organizations/{orgId}/consumed_quota":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumedQuotaList"}}},"description":"A JSON array of ConsumedQuota objects"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred when getting this resource"}},"security":[{"Bearer":[]}],"summary":"Returns a list of consumed quota for an organization"},"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/forceRecalc"}]},"/api/accounts_mgmt/v1/organizations/{orgId}/quota_cost":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaCostList"}}},"description":"A JSON array of QuotaCost objects"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred when getting this resource"}},"security":[{"Bearer":[]}],"summary":"Returns a summary of quota cost"},"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/fetchRelatedResources"},{"$ref":"#/components/parameters/forceRecalc"},{"$ref":"#/components/parameters/fetchCloudAccounts"}]},"/api/accounts_mgmt/v1/organizations/{orgId}/resource_quota":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"},{"$ref":"#/components/parameters/orgId"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuotaList"}}},"description":"A JSON array of ResourceQuota objects"},"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":"No organization with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred when getting this resource"}},"security":[{"Bearer":[]}],"summary":"Returns a list of resource quota objects"},"post":{"parameters":[{"$ref":"#/components/parameters/orgId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuotaRequest"}}},"description":"Resource quota data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuota"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"ResourceQuota already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the resource quota"}},"security":[{"Bearer":[]}],"summary":"Create a new resource quota"}},"/api/accounts_mgmt/v1/organizations/{orgId}/resource_quota/{quotaId}":{"delete":{"responses":{"204":{"description":"Resource Quota successfully deleted"},"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":"No Resource Quota with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the Resource Quota"}},"security":[{"Bearer":[]}],"summary":"Delete a resource quota"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuota"}}},"description":"Resource quota found by id"},"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":"No resource quota with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred when getting this resource"}},"security":[{"Bearer":[]}],"summary":"Get a resource quota by id"},"parameters":[{"$ref":"#/components/parameters/orgId"},{"$ref":"#/components/parameters/quotaId"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuotaRequest"}}},"description":"Updated resource quota data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuota"}}},"description":"Resource Quota updated successfully"},"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":"No resource quota with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating resource quota"}},"security":[{"Bearer":[]}],"summary":"Update a resource quota"}},"/api/accounts_mgmt/v1/plans":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanList"}}},"description":"Plans list"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get all plans"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/plans/{id}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}},"description":"Plan found"},"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":"No plan with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a plan by id"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/pull_secrets":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullSecretRequest"}}},"description":"Identifier of the resource in the external service that this pull secret relates to","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenCfg"}}},"description":"access token from registries in docker format"},"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":"Cannot find registry"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Return access token generated from registries in docker format"}},"/api/accounts_mgmt/v1/pull_secrets/{externalResourceId}":{"delete":{"responses":{"204":{"description":"Pull secret successfully deleted"},"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 delete pull secret"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No Pull secret with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the pull secret"}},"security":[{"Bearer":[]}],"summary":"Delete a pull secret"},"parameters":[{"$ref":"#/components/parameters/externalResourceId"}]},"/api/accounts_mgmt/v1/quota_authorizations":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaAuthorizationRequest"}}},"description":"User data and intention","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaAuthorizationResponse"}}},"description":"The authorization action was successful"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"AMS subscription exists but is associated with another account"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The limits for this subscription are exceeded."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Other cluster authorization error"}},"security":[{"Bearer":[]}],"summary":"Authorizes a user to consume or release a single quantity of quota"}},"/api/accounts_mgmt/v1/quota_cost":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaCostList"}}},"description":"A JSON array of QuotaCost objects"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Validation errors occurred"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred when getting this resource"}},"security":[{"Bearer":[]}],"summary":"Returns a summary of quota cost for the authenticated user"},"parameters":[{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/fetchRelatedResources"},{"$ref":"#/components/parameters/fetchCloudAccounts"}]},"/api/accounts_mgmt/v1/quota_rules":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaRulesList"}}},"description":"A JSON array of quota rules objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of UHC product Quota Rules"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/quotas":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaList"}}},"description":"A JSON array of quota objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of quotas"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}},"description":"Quota data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Quota already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating quota"}},"security":[{"Bearer":[]}],"summary":"Create a new quota"}},"/api/accounts_mgmt/v1/quotas/{id}":{"delete":{"responses":{"204":{"description":"Quota successfully deleted"},"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":"No quota with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the quota"}},"security":[{"Bearer":[]}],"summary":"Delete a quota"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}},"description":"Quota found by id"},"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":"No quota with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a quota"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}},"description":"Updated quota data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}},"description":"Quota updated successfully"},"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":"No quota with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating quota"}},"security":[{"Bearer":[]}],"summary":"Update a quota"}},"/api/accounts_mgmt/v1/registries":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryList"}}},"description":"A JSON array of registry objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of registries"}},"/api/accounts_mgmt/v1/registries/{id}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Registry"}}},"description":"Registry found by id"},"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":"No registry with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get an registry by id"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/registry_credentials":{"get":{"description":"List Registry Credentials","parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryCredentialList"}}},"description":"A JSON array of RegistryCredential objects"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Auth token is invalid"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Not allowed to list RegistryCredentials"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}}},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryCredential"}}},"description":"Registry credential data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryCredential"}}},"description":"Registry credential created"},"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":"Not allowed to create RegistryCredentials"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"A RegistryCredential with this type already exists for this user"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unable to create Registry Credential"}},"security":[{"Bearer":[]}],"summary":"Request the creation of a registry credential"}},"/api/accounts_mgmt/v1/registry_credentials/{id}":{"delete":{"responses":{"204":{"description":"Registry credential successfully deleted"},"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":"No registry credential with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the registry credential"}},"security":[{"Bearer":[]}],"summary":"Delete a registry credential by id"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryCredential"}}},"description":"Registry credential found"},"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":"No registry credential with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a registry credentials by id"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryCredentialPatchRequest"}}},"description":"Updated registry credential data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryCredential"}}},"description":"Registry credential updated successfully"},"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":"Not allowed to update registry credential or the specified field(s)"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No registry credential with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating registry credential"}},"security":[{"Bearer":[]}],"summary":"Update a registry credential"}},"/api/accounts_mgmt/v1/reserved_resources":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservedResourceList"}}},"description":"A JSON array of reserved resource objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of reserved resources"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}]},"/api/accounts_mgmt/v1/resource_quota":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceQuotaList"}}},"description":"A JSON array of ResourceQuota objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred when getting this resource"}},"security":[{"Bearer":[]}],"summary":"Returns a list of resource quota objects"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}]},"/api/accounts_mgmt/v1/role_bindings":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBindingList"}}},"description":"A JSON array of role binding objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of role bindings"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBindingCreateRequest"}}},"description":"Role binding data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBinding"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Role binding already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating role binding"}},"security":[{"Bearer":[]}],"summary":"Create a new role binding"}},"/api/accounts_mgmt/v1/role_bindings/{id}":{"delete":{"responses":{"204":{"description":"Role binding successfully deleted"},"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":"No role binding with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the role binding"}},"security":[{"Bearer":[]}],"summary":"Delete a role binding"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBinding"}}},"description":"Role binding found by id"},"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":"No role binding with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a role binding"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBindingRequest"}}},"description":"Updated role binding data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBinding"}}},"description":"Role Binding updated successfully"},"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":"No role binding with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating role binding"}},"security":[{"Bearer":[]}],"summary":"Update a role binding"}},"/api/accounts_mgmt/v1/roles":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleList"}}},"description":"A JSON array of role objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of roles"},"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/roles/{id}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Role"}}},"description":"Role found by id"},"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":"No role with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a role by id"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/self_entitlement/{product}":{"parameters":[{"$ref":"#/components/parameters/product"}],"post":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfEntitlementStatus"}}},"description":"the requested entitlement already exists"},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfEntitlementStatus"}}},"description":"the requested entitlement has been created or renewed"},"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":"Cannot find account or organization"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Create or renew the entitlement to support a product for the user\'s organization."}},"/api/accounts_mgmt/v1/sku_rules":{"get":{"parameters":[{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuRulesList"}}},"description":"A JSON array of sku rules objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of UHC product SKU Rules"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuRules"}}},"description":"Sku rule data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuRules"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Sku rule already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating sku rule"}},"security":[{"Bearer":[]}],"summary":"Create a new sku rule"}},"/api/accounts_mgmt/v1/sku_rules/{id}":{"delete":{"responses":{"204":{"description":"Sku rule successfully deleted"},"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":"No sku rule with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the sku rule"}},"security":[{"Bearer":[]}],"summary":"Delete a sku rule"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuRules"}}},"description":"sku rules found by id"},"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":"No sku rules with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a sku rules by id"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuRules"}}},"description":"Updated sku rule data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuRules"}}},"description":"Sku rule updated successfully"},"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":"No sku rule with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating sku rule"}},"security":[{"Bearer":[]}],"summary":"Update a sku rule"}},"/api/accounts_mgmt/v1/skus":{"get":{"deprecated":true,"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuList"}}},"description":"A JSON array of sku objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of UHC product SKUs"},"parameters":[{"$ref":"#/components/parameters/search"}]},"/api/accounts_mgmt/v1/skus/{id}":{"get":{"deprecated":true,"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SKU"}}},"description":"sku found by id"},"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":"No sku with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a sku by id"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/subscriptions":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/fetchAccounts"},{"$ref":"#/components/parameters/fetchLabels"},{"$ref":"#/components/parameters/fetchCapabilities"},{"$ref":"#/components/parameters/fetchOrganization"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/orderBy"},{"$ref":"#/components/parameters/labels"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionList"}}},"description":"A JSON array of subscription objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]},{"AccessToken":[]}],"summary":"Returns a list of subscriptions"},"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionCreateRequest"}}},"description":"Subscription Creation data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Subscription already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating subscription"}},"security":[{"Bearer":[]}],"summary":"Create a new subscription"}},"/api/accounts_mgmt/v1/subscriptions/{id}":{"delete":{"parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Subscription deprovisioned by id"},"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":"No subscription with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Deletes a subscription by id"},"get":{"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/fetchAccounts"},{"$ref":"#/components/parameters/fetchLabels"},{"$ref":"#/components/parameters/fetchCapabilities"},{"$ref":"#/components/parameters/fetchCpuAndSocket"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription"}}},"description":"Subscription found by id"},"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":"No subscription with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a subscription by id"},"parameters":[{"$ref":"#/components/parameters/id"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionPatchRequest"}}},"description":"Updated subscription data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription"}}},"description":"Subscription updated successfully"},"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":"Not allowed to update subscriptions or the specified field(s)"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No subscription with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating subscription"}},"security":[{"Bearer":[]}],"summary":"Update a subscription"}},"/api/accounts_mgmt/v1/subscriptions/{id}/labels":{"get":{"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelList"}}},"description":"A JSON array of label"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of labels"},"post":{"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Created or updated label successfully"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the label"}},"security":[{"Bearer":[]}],"summary":"Create a new label or update an existing label"}},"/api/accounts_mgmt/v1/subscriptions/{id}/labels/{key}":{"delete":{"responses":{"204":{"description":"Label successfully deleted"},"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":"No label with specified key on specified subscription id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the label"}},"security":[{"Bearer":[]}],"summary":"Delete a label"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Labels found by key"},"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":"No label with specified key on specified subscription id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get subscription labels by label key"},"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/key"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Label data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}},"description":"Created or updated label successfully"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Label already exists and cannot be updated"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error updating subscription label"}},"security":[{"Bearer":[]}],"summary":"Create a new label or update an existing label"}},"/api/accounts_mgmt/v1/subscriptions/{id}/metrics/{metric_name}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionMetricList"}}},"description":"Metrics\' data"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Metric name is invalid"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get subscription\'s metrics by metric name"},"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/metricName"},{"$ref":"#/components/parameters/metricSearch"},{"$ref":"#/components/parameters/fields"}]},"/api/accounts_mgmt/v1/subscriptions/{id}/reserved_resources":{"get":{"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservedResourceList"}}},"description":"A JSON array of reserved resource objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of reserved resources"}},"/api/accounts_mgmt/v1/subscriptions/{id}/support_cases":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"}],"responses":{"200":{"description":"A JSON array of support cases objects"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of open support creates opened against the external cluster id of this subscrption"},"parameters":[{"$ref":"#/components/parameters/id"}]},"/api/accounts_mgmt/v1/subscriptions/{subId}/notification_contacts":{"get":{"parameters":[{"$ref":"#/components/parameters/subId"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountList"}}},"description":"A JSON array of account objects that are notification contacts for this subscription"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Returns a list of notification contacts for the given subscription"},"post":{"parameters":[{"$ref":"#/components/parameters/subId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationContactCreateRequest"}}},"description":"Add a notification contact by an account\'s username","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Notification contact already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating notification contact"}},"security":[{"Bearer":[]}],"summary":"Add an account as a notification contact to this subscription"}},"/api/accounts_mgmt/v1/subscriptions/{subId}/notification_contacts/{accountId}":{"delete":{"parameters":[{"$ref":"#/components/parameters/subId"},{"$ref":"#/components/parameters/accountId"}],"responses":{"200":{"description":"Notification contact deleted by subscription and account id"},"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":"No notification contact with specified subscription and account id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Deletes a notification contact by subscription and account id"}},"/api/accounts_mgmt/v1/subscriptions/{subId}/reserved_resources/{reservedResourceId}":{"delete":{"responses":{"204":{"description":"Reserved resources deleted by id"},"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":"No reserved resources with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Delete reserved resources by id"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservedResource"}}},"description":"Reserved resources found by id"},"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":"No reserved resources with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get reserved resources by id"},"parameters":[{"$ref":"#/components/parameters/subId"},{"$ref":"#/components/parameters/reservedResourceId"}],"patch":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservedResourcePatchRequest"}}},"description":"Updated reserved resource data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservedResource"}}},"description":"Reserved resources updated successfully"},"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":"No reserved resources with specified id exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Update a reserved resource"}},"/api/accounts_mgmt/v1/subscriptions/{subId}/role_bindings":{"get":{"parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/size"},{"$ref":"#/components/parameters/search"},{"$ref":"#/components/parameters/orderBy"},{"$ref":"#/components/parameters/fetchAccounts"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRoleBindingList"}}},"description":"Subscription role bindings found, or none exist"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get subscription role bindings"},"parameters":[{"$ref":"#/components/parameters/subId"}],"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRoleBindingCreateRequest"}}},"description":"Subscription role binding data","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRoleBinding"}}},"description":"Created"},"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"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Subscription role binding already exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred creating the subscription role binding"}},"security":[{"Bearer":[]}],"summary":"Create a new subscription role binding"}},"/api/accounts_mgmt/v1/subscriptions/{subId}/role_bindings/{id}":{"delete":{"responses":{"204":{"description":"Subscription role binding successfully deleted"},"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":"No Subscription Role Binding with specified Id is accessible"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the Subscription Role Binding"}},"security":[{"Bearer":[]}],"summary":"Delete a subscription role binding"},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionRoleBinding"}}},"description":"Subscription Role Binding found by id"},"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":"No Subscription Role Binding with the specified id is accessible"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"Get a Subscription Role Binding by id"},"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/subId"}]},"/api/accounts_mgmt/v1/support_cases":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportCasesRequest"}}},"description":"The contents of the support case to be created","required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportCasesCreatedResponse"}}},"description":"Support case created"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred"}},"security":[{"Bearer":[]}],"summary":"create a support case for the subscription"}},"/api/accounts_mgmt/v1/support_cases/{caseId}":{"delete":{"responses":{"204":{"description":"Support case successfully deleted"},"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":"No support case with specified case id on specified subscription id exists"},"405":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Not allowed to close a case that is already closed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"An unexpected error occurred deleting the support case"}},"security":[{"Bearer":[]}],"summary":"Delete a support case"},"parameters":[{"$ref":"#/components/parameters/caseId"}]},"/api/accounts_mgmt/v1/token_authorization":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenAuthorizationRequest"}}},"description":"Token authorization data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenAuthorizationResponse"}}},"description":"The account belongs to the user with the specified registry credential token"},"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":"Registry credential token is invalid"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Registry credential token is not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Other token authorization error"}},"security":[{"Bearer":[]}],"summary":"Finds the account owner of the provided token"}},"/api/authorizations/v1/access_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessReview"}}},"description":"Access review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessReviewResponse"}}},"description":"Review successfully generated"},"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"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unsupported action, non-existent resource type, or non-existent account"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating access review"}},"security":[{"Bearer":[]}],"summary":"Review an account\'s access to perform an action on a particular resource or resource type"}},"/api/authorizations/v1/capability_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityReviewRequest"}}},"description":"Capability review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityReview"}}},"description":"Successful review"},"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 capability reviews"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating capability review"}},"security":[{"Bearer":[]}],"summary":"Review an account\'s capabilities"}},"/api/authorizations/v1/export_control_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportControlReviewRequest"}}},"description":"Export control review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportControlReview"}}},"description":"Successful review"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating access review"}},"security":[{"Bearer":[]}],"summary":"Determine whether a user is restricted from downloading Red Hat software based on export control compliance.\\n"}},"/api/authorizations/v1/feature_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureReview"}}},"description":"Feature review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureReviewResponse"}}},"description":"Review successfully generated"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating feature review"}},"security":[{"Bearer":[]}],"summary":"Review feature to perform an action on it such as toggle a feature on/off"}},"/api/authorizations/v1/resource_review":{"post":{"deprecated":true,"parameters":[{"$ref":"#/components/parameters/reduceClusterList"},{"$ref":"#/components/parameters/excludeSubscriptionStatuses"},{"$ref":"#/components/parameters/includeSubscriptionStatuses"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceReviewRequest"}}},"description":"Resource review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceReview"}}},"description":"Successful review"},"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 resource reviews"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unsupported action or non-existent resource type"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating access review"}},"security":[{"Bearer":[]}],"summary":"Obtain resource ids for resources an account may perform the specified action upon. Resource ids returned as [\\"*\\"] is shorthand for all ids."}},"/api/authorizations/v1/self_access_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfAccessReview"}}},"description":"Self access review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessReviewResponse"}}},"description":"Review successfully generated"},"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"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unsupported action or non-existent resource type"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating access review"}},"security":[{"Bearer":[]}],"summary":"Review your ability to perform an action on a particular resource or resource type"}},"/api/authorizations/v1/self_feature_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfFeatureReview"}}},"description":"Self feature review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureReviewResponse"}}},"description":"Review successfully generated"},"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"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating feature review"}},"security":[{"Bearer":[]}],"summary":"Review your ability to toggle a feature"}},"/api/authorizations/v1/self_resource_review":{"post":{"parameters":[{"$ref":"#/components/parameters/reduceClusterList"},{"$ref":"#/components/parameters/excludeSubscriptionStatuses"},{"$ref":"#/components/parameters/includeSubscriptionStatuses"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfResourceReviewRequest"}}},"description":"Self resource review data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfResourceReview"}}},"description":"Successful review"},"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 self resource reviews"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unsupported action or non-existent resource type"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating access review"}},"security":[{"Bearer":[]}],"summary":"Obtain resource ids for resources you may perform the specified action upon. Resource ids returned as [\\"*\\"] is shorthand for all ids."}},"/api/authorizations/v1/self_terms_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfTermsReview"}}},"description":"Data to check self terms for","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TermsReviewResponse"}}},"description":"Review successfully generated"},"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"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unsupported action or non-existent resource type"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating terms review"}},"security":[{"Bearer":[]}],"summary":"Review your status of Terms"}},"/api/authorizations/v1/terms_review":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TermsReview"}}},"description":"Data to check terms for","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TermsReviewResponse"}}},"description":"Review successfully generated"},"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"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unsupported action, non-existent resource type, or non-existent account"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unexpected error occurred while generating terms review"}},"security":[{"Bearer":[]}],"summary":"Review an account\'s status of Terms"}}},"servers":[{"description":"current domain","url":"http://localhost:14321"},{"description":"Main (production) server","url":"https://api.openshift.com"},{"description":"Staging server","url":"https://api.stage.openshift.com"}]}}')}}]); \ No newline at end of file diff --git a/static/js/main.ae675689.js b/static/js/main.b6b91212.js similarity index 99% rename from static/js/main.ae675689.js rename to static/js/main.b6b91212.js index dd374633..47041a67 100644 --- a/static/js/main.ae675689.js +++ b/static/js/main.b6b91212.js @@ -1,3 +1,3 @@ -/*! For license information please see main.ae675689.js.LICENSE.txt */ -!function(){var e={16599:function(e,t,n){var i;self.MonacoEnvironment=(i={editorWorkerService:"editor.worker.js",json:"json.worker.js"},{globalAPI:!1,getWorkerUrl:function(e,t){var r=n.p,o=(r?r.replace(/\/$/,"")+"/":"")+i[t];if(/^((http:)|(https:)|(file:)|(\/\/))/.test(o)){var a=String(window.location),s=a.substr(0,a.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(o.substring(0,s.length)!==s){/^(\/\/)/.test(o)&&(o=window.location.protocol+o);var l=new Blob(["/*"+t+'*/importScripts("'+o+'");'],{type:"application/javascript"});return URL.createObjectURL(l)}}return o}}),n(54962),n(1791),n(56816),n(79240),n(45716),n(17094),n(28485),n(89977),n(75580),n(970),n(6893),n(55693),n(15389),n(45627),n(74361),n(52330),n(34464),n(22155),n(74166),n(42259),n(43869),n(52348),n(34403),n(49474),n(34775),n(80613),n(11366),n(36262),n(52791),n(51088),n(22939),n(47372),n(98361),n(56653),n(47226),n(93161),n(15157),n(94355),n(86854),n(46948),n(44356),n(26034),n(55553),n(3565),n(10102),n(44152),n(4327),n(99249),n(87629),n(16420),n(36373),n(6981),n(23957),n(94075),n(12548),n(54796),n(69321),n(95483),e.exports=n(6014),n(1153),n(32472),n(30790),n(9435),n(40987),n(93841),n(55738),n(88082)},60322:function(e,t,n){"use strict";var i=n(56690).default,r=n(89728).default,o=n(61655).default,a=n(26389).default;t.IU=t.ap=t.Jh=void 0;var s,l=n(29388),u=l.__importStar(n(72791));!function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"}(s=t.Jh||(t.Jh={}));t.ap=function(e){switch(e){case s.sm:return"1em";case s.md:return"1.5em";case s.lg:return"2em";case s.xl:return"3em";default:return"1em"}};var c=0;t.IU=function(e){var n,d=e.name,h=e.xOffset,f=void 0===h?0:h,p=e.yOffset,g=void 0===p?0:p,v=e.width,m=e.height,y=e.svgPath;return n=function(e){o(s,e);var n=a(s);function s(){var e;return i(this,s),(e=n.apply(this,arguments)).id="icon-title-".concat(c++),e}return r(s,[{key:"render",value:function(){var e=this.props,n=e.size,i=e.color,r=e.title,o=e.noVerticalAlign,a=l.__rest(e,["size","color","title","noVerticalAlign"]),s=Boolean(r),c=(0,t.ap)(n),d=-.125*Number.parseFloat(c),h=o?null:{verticalAlign:"".concat(d,"em")},p=[f,g,v,m].join(" ");return u.createElement("svg",Object.assign({style:h,fill:i,height:c,width:c,viewBox:p,"aria-labelledby":s?this.id:null,"aria-hidden":!s||null,role:"img"},a),s&&u.createElement("title",{id:this.id},r),u.createElement("path",{d:y}))}}]),s}(u.Component),n.displayName=d,n.defaultProps={color:"currentColor",size:s.sm,noVerticalAlign:!1},n}},96659:function(e,t,n){"use strict";t.Lb={name:"ThIcon",height:512,width:512,svgPath:"M149.333 56v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24zm181.334 240v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm32-240v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24zm-32 80V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm-205.334 56H24c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24zM0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm386.667-56H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm0 160H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zM181.333 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24z",yOffset:0,xOffset:0},t.X_=n(60322).IU(t.Lb),t.ZP=t.X_},9605:function(e,t,n){"use strict";t.AR={name:"ThListIcon",height:512,width:512,svgPath:"M149.333 216v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24v-80c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24zM0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zM125.333 32H24C10.745 32 0 42.745 0 56v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24zm80 448H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm-24-424v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24zm24 264H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24z",yOffset:0,xOffset:0},t.DZ=n(60322).IU(t.AR),t.ZP=t.DZ},41596:function(e,t){"use strict";function n(e,t){if(t)return e;throw new Error("Unhandled discriminated union member: "+JSON.stringify(e))}t.ZP=n},9940:function(e){e.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=13)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(4)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(32)("wks"),r=n(9),o=n(0).Symbol,a="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))}).store=i},function(e,t,n){var i=n(0),r=n(2),o=n(8),a=n(22),s=n(10),l=function e(t,n,l){var u,c,d,h,f=t&e.F,p=t&e.G,g=t&e.P,v=t&e.B,m=p?i:t&e.S?i[n]||(i[n]={}):(i[n]||{}).prototype,y=p?r:r[n]||(r[n]={}),_=y.prototype||(y.prototype={});for(u in p&&(l=n),l)d=((c=!f&&m&&void 0!==m[u])?m:l)[u],h=v&&c?s(d,i):g&&"function"==typeof d?s(Function.call,d):d,m&&a(m,u,d,t&e.U),y[u]!=d&&o(y,u,h),g&&_[u]!=d&&(_[u]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var i=n(16),r=n(21);e.exports=n(3)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){var i=n(24);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(28),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=e.type||"",o=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();return"."===t.charAt(0)?i.toLowerCase().endsWith(t.toLowerCase()):t.endsWith("/*")?o===t.replace(/\/.*$/,""):r===t}))}return!0},n(14),n(34)},function(e,t,n){n(15),e.exports=n(2).Array.some},function(e,t,n){"use strict";var i=n(7),r=n(25)(3);i(i.P+i.F*!n(33)([].some,!0),"Array",{some:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(17),r=n(18),o=n(20),a=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(1);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(3)&&!n(4)((function(){return 7!=Object.defineProperty(n(19)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var i=n(1),r=n(0).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){var i=n(1);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(0),r=n(8),o=n(23),a=n(9)("src"),s=Function.toString,l=(""+s).split("toString");n(2).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(u&&(o(n,a)||r(n,a,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(10),r=n(26),o=n(27),a=n(12),s=n(29);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,c=4==e,d=6==e,h=5==e||d,f=t||s;return function(t,s,p){for(var g,v,m=o(t),y=r(m),_=i(s,p,3),b=a(y.length),k=0,C=n?f(t,b):l?f(t,0):void 0;b>k;k++)if((h||k in y)&&(v=_(g=y[k],k,m),e))if(n)C[k]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return k;case 2:C.push(g)}else if(c)return!1;return d?-1:u||c?c:C}}},function(e,t,n){var i=n(5);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){var i=n(11);e.exports=function(e){return Object(i(e))}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(30);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(1),r=n(31),o=n(6)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var i=n(5);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(0),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});e.exports=function(e){return r[e]||(r[e]={})}},function(e,t,n){"use strict";var i=n(4);e.exports=function(e,t){return!!e&&i((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){n(35),e.exports=n(2).String.endsWith},function(e,t,n){"use strict";var i=n(7),r=n(12),o=n(36),a="".endsWith;i(i.P+i.F*n(38)("endsWith"),"String",{endsWith:function(e){var t=o(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,i=r(t.length),s=void 0===n?i:Math.min(r(n),i),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,n){var i=n(37),r=n(11);e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},function(e,t,n){var i=n(1),r=n(5),o=n(6)("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},function(e,t,n){var i=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(e){}}return!0}}])},11132:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,i=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var i,r=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!o)return!1;for(i in e);return"undefined"===typeof i||t.call(e,i)},s=function(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(r)return r(e,n).value}return e[n]};e.exports=function e(){var t,n,i,r,u,c,d=arguments[0],h=1,f=arguments.length,p=!1;for("boolean"===typeof d&&(p=d,d=arguments[1]||{},h=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});h=i?e:function(e,t,n){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(r);++i1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&r(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++i-1&&e%1==0&&e-1}},87109:function(e,t,n){var i=n(27112);e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},34086:function(e,t,n){var i=n(29676),r=n(38384),o=n(95797);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}},9255:function(e,t,n){var i=n(32799);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},29186:function(e,t,n){var i=n(32799);e.exports=function(e){return i(this,e).get(e)}},13423:function(e,t,n){var i=n(32799);e.exports=function(e){return i(this,e).has(e)}},73739:function(e,t,n){var i=n(32799);e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},49620:function(e,t,n){var i=n(68136)(Object,"create");e.exports=i},4221:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},49494:function(e,t,n){e=n.nmd(e);var i=n(31032),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r&&i.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},43581:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},12709:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},64262:function(e,t,n){var i=n(13665),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=r(o.length-t,0),l=Array(s);++a0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},20511:function(e,t,n){var i=n(38384);e.exports=function(){this.__data__=new i,this.size=0}},50835:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},90707:function(e){e.exports=function(e){return this.__data__.get(e)}},18832:function(e){e.exports=function(e){return this.__data__.has(e)}},35077:function(e,t,n){var i=n(38384),r=n(95797),o=n(78059);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var a=n.__data__;if(!r||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},27907:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},71547:function(e){e.exports=function(e){return function(){return e}}},29231:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},2100:function(e){e.exports=function(e){return e}},34963:function(e,t,n){var i=n(4906),r=n(43141),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(e){return r(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},93629:function(e){var t=Array.isArray;e.exports=t},21473:function(e,t,n){var i=n(74786),r=n(24635);e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},56279:function(e,t,n){var i=n(21473),r=n(43141);e.exports=function(e){return r(e)&&i(e)}},5174:function(e,t,n){e=n.nmd(e);var i=n(97009),r=n(49488),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?i.Buffer:void 0,l=(s?s.isBuffer:void 0)||r;e.exports=l},74786:function(e,t,n){var i=n(39066),r=n(8092);e.exports=function(e){if(!r(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},24635:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},8092:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},43141:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},93977:function(e,t,n){var i=n(39066),r=n(31137),o=n(43141),a=Function.prototype,s=Object.prototype,l=a.toString,u=s.hasOwnProperty,c=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=i(e))return!1;var t=r(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==c}},19102:function(e,t,n){var i=n(68150),r=n(16194),o=n(49494),a=o&&o.isTypedArray,s=a?r(a):i;e.exports=s},73961:function(e,t,n){var i=n(47538),r=n(8664),o=n(21473);e.exports=function(e){return o(e)?i(e,!0):r(e)}},763:function(e,t,n){var i;e=n.nmd(e),function(){var r,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,u=32,c=64,d=128,h=256,f=1/0,p=9007199254740991,g=NaN,v=4294967295,m=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",u],["partialRight",c],["rearg",h]],y="[object Arguments]",_="[object Array]",b="[object Boolean]",k="[object Date]",C="[object Error]",w="[object Function]",S="[object GeneratorFunction]",x="[object Map]",L="[object Number]",N="[object Object]",D="[object Promise]",E="[object RegExp]",I="[object Set]",T="[object String]",O="[object Symbol]",A="[object WeakMap]",P="[object ArrayBuffer]",M="[object DataView]",R="[object Float32Array]",Z="[object Float64Array]",F="[object Int8Array]",B="[object Int16Array]",W="[object Int32Array]",V="[object Uint8Array]",H="[object Uint8ClampedArray]",z="[object Uint16Array]",j="[object Uint32Array]",U=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,Q=/[&<>"']/g,$=RegExp(G.source),Y=RegExp(Q.source),X=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,ie=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,re=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(re.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,he=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ge=/\w*$/,ve=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,_e=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,ke=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ce=/($^)/,we=/['\n\r\u2028\u2029\\]/g,Se="\\ud800-\\udfff",xe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Le="\\u2700-\\u27bf",Ne="a-z\\xdf-\\xf6\\xf8-\\xff",De="A-Z\\xc0-\\xd6\\xd8-\\xde",Ee="\\ufe0e\\ufe0f",Ie="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Te="['\u2019]",Oe="["+Se+"]",Ae="["+Ie+"]",Pe="["+xe+"]",Me="\\d+",Re="["+Le+"]",Ze="["+Ne+"]",Fe="[^"+Se+Ie+Me+Le+Ne+De+"]",Be="\\ud83c[\\udffb-\\udfff]",We="[^"+Se+"]",Ve="(?:\\ud83c[\\udde6-\\uddff]){2}",He="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+De+"]",je="\\u200d",Ue="(?:"+Ze+"|"+Fe+")",Ke="(?:"+ze+"|"+Fe+")",qe="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ge="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Qe="(?:"+Pe+"|"+Be+")"+"?",$e="["+Ee+"]?",Ye=$e+Qe+("(?:"+je+"(?:"+[We,Ve,He].join("|")+")"+$e+Qe+")*"),Xe="(?:"+[Re,Ve,He].join("|")+")"+Ye,Je="(?:"+[We+Pe+"?",Pe,Ve,He,Oe].join("|")+")",et=RegExp(Te,"g"),tt=RegExp(Pe,"g"),nt=RegExp(Be+"(?="+Be+")|"+Je+Ye,"g"),it=RegExp([ze+"?"+Ze+"+"+qe+"(?="+[Ae,ze,"$"].join("|")+")",Ke+"+"+Ge+"(?="+[Ae,ze+Ue,"$"].join("|")+")",ze+"?"+Ue+"+"+qe,ze+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Xe].join("|"),"g"),rt=RegExp("["+je+Se+xe+Ee+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,lt={};lt[R]=lt[Z]=lt[F]=lt[B]=lt[W]=lt[V]=lt[H]=lt[z]=lt[j]=!0,lt[y]=lt[_]=lt[P]=lt[b]=lt[M]=lt[k]=lt[C]=lt[w]=lt[x]=lt[L]=lt[N]=lt[E]=lt[I]=lt[T]=lt[A]=!1;var ut={};ut[y]=ut[_]=ut[P]=ut[M]=ut[b]=ut[k]=ut[R]=ut[Z]=ut[F]=ut[B]=ut[W]=ut[x]=ut[L]=ut[N]=ut[E]=ut[I]=ut[T]=ut[O]=ut[V]=ut[H]=ut[z]=ut[j]=!0,ut[C]=ut[w]=ut[A]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,ht=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pt="object"==typeof self&&self&&self.Object===Object&&self,gt=ft||pt||Function("return this")(),vt=t&&!t.nodeType&&t,mt=vt&&e&&!e.nodeType&&e,yt=mt&&mt.exports===vt,_t=yt&&ft.process,bt=function(){try{var e=mt&&mt.require&&mt.require("util").types;return e||_t&&_t.binding&&_t.binding("util")}catch(t){}}(),kt=bt&&bt.isArrayBuffer,Ct=bt&&bt.isDate,wt=bt&&bt.isMap,St=bt&&bt.isRegExp,xt=bt&&bt.isSet,Lt=bt&&bt.isTypedArray;function Nt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Dt(e,t,n,i){for(var r=-1,o=null==e?0:e.length;++r-1}function Pt(e,t,n){for(var i=-1,r=null==e?0:e.length;++i-1;);return n}function rn(e,t){for(var n=e.length;n--&&zt(t,e[n],0)>-1;);return n}function on(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}var an=Gt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),sn=Gt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ln(e){return"\\"+ct[e]}function un(e){return rt.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function dn(e,t){return function(n){return e(t(n))}}function hn(e,t){for(var n=-1,i=e.length,r=0,o=[];++n",""":'"',"'":"'"});var _n=function e(t){var n=(t=null==t?gt:_n.defaults(gt.Object(),t,_n.pick(gt,at))).Array,i=t.Date,se=t.Error,Se=t.Function,xe=t.Math,Le=t.Object,Ne=t.RegExp,De=t.String,Ee=t.TypeError,Ie=n.prototype,Te=Se.prototype,Oe=Le.prototype,Ae=t["__core-js_shared__"],Pe=Te.toString,Me=Oe.hasOwnProperty,Re=0,Ze=function(){var e=/[^.]+$/.exec(Ae&&Ae.keys&&Ae.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Fe=Oe.toString,Be=Pe.call(Le),We=gt._,Ve=Ne("^"+Pe.call(Me).replace(re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=yt?t.Buffer:r,ze=t.Symbol,je=t.Uint8Array,Ue=He?He.allocUnsafe:r,Ke=dn(Le.getPrototypeOf,Le),qe=Le.create,Ge=Oe.propertyIsEnumerable,Qe=Ie.splice,$e=ze?ze.isConcatSpreadable:r,Ye=ze?ze.iterator:r,Xe=ze?ze.toStringTag:r,Je=function(){try{var e=fo(Le,"defineProperty");return e({},"",{}),e}catch(t){}}(),nt=t.clearTimeout!==gt.clearTimeout&&t.clearTimeout,rt=i&&i.now!==gt.Date.now&&i.now,ct=t.setTimeout!==gt.setTimeout&&t.setTimeout,ft=xe.ceil,pt=xe.floor,vt=Le.getOwnPropertySymbols,mt=He?He.isBuffer:r,_t=t.isFinite,bt=Ie.join,Wt=dn(Le.keys,Le),Gt=xe.max,bn=xe.min,kn=i.now,Cn=t.parseInt,wn=xe.random,Sn=Ie.reverse,xn=fo(t,"DataView"),Ln=fo(t,"Map"),Nn=fo(t,"Promise"),Dn=fo(t,"Set"),En=fo(t,"WeakMap"),In=fo(Le,"create"),Tn=En&&new En,On={},An=Wo(xn),Pn=Wo(Ln),Mn=Wo(Nn),Rn=Wo(Dn),Zn=Wo(En),Fn=ze?ze.prototype:r,Bn=Fn?Fn.valueOf:r,Wn=Fn?Fn.toString:r;function Vn(e){if(is(e)&&!Ka(e)&&!(e instanceof Un)){if(e instanceof jn)return e;if(Me.call(e,"__wrapped__"))return Vo(e)}return new jn(e)}var Hn=function(){function e(){}return function(t){if(!ns(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function zn(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Un(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=v,this.__views__=[]}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function ui(e,t,n,i,o,a){var s,l=1&t,u=2&t,c=4&t;if(n&&(s=o?n(e,i,o,a):n(e)),s!==r)return s;if(!ns(e))return e;var d=Ka(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Me.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Ir(e,s)}else{var h=vo(e),f=h==w||h==S;if($a(e))return Sr(e,l);if(h==N||h==y||f&&!o){if(s=u||f?{}:yo(e),!l)return u?function(e,t){return Tr(e,go(e),t)}(e,function(e,t){return e&&Tr(t,Ps(t),e)}(s,e)):function(e,t){return Tr(e,po(e),t)}(e,oi(s,e))}else{if(!ut[h])return o?e:{};s=function(e,t,n){var i=e.constructor;switch(t){case P:return xr(e);case b:case k:return new i(+e);case M:return function(e,t){var n=t?xr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case R:case Z:case F:case B:case W:case V:case H:case z:case j:return Lr(e,n);case x:return new i;case L:case T:return new i(e);case E:return function(e){var t=new e.constructor(e.source,ge.exec(e));return t.lastIndex=e.lastIndex,t}(e);case I:return new i;case O:return r=e,Bn?Le(Bn.call(r)):{}}var r}(e,h,l)}}a||(a=new $n);var p=a.get(e);if(p)return p;a.set(e,s),ls(e)?e.forEach((function(i){s.add(ui(i,t,n,i,e,a))})):rs(e)&&e.forEach((function(i,r){s.set(r,ui(i,t,n,r,e,a))}));var g=d?r:(c?u?oo:ro:u?Ps:As)(e);return Et(g||e,(function(i,r){g&&(i=e[r=i]),ni(s,r,ui(i,t,n,r,e,a))})),s}function ci(e,t,n){var i=n.length;if(null==e)return!i;for(e=Le(e);i--;){var o=n[i],a=t[o],s=e[o];if(s===r&&!(o in e)||!a(s))return!1}return!0}function di(e,t,n){if("function"!=typeof e)throw new Ee(o);return Ao((function(){e.apply(r,n)}),t)}function hi(e,t,n,i){var r=-1,o=At,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=Mt(t,Jt(n))),i?(o=Pt,a=!1):t.length>=200&&(o=tn,a=!1,t=new Qn(t));e:for(;++r-1},qn.prototype.set=function(e,t){var n=this.__data__,i=ii(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},Gn.prototype.clear=function(){this.size=0,this.__data__={hash:new Kn,map:new(Ln||qn),string:new Kn}},Gn.prototype.delete=function(e){var t=co(this,e).delete(e);return this.size-=t?1:0,t},Gn.prototype.get=function(e){return co(this,e).get(e)},Gn.prototype.has=function(e){return co(this,e).has(e)},Gn.prototype.set=function(e,t){var n=co(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},Qn.prototype.add=Qn.prototype.push=function(e){return this.__data__.set(e,a),this},Qn.prototype.has=function(e){return this.__data__.has(e)},$n.prototype.clear=function(){this.__data__=new qn,this.size=0},$n.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},$n.prototype.get=function(e){return this.__data__.get(e)},$n.prototype.has=function(e){return this.__data__.has(e)},$n.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qn){var i=n.__data__;if(!Ln||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gn(i)}return n.set(e,t),this.size=n.size,this};var fi=Pr(ki),pi=Pr(Ci,!0);function gi(e,t){var n=!0;return fi(e,(function(e,i,r){return n=!!t(e,i,r)})),n}function vi(e,t,n){for(var i=-1,o=e.length;++i0&&n(s)?t>1?yi(s,t-1,n,i,r):Rt(r,s):i||(r[r.length]=s)}return r}var _i=Mr(),bi=Mr(!0);function ki(e,t){return e&&_i(e,t,As)}function Ci(e,t){return e&&bi(e,t,As)}function wi(e,t){return Ot(t,(function(t){return Ja(e[t])}))}function Si(e,t){for(var n=0,i=(t=br(t,e)).length;null!=e&&nt}function Di(e,t){return null!=e&&Me.call(e,t)}function Ei(e,t){return null!=e&&t in Le(e)}function Ii(e,t,i){for(var o=i?Pt:At,a=e[0].length,s=e.length,l=s,u=n(s),c=1/0,d=[];l--;){var h=e[l];l&&t&&(h=Mt(h,Jt(t))),c=bn(h.length,c),u[l]=!i&&(t||a>=120&&h.length>=120)?new Qn(l&&h):r}h=e[0];var f=-1,p=u[0];e:for(;++f=s?l:l*("desc"==n[i]?-1:1)}return e.index-t.index}(e,t,n)}))}function Ki(e,t,n){for(var i=-1,r=t.length,o={};++i-1;)s!==e&&Qe.call(s,l,1),Qe.call(e,l,1);return e}function Gi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r=t[n];if(n==i||r!==o){var o=r;bo(r)?Qe.call(e,r,1):hr(e,r)}}return e}function Qi(e,t){return e+pt(wn()*(t-e+1))}function $i(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=pt(t/2))&&(e+=e)}while(t);return n}function Yi(e,t){return Po(Do(e,t,ol),e+"")}function Xi(e){return Xn(Hs(e))}function Ji(e,t){var n=Hs(e);return Zo(n,li(t,0,n.length))}function er(e,t,n,i){if(!ns(e))return e;for(var o=-1,a=(t=br(t,e)).length,s=a-1,l=e;null!=l&&++oo?0:o+t),(i=i>o?o:i)<0&&(i+=o),o=t>i?0:i-t>>>0,t>>>=0;for(var a=n(o);++r>>1,a=e[o];null!==a&&!cs(a)&&(n?a<=t:a=200){var u=t?null:$r(e);if(u)return fn(u);a=!1,r=tn,l=new Qn}else l=t?[]:s;e:for(;++i=i?e:rr(e,t,n)}var wr=nt||function(e){return gt.clearTimeout(e)};function Sr(e,t){if(t)return e.slice();var n=e.length,i=Ue?Ue(n):new e.constructor(n);return e.copy(i),i}function xr(e){var t=new e.constructor(e.byteLength);return new je(t).set(new je(e)),t}function Lr(e,t){var n=t?xr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Nr(e,t){if(e!==t){var n=e!==r,i=null===e,o=e===e,a=cs(e),s=t!==r,l=null===t,u=t===t,c=cs(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||i&&s&&u||!n&&u||!o)return 1;if(!i&&!a&&!c&&e1?n[o-1]:r,s=o>2?n[2]:r;for(a=e.length>3&&"function"==typeof a?(o--,a):r,s&&ko(n[0],n[1],s)&&(a=o<3?r:a,o=1),t=Le(t);++i-1?o[a?t[s]:s]:r}}function Wr(e){return io((function(t){var n=t.length,i=n,a=jn.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new Ee(o);if(a&&!l&&"wrapper"==so(s))var l=new jn([],!0)}for(i=l?i:n;++i1&&_.reverse(),f&&cl))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var h=-1,f=!0,p=2&n?new Qn:r;for(a.set(e,t),a.set(t,e);++h-1&&e%1==0&&e1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return Et(m,(function(n){var i="_."+n[0];t&n[1]&&!At(e,i)&&e.push(i)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(ce):[]}(i),n)))}function Ro(e){var t=0,n=0;return function(){var i=kn(),o=16-(i-n);if(n=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Zo(e,t){var n=-1,i=e.length,o=i-1;for(t=t===r?i:t;++n1?e[t-1]:r;return n="function"==typeof n?(e.pop(),n):r,sa(e,n)}));function pa(e){var t=Vn(e);return t.__chain__=!0,t}function ga(e,t){return t(e)}var va=io((function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,o=function(t){return si(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Un&&bo(n)?((i=i.slice(n,+n+(t?1:0))).__actions__.push({func:ga,args:[o],thisArg:r}),new jn(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(r),e}))):this.thru(o)}));var ma=Or((function(e,t,n){Me.call(e,n)?++e[n]:ai(e,n,1)}));var ya=Br(Uo),_a=Br(Ko);function ba(e,t){return(Ka(e)?Et:fi)(e,uo(t,3))}function ka(e,t){return(Ka(e)?It:pi)(e,uo(t,3))}var Ca=Or((function(e,t,n){Me.call(e,n)?e[n].push(t):ai(e,n,[t])}));var wa=Yi((function(e,t,i){var r=-1,o="function"==typeof t,a=Ga(e)?n(e.length):[];return fi(e,(function(e){a[++r]=o?Nt(t,e,i):Ti(e,t,i)})),a})),Sa=Or((function(e,t,n){ai(e,n,t)}));function xa(e,t){return(Ka(e)?Mt:Wi)(e,uo(t,3))}var La=Or((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Na=Yi((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ko(e,t[0],t[1])?t=[]:n>2&&ko(t[0],t[1],t[2])&&(t=[t[0]]),Ui(e,yi(t,1),[])})),Da=rt||function(){return gt.Date.now()};function Ea(e,t,n){return t=n?r:t,t=e&&null==t?e.length:t,Xr(e,d,r,r,r,r,t)}function Ia(e,t){var n;if("function"!=typeof t)throw new Ee(o);return e=vs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var Ta=Yi((function(e,t,n){var i=1;if(n.length){var r=hn(n,lo(Ta));i|=u}return Xr(e,i,t,n,r)})),Oa=Yi((function(e,t,n){var i=3;if(n.length){var r=hn(n,lo(Oa));i|=u}return Xr(t,i,e,n,r)}));function Aa(e,t,n){var i,a,s,l,u,c,d=0,h=!1,f=!1,p=!0;if("function"!=typeof e)throw new Ee(o);function g(t){var n=i,o=a;return i=a=r,d=t,l=e.apply(o,n)}function v(e){return d=e,u=Ao(y,t),h?g(e):l}function m(e){var n=e-c;return c===r||n>=t||n<0||f&&e-d>=s}function y(){var e=Da();if(m(e))return _(e);u=Ao(y,function(e){var n=t-(e-c);return f?bn(n,s-(e-d)):n}(e))}function _(e){return u=r,p&&i?g(e):(i=a=r,l)}function b(){var e=Da(),n=m(e);if(i=arguments,a=this,c=e,n){if(u===r)return v(c);if(f)return wr(u),u=Ao(y,t),g(c)}return u===r&&(u=Ao(y,t)),l}return t=ys(t)||0,ns(n)&&(h=!!n.leading,s=(f="maxWait"in n)?Gt(ys(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),b.cancel=function(){u!==r&&wr(u),d=0,i=c=a=u=r},b.flush=function(){return u===r?l:_(Da())},b}var Pa=Yi((function(e,t){return di(e,1,t)})),Ma=Yi((function(e,t,n){return di(e,ys(t)||0,n)}));function Ra(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ee(o);var n=function n(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Ra.Cache||Gn),n}function Za(e){if("function"!=typeof e)throw new Ee(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ra.Cache=Gn;var Fa=kr((function(e,t){var n=(t=1==t.length&&Ka(t[0])?Mt(t[0],Jt(uo())):Mt(yi(t,1),Jt(uo()))).length;return Yi((function(i){for(var r=-1,o=bn(i.length,n);++r=t})),Ua=Oi(function(){return arguments}())?Oi:function(e){return is(e)&&Me.call(e,"callee")&&!Ge.call(e,"callee")},Ka=n.isArray,qa=kt?Jt(kt):function(e){return is(e)&&Li(e)==P};function Ga(e){return null!=e&&ts(e.length)&&!Ja(e)}function Qa(e){return is(e)&&Ga(e)}var $a=mt||yl,Ya=Ct?Jt(Ct):function(e){return is(e)&&Li(e)==k};function Xa(e){if(!is(e))return!1;var t=Li(e);return t==C||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!as(e)}function Ja(e){if(!ns(e))return!1;var t=Li(e);return t==w||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function es(e){return"number"==typeof e&&e==vs(e)}function ts(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function ns(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function is(e){return null!=e&&"object"==typeof e}var rs=wt?Jt(wt):function(e){return is(e)&&vo(e)==x};function os(e){return"number"==typeof e||is(e)&&Li(e)==L}function as(e){if(!is(e)||Li(e)!=N)return!1;var t=Ke(e);if(null===t)return!0;var n=Me.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Pe.call(n)==Be}var ss=St?Jt(St):function(e){return is(e)&&Li(e)==E};var ls=xt?Jt(xt):function(e){return is(e)&&vo(e)==I};function us(e){return"string"==typeof e||!Ka(e)&&is(e)&&Li(e)==T}function cs(e){return"symbol"==typeof e||is(e)&&Li(e)==O}var ds=Lt?Jt(Lt):function(e){return is(e)&&ts(e.length)&&!!lt[Li(e)]};var hs=qr(Bi),fs=qr((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(Ga(e))return us(e)?vn(e):Ir(e);if(Ye&&e[Ye])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ye]());var t=vo(e);return(t==x?cn:t==I?fn:Hs)(e)}function gs(e){return e?(e=ys(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function vs(e){var t=gs(e),n=t%1;return t===t?n?t-n:t:0}function ms(e){return e?li(vs(e),0,v):0}function ys(e){if("number"==typeof e)return e;if(cs(e))return g;if(ns(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ns(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xt(e);var n=me.test(e);return n||_e.test(e)?ht(e.slice(2),n?2:8):ve.test(e)?g:+e}function _s(e){return Tr(e,Ps(e))}function bs(e){return null==e?"":cr(e)}var ks=Ar((function(e,t){if(xo(t)||Ga(t))Tr(t,As(t),e);else for(var n in t)Me.call(t,n)&&ni(e,n,t[n])})),Cs=Ar((function(e,t){Tr(t,Ps(t),e)})),ws=Ar((function(e,t,n,i){Tr(t,Ps(t),e,i)})),Ss=Ar((function(e,t,n,i){Tr(t,As(t),e,i)})),xs=io(si);var Ls=Yi((function(e,t){e=Le(e);var n=-1,i=t.length,o=i>2?t[2]:r;for(o&&ko(t[0],t[1],o)&&(i=1);++n1),t})),Tr(e,oo(e),n),i&&(n=ui(n,7,to));for(var r=t.length;r--;)hr(n,t[r]);return n}));var Fs=io((function(e,t){return null==e?{}:function(e,t){return Ki(e,t,(function(t,n){return Es(e,n)}))}(e,t)}));function Bs(e,t){if(null==e)return{};var n=Mt(oo(e),(function(e){return[e]}));return t=uo(t),Ki(e,n,(function(e,n){return t(e,n[0])}))}var Ws=Yr(As),Vs=Yr(Ps);function Hs(e){return null==e?[]:en(e,As(e))}var zs=Zr((function(e,t,n){return t=t.toLowerCase(),e+(n?js(t):t)}));function js(e){return Xs(bs(e).toLowerCase())}function Us(e){return(e=bs(e))&&e.replace(ke,an).replace(tt,"")}var Ks=Zr((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),qs=Zr((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Gs=Rr("toLowerCase");var Qs=Zr((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var $s=Zr((function(e,t,n){return e+(n?" ":"")+Xs(t)}));var Ys=Zr((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Xs=Rr("toUpperCase");function Js(e,t,n){return e=bs(e),(t=n?r:t)===r?function(e){return ot.test(e)}(e)?function(e){return e.match(it)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var el=Yi((function(e,t){try{return Nt(e,r,t)}catch(n){return Xa(n)?n:new se(n)}})),tl=io((function(e,t){return Et(t,(function(t){t=Bo(t),ai(e,t,Ta(e[t],e))})),e}));function nl(e){return function(){return e}}var il=Wr(),rl=Wr(!0);function ol(e){return e}function al(e){return Ri("function"==typeof e?e:ui(e,1))}var sl=Yi((function(e,t){return function(n){return Ti(n,e,t)}})),ll=Yi((function(e,t){return function(n){return Ti(e,n,t)}}));function ul(e,t,n){var i=As(t),r=wi(t,i);null!=n||ns(t)&&(r.length||!i.length)||(n=t,t=e,e=this,r=wi(t,As(t)));var o=!(ns(n)&&"chain"in n)||!!n.chain,a=Ja(e);return Et(r,(function(n){var i=t[n];e[n]=i,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),r=n.__actions__=Ir(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,Rt([this.value()],arguments))})})),e}function cl(){}var dl=jr(Mt),hl=jr(Tt),fl=jr(Bt);function pl(e){return Co(e)?qt(Bo(e)):function(e){return function(t){return Si(t,e)}}(e)}var gl=Kr(),vl=Kr(!0);function ml(){return[]}function yl(){return!1}var _l=zr((function(e,t){return e+t}),0),bl=Qr("ceil"),kl=zr((function(e,t){return e/t}),1),Cl=Qr("floor");var wl=zr((function(e,t){return e*t}),1),Sl=Qr("round"),xl=zr((function(e,t){return e-t}),0);return Vn.after=function(e,t){if("function"!=typeof t)throw new Ee(o);return e=vs(e),function(){if(--e<1)return t.apply(this,arguments)}},Vn.ary=Ea,Vn.assign=ks,Vn.assignIn=Cs,Vn.assignInWith=ws,Vn.assignWith=Ss,Vn.at=xs,Vn.before=Ia,Vn.bind=Ta,Vn.bindAll=tl,Vn.bindKey=Oa,Vn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ka(e)?e:[e]},Vn.chain=pa,Vn.chunk=function(e,t,i){t=(i?ko(e,t,i):t===r)?1:Gt(vs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,s=0,l=n(ft(o/t));ao?0:o+n),(i=i===r||i>o?o:vs(i))<0&&(i+=o),i=n>i?0:ms(i);n>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!ss(t))&&!(t=cr(t))&&un(e)?Cr(vn(e),0,n):e.split(t,n):[]},Vn.spread=function(e,t){if("function"!=typeof e)throw new Ee(o);return t=null==t?0:Gt(vs(t),0),Yi((function(n){var i=n[t],r=Cr(n,0,t);return i&&Rt(r,i),Nt(e,this,r)}))},Vn.tail=function(e){var t=null==e?0:e.length;return t?rr(e,1,t):[]},Vn.take=function(e,t,n){return e&&e.length?rr(e,0,(t=n||t===r?1:vs(t))<0?0:t):[]},Vn.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?rr(e,(t=i-(t=n||t===r?1:vs(t)))<0?0:t,i):[]},Vn.takeRightWhile=function(e,t){return e&&e.length?pr(e,uo(t,3),!1,!0):[]},Vn.takeWhile=function(e,t){return e&&e.length?pr(e,uo(t,3)):[]},Vn.tap=function(e,t){return t(e),e},Vn.throttle=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new Ee(o);return ns(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Aa(e,t,{leading:i,maxWait:t,trailing:r})},Vn.thru=ga,Vn.toArray=ps,Vn.toPairs=Ws,Vn.toPairsIn=Vs,Vn.toPath=function(e){return Ka(e)?Mt(e,Bo):cs(e)?[e]:Ir(Fo(bs(e)))},Vn.toPlainObject=_s,Vn.transform=function(e,t,n){var i=Ka(e),r=i||$a(e)||ds(e);if(t=uo(t,4),null==n){var o=e&&e.constructor;n=r?i?new o:[]:ns(e)&&Ja(o)?Hn(Ke(e)):{}}return(r?Et:ki)(e,(function(e,i,r){return t(n,e,i,r)})),n},Vn.unary=function(e){return Ea(e,1)},Vn.union=ia,Vn.unionBy=ra,Vn.unionWith=oa,Vn.uniq=function(e){return e&&e.length?dr(e):[]},Vn.uniqBy=function(e,t){return e&&e.length?dr(e,uo(t,2)):[]},Vn.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?dr(e,r,t):[]},Vn.unset=function(e,t){return null==e||hr(e,t)},Vn.unzip=aa,Vn.unzipWith=sa,Vn.update=function(e,t,n){return null==e?e:fr(e,t,_r(n))},Vn.updateWith=function(e,t,n,i){return i="function"==typeof i?i:r,null==e?e:fr(e,t,_r(n),i)},Vn.values=Hs,Vn.valuesIn=function(e){return null==e?[]:en(e,Ps(e))},Vn.without=la,Vn.words=Js,Vn.wrap=function(e,t){return Ba(_r(t),e)},Vn.xor=ua,Vn.xorBy=ca,Vn.xorWith=da,Vn.zip=ha,Vn.zipObject=function(e,t){return mr(e||[],t||[],ni)},Vn.zipObjectDeep=function(e,t){return mr(e||[],t||[],er)},Vn.zipWith=fa,Vn.entries=Ws,Vn.entriesIn=Vs,Vn.extend=Cs,Vn.extendWith=ws,ul(Vn,Vn),Vn.add=_l,Vn.attempt=el,Vn.camelCase=zs,Vn.capitalize=js,Vn.ceil=bl,Vn.clamp=function(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=(n=ys(n))===n?n:0),t!==r&&(t=(t=ys(t))===t?t:0),li(ys(e),t,n)},Vn.clone=function(e){return ui(e,4)},Vn.cloneDeep=function(e){return ui(e,5)},Vn.cloneDeepWith=function(e,t){return ui(e,5,t="function"==typeof t?t:r)},Vn.cloneWith=function(e,t){return ui(e,4,t="function"==typeof t?t:r)},Vn.conformsTo=function(e,t){return null==t||ci(e,t,As(t))},Vn.deburr=Us,Vn.defaultTo=function(e,t){return null==e||e!==e?t:e},Vn.divide=kl,Vn.endsWith=function(e,t,n){e=bs(e),t=cr(t);var i=e.length,o=n=n===r?i:li(vs(n),0,i);return(n-=t.length)>=0&&e.slice(n,o)==t},Vn.eq=Ha,Vn.escape=function(e){return(e=bs(e))&&Y.test(e)?e.replace(Q,sn):e},Vn.escapeRegExp=function(e){return(e=bs(e))&&oe.test(e)?e.replace(re,"\\$&"):e},Vn.every=function(e,t,n){var i=Ka(e)?Tt:gi;return n&&ko(e,t,n)&&(t=r),i(e,uo(t,3))},Vn.find=ya,Vn.findIndex=Uo,Vn.findKey=function(e,t){return Vt(e,uo(t,3),ki)},Vn.findLast=_a,Vn.findLastIndex=Ko,Vn.findLastKey=function(e,t){return Vt(e,uo(t,3),Ci)},Vn.floor=Cl,Vn.forEach=ba,Vn.forEachRight=ka,Vn.forIn=function(e,t){return null==e?e:_i(e,uo(t,3),Ps)},Vn.forInRight=function(e,t){return null==e?e:bi(e,uo(t,3),Ps)},Vn.forOwn=function(e,t){return e&&ki(e,uo(t,3))},Vn.forOwnRight=function(e,t){return e&&Ci(e,uo(t,3))},Vn.get=Ds,Vn.gt=za,Vn.gte=ja,Vn.has=function(e,t){return null!=e&&mo(e,t,Di)},Vn.hasIn=Es,Vn.head=Go,Vn.identity=ol,Vn.includes=function(e,t,n,i){e=Ga(e)?e:Hs(e),n=n&&!i?vs(n):0;var r=e.length;return n<0&&(n=Gt(r+n,0)),us(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&zt(e,t,n)>-1},Vn.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:vs(n);return r<0&&(r=Gt(i+r,0)),zt(e,t,r)},Vn.inRange=function(e,t,n){return t=gs(t),n===r?(n=t,t=0):n=gs(n),function(e,t,n){return e>=bn(t,n)&&e=-9007199254740991&&e<=p},Vn.isSet=ls,Vn.isString=us,Vn.isSymbol=cs,Vn.isTypedArray=ds,Vn.isUndefined=function(e){return e===r},Vn.isWeakMap=function(e){return is(e)&&vo(e)==A},Vn.isWeakSet=function(e){return is(e)&&"[object WeakSet]"==Li(e)},Vn.join=function(e,t){return null==e?"":bt.call(e,t)},Vn.kebabCase=Ks,Vn.last=Xo,Vn.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o=i;return n!==r&&(o=(o=vs(n))<0?Gt(i+o,0):bn(o,i-1)),t===t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,o):Ht(e,Ut,o,!0)},Vn.lowerCase=qs,Vn.lowerFirst=Gs,Vn.lt=hs,Vn.lte=fs,Vn.max=function(e){return e&&e.length?vi(e,ol,Ni):r},Vn.maxBy=function(e,t){return e&&e.length?vi(e,uo(t,2),Ni):r},Vn.mean=function(e){return Kt(e,ol)},Vn.meanBy=function(e,t){return Kt(e,uo(t,2))},Vn.min=function(e){return e&&e.length?vi(e,ol,Bi):r},Vn.minBy=function(e,t){return e&&e.length?vi(e,uo(t,2),Bi):r},Vn.stubArray=ml,Vn.stubFalse=yl,Vn.stubObject=function(){return{}},Vn.stubString=function(){return""},Vn.stubTrue=function(){return!0},Vn.multiply=wl,Vn.nth=function(e,t){return e&&e.length?ji(e,vs(t)):r},Vn.noConflict=function(){return gt._===this&&(gt._=We),this},Vn.noop=cl,Vn.now=Da,Vn.pad=function(e,t,n){e=bs(e);var i=(t=vs(t))?gn(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return Ur(pt(r),n)+e+Ur(ft(r),n)},Vn.padEnd=function(e,t,n){e=bs(e);var i=(t=vs(t))?gn(e):0;return t&&it){var i=e;e=t,t=i}if(n||e%1||t%1){var o=wn();return bn(e+o*(t-e+dt("1e-"+((o+"").length-1))),t)}return Qi(e,t)},Vn.reduce=function(e,t,n){var i=Ka(e)?Zt:Qt,r=arguments.length<3;return i(e,uo(t,4),n,r,fi)},Vn.reduceRight=function(e,t,n){var i=Ka(e)?Ft:Qt,r=arguments.length<3;return i(e,uo(t,4),n,r,pi)},Vn.repeat=function(e,t,n){return t=(n?ko(e,t,n):t===r)?1:vs(t),$i(bs(e),t)},Vn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Vn.result=function(e,t,n){var i=-1,o=(t=br(t,e)).length;for(o||(o=1,e=r);++ip)return[];var n=v,i=bn(e,v);t=uo(t),e-=v;for(var r=Yt(i,t);++n=a)return e;var l=n-gn(i);if(l<1)return i;var u=s?Cr(s,0,l).join(""):e.slice(0,l);if(o===r)return u+i;if(s&&(l+=u.length-l),ss(o)){if(e.slice(l).search(o)){var c,d=u;for(o.global||(o=Ne(o.source,bs(ge.exec(o))+"g")),o.lastIndex=0;c=o.exec(d);)var h=c.index;u=u.slice(0,h===r?l:h)}}else if(e.indexOf(cr(o),l)!=l){var f=u.lastIndexOf(o);f>-1&&(u=u.slice(0,f))}return u+i},Vn.unescape=function(e){return(e=bs(e))&&$.test(e)?e.replace(G,yn):e},Vn.uniqueId=function(e){var t=++Re;return bs(e)+t},Vn.upperCase=Ys,Vn.upperFirst=Xs,Vn.each=ba,Vn.eachRight=ka,Vn.first=Go,ul(Vn,function(){var e={};return ki(Vn,(function(t,n){Me.call(Vn.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Vn.VERSION="4.17.21",Et(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Vn[e].placeholder=Vn})),Et(["drop","take"],(function(e,t){Un.prototype[e]=function(n){n=n===r?1:Gt(vs(n),0);var i=this.__filtered__&&!t?new Un(this):this.clone();return i.__filtered__?i.__takeCount__=bn(n,i.__takeCount__):i.__views__.push({size:bn(n,v),type:e+(i.__dir__<0?"Right":"")}),i},Un.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Et(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=1==n||3==n;Un.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:uo(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),Et(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Un.prototype[e]=function(){return this[n](1).value()[0]}})),Et(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Un.prototype[e]=function(){return this.__filtered__?new Un(this):this[n](1)}})),Un.prototype.compact=function(){return this.filter(ol)},Un.prototype.find=function(e){return this.filter(e).head()},Un.prototype.findLast=function(e){return this.reverse().find(e)},Un.prototype.invokeMap=Yi((function(e,t){return"function"==typeof e?new Un(this):this.map((function(n){return Ti(n,e,t)}))})),Un.prototype.reject=function(e){return this.filter(Za(uo(e)))},Un.prototype.slice=function(e,t){e=vs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Un(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=vs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Un.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Un.prototype.toArray=function(){return this.take(v)},ki(Un.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=Vn[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);o&&(Vn.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,l=t instanceof Un,u=s[0],c=l||Ka(t),d=function(e){var t=o.apply(Vn,Rt([e],s));return i&&h?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var h=this.__chain__,f=!!this.__actions__.length,p=a&&!h,g=l&&!f;if(!a&&c){t=g?t:new Un(this);var v=e.apply(t,s);return v.__actions__.push({func:ga,args:[d],thisArg:r}),new jn(v,h)}return p&&g?e.apply(this,s):(v=this.thru(d),p?i?v.value()[0]:v.value():v)})})),Et(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ie[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Vn.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(Ka(r)?r:[],e)}return this[n]((function(n){return t.apply(Ka(n)?n:[],e)}))}})),ki(Un.prototype,(function(e,t){var n=Vn[t];if(n){var i=n.name+"";Me.call(On,i)||(On[i]=[]),On[i].push({name:t,func:n})}})),On[Vr(r,2).name]=[{name:"wrapper",func:r}],Un.prototype.clone=function(){var e=new Un(this.__wrapped__);return e.__actions__=Ir(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ir(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ir(this.__views__),e},Un.prototype.reverse=function(){if(this.__filtered__){var e=new Un(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Un.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ka(e),i=t<0,r=n?e.length:0,o=function(e,t,n){var i=-1,r=n.length;for(;++i=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},Vn.prototype.plant=function(e){for(var t,n=this;n instanceof zn;){var i=Vo(n);i.__index__=0,i.__values__=r,t?o.__wrapped__=i:t=i;var o=i;n=n.__wrapped__}return o.__wrapped__=e,t},Vn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Un){var t=e;return this.__actions__.length&&(t=new Un(this)),(t=t.reverse()).__actions__.push({func:ga,args:[na],thisArg:r}),new jn(t,this.__chain__)}return this.thru(na)},Vn.prototype.toJSON=Vn.prototype.valueOf=Vn.prototype.value=function(){return gr(this.__wrapped__,this.__actions__)},Vn.prototype.first=Vn.prototype.head,Ye&&(Vn.prototype[Ye]=function(){return this}),Vn}();gt._=_n,(i=function(){return _n}.call(t,n,t,e))===r||(e.exports=i)}.call(this)},72617:function(e,t,n){var i=n(64173),r=n(39934)((function(e,t,n,r){i(e,t,n,r)}));e.exports=r},49488:function(e){e.exports=function(){return!1}},6576:function(e,t,n){var i=n(64503),r=n(73961);e.exports=function(e){return i(e,r(e))}},81294:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.mock=void 0;var o=n(50012);Object.defineProperty(t,"mock",{enumerable:!0,get:function(){return o.mock}}),r(n(50012),t)},50012:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mock=void 0;var r=i(n(763));function o(e){return e.allOf&&e.allOf[0]&&(e=r.default.reduce(e.allOf,(function(e,t){return r.default.merge({},e,o(t))}),e)),e}t.mock=function e(t){if(void 0!==(t=o(t)).example)return t.example;if(void 0!==t.default)return t.default;if(t.oneOf&&t.oneOf[0])return e(t.oneOf[0]);if(t.anyOf&&t.anyOf[0])return e(t.anyOf[0]);var n=r.default.isArray(t)?r.default.first(t.type):t.type;if("object"===n){var i=t.properties;return i?r.default.mapValues(i,e):{}}if("array"===n){var a=t,s=a.items;if(!s)return[];var l=[],u=s.oneOf&&s.oneOf[0]||s;if(s.anyOf)for(var c=0,d=s.anyOf;c=0,m=g.indexOf("AppleWebKit")>=0,y=g.indexOf("Chrome")>=0,_=!y&&g.indexOf("Safari")>=0,b=!y&&!_&&m,k=g.indexOf("Electron/")>=0,C=g.indexOf("Android")>=0,w=!1;if(window.matchMedia){var S=window.matchMedia("(display-mode: standalone)");w=S.matches,h(S,(function(e){var t=e.matches;w=t}))}function x(){return w}},57572:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var i=n(62865),r=n(73616),o={clipboard:{writeText:r.tY||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:r.tY||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:r.tY||i.isStandalone()?0:navigator.keyboard||i.isSafari?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)}},94021:function(e,t,n){"use strict";n.d(t,{P:function(){return r},g:function(){return i}});var i={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:n(62684).v.text},r={CurrentDragAndDropData:void 0}},81531:function(e,t,n){"use strict";n.r(t),n.d(t,{$:function(){return xe},Dimension:function(){return z},DragAndDropObserver:function(){return Re},EventHelper:function(){return pe},EventType:function(){return fe},ModifierKeyEmitter:function(){return Me},Namespace:function(){return Ce},StandardWindow:function(){return G},addDisposableGenericMouseDownListener:function(){return O},addDisposableGenericMouseUpListener:function(){return A},addDisposableListener:function(){return N},addStandardDisposableGenericMouseDownListener:function(){return I},addStandardDisposableGenericMouseUpListener:function(){return T},addStandardDisposableListener:function(){return E},animate:function(){return Te},append:function(){return _e},asCSSPropertyValue:function(){return Ae},asCSSUrl:function(){return Oe},clearNode:function(){return S},computeScreenAwareSize:function(){return Ee},createCSSRule:function(){return ce},createEventEmitter:function(){return P},createStyleSheet:function(){return ae},findParentWithClass:function(){return ee},getActiveElement:function(){return oe},getClientArea:function(){return V},getComputedStyle:function(){return W},getContentHeight:function(){return Y},getContentWidth:function(){return $},getDomNodePagePosition:function(){return K},getDomNodeZoomLevel:function(){return q},getElementsByTagName:function(){return De},getShadowRoot:function(){return re},getTopLeftOffset:function(){return j},getTotalHeight:function(){return X},getTotalWidth:function(){return Q},h:function(){return Fe},hasParentWithClass:function(){return te},hide:function(){return Ne},hookDomPurifyHrefAndSrcSanitizer:function(){return Pe},isAncestor:function(){return J},isHTMLElement:function(){return he},isInDOM:function(){return x},isInShadowDOM:function(){return ie},isShadowRoot:function(){return ne},prepend:function(){return be},removeCSSRulesContainingSelector:function(){return de},reset:function(){return ke},restoreParentsScrollTop:function(){return ve},runAtThisOrScheduleAtNextAnimationFrame:function(){return M},saveParentsScrollTop:function(){return ge},scheduleAtNextAnimationFrame:function(){return R},show:function(){return Le},size:function(){return U},trackFocus:function(){return ye},windowOpenNoOpener:function(){return Ie}});var i=n(29439),r=n(37762),o=n(71002),a=n(89611),s=n(60136);function l(){l=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,i,r){var o=new RegExp(e,i);return t.set(o,r||t.get(e)),(0,a.Z)(o,n.prototype)}function i(e,n){var i=t.get(n);return Object.keys(i).reduce((function(t,n){var r=i[n];if("number"==typeof r)t[n]=e[r];else{for(var o=0;void 0===e[r[o]]&&o+1]+)>/g,(function(e,t){var n=a[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof r){var s=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=(0,o.Z)(e[e.length-1])&&(e=[].slice.call(e)).push(i(e,s)),r.apply(this,e)}))}return e[Symbol.replace].call(this,n,r)},l.apply(this,arguments)}var u=n(11752),c=n(61120),d=n(27277),h=n(15671),f=n(43144),p=n(62865),g=n(57572),v=n(33813),m=n(2524),y=n(14173),_=n(73097),b=n(67797),k=n(11860),C=n(84855),w=n(73616);function S(e){for(;e.firstChild;)e.firstChild.remove()}function x(e){var t;return null!==(t=null===e||void 0===e?void 0:e.isConnected)&&void 0!==t&&t}var L=function(){function e(t,n,i,r){(0,h.Z)(this,e),this._node=t,this._type=n,this._handler=i,this._options=r||!1,this._node.addEventListener(this._type,this._handler,this._options)}return(0,f.Z)(e,[{key:"dispose",value:function(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}]),e}();function N(e,t,n,i){return new L(e,t,n,i)}function D(e){return function(t){return e(new m.n(t))}}var E=function(e,t,n,i){var r=n;return"click"===t||"mousedown"===t?r=D(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(r=function(e){return function(t){return e(new v.y(t))}}(n)),N(e,t,r,i)},I=function(e,t,n){return O(e,D(t),n)},T=function(e,t,n){return A(e,D(t),n)};function O(e,t,n){return N(e,w.gn&&g.D.pointerEvents?fe.POINTER_DOWN:fe.MOUSE_DOWN,t,n)}function A(e,t,n){return N(e,w.gn&&g.D.pointerEvents?fe.POINTER_UP:fe.MOUSE_UP,t,n)}function P(e,t,n){var i=null,r=function(e){return o.fire(e)},o=new _.Q5({onFirstListenerAdd:function(){i||(i=new L(e,t,r,n))},onLastListenerRemove:function(){i&&(i.dispose(),i=null)}});return o}var M,R,Z=null;function F(e){if(!Z){Z=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||function(e){return setTimeout((function(){return e((new Date).getTime())}),0)}}return Z.call(self,e)}var B=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,h.Z)(this,e),this._runner=t,this.priority=n,this._canceled=!1}return(0,f.Z)(e,[{key:"dispose",value:function(){this._canceled=!0}},{key:"execute",value:function(){if(!this._canceled)try{this._runner()}catch(e){(0,y.dL)(e)}}}],[{key:"sort",value:function(e,t){return t.priority-e.priority}}]),e}();function W(e){return document.defaultView.getComputedStyle(e,null)}function V(e){if(e!==document.body)return new z(e.clientWidth,e.clientHeight);if(w.gn&&window.visualViewport)return new z(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new z(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new z(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new z(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}!function(){var e=[],t=null,n=!1,i=!1,r=function(){for(n=!1,t=e,e=[],i=!0;t.length>0;){t.sort(B.sort),t.shift().execute()}i=!1};R=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=new B(t,i);return e.push(o),n||(n=!0,F(r)),o},M=function(e,n){if(i){var r=new B(e,n);return t.push(r),r}return R(e,n)}}();var H=function(){function e(){(0,h.Z)(this,e)}return(0,f.Z)(e,null,[{key:"convertToPixels",value:function(e,t){return parseFloat(t)||0}},{key:"getDimension",value:function(t,n,i){var r=W(t),o="0";return r&&(o=r.getPropertyValue?r.getPropertyValue(n):r.getAttribute(i)),e.convertToPixels(t,o)}},{key:"getBorderLeftWidth",value:function(t){return e.getDimension(t,"border-left-width","borderLeftWidth")}},{key:"getBorderRightWidth",value:function(t){return e.getDimension(t,"border-right-width","borderRightWidth")}},{key:"getBorderTopWidth",value:function(t){return e.getDimension(t,"border-top-width","borderTopWidth")}},{key:"getBorderBottomWidth",value:function(t){return e.getDimension(t,"border-bottom-width","borderBottomWidth")}},{key:"getPaddingLeft",value:function(t){return e.getDimension(t,"padding-left","paddingLeft")}},{key:"getPaddingRight",value:function(t){return e.getDimension(t,"padding-right","paddingRight")}},{key:"getPaddingTop",value:function(t){return e.getDimension(t,"padding-top","paddingTop")}},{key:"getPaddingBottom",value:function(t){return e.getDimension(t,"padding-bottom","paddingBottom")}},{key:"getMarginLeft",value:function(t){return e.getDimension(t,"margin-left","marginLeft")}},{key:"getMarginTop",value:function(t){return e.getDimension(t,"margin-top","marginTop")}},{key:"getMarginRight",value:function(t){return e.getDimension(t,"margin-right","marginRight")}},{key:"getMarginBottom",value:function(t){return e.getDimension(t,"margin-bottom","marginBottom")}}]),e}(),z=function(){function e(t,n){(0,h.Z)(this,e),this.width=t,this.height=n}return(0,f.Z)(e,[{key:"with",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.width,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.height;return t!==this.width||n!==this.height?new e(t,n):this}}],[{key:"is",value:function(e){return"object"===typeof e&&"number"===typeof e.height&&"number"===typeof e.width}},{key:"lift",value:function(t){return t instanceof e?t:new e(t.width,t.height)}},{key:"equals",value:function(e,t){return e===t||!(!e||!t)&&(e.width===t.width&&e.height===t.height)}}]),e}();function j(e){for(var t=e.offsetParent,n=e.offsetTop,i=e.offsetLeft;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){n-=e.scrollTop;var r=ne(e)?null:W(e);r&&(i-="rtl"!==r.direction?e.scrollLeft:-e.scrollLeft),e===t&&(i+=H.getBorderLeftWidth(e),n+=H.getBorderTopWidth(e),n+=e.offsetTop,i+=e.offsetLeft,t=e.offsetParent)}return{left:i,top:n}}function U(e,t,n){"number"===typeof t&&(e.style.width="".concat(t,"px")),"number"===typeof n&&(e.style.height="".concat(n,"px"))}function K(e){var t=e.getBoundingClientRect();return{left:t.left+G.scrollX,top:t.top+G.scrollY,width:t.width,height:t.height}}function q(e){var t=e,n=1;do{var i=W(t).zoom;null!==i&&void 0!==i&&"1"!==i&&(n*=i),t=t.parentElement}while(null!==t&&t!==document.documentElement);return n}z.None=new z(0,0);var G=new(function(){function e(){(0,h.Z)(this,e)}return(0,f.Z)(e,[{key:"scrollX",get:function(){return"number"===typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}},{key:"scrollY",get:function(){return"number"===typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}}]),e}());function Q(e){var t=H.getMarginLeft(e)+H.getMarginRight(e);return e.offsetWidth+t}function $(e){var t=H.getBorderLeftWidth(e)+H.getBorderRightWidth(e),n=H.getPaddingLeft(e)+H.getPaddingRight(e);return e.offsetWidth-t-n}function Y(e){var t=H.getBorderTopWidth(e)+H.getBorderBottomWidth(e),n=H.getPaddingTop(e)+H.getPaddingBottom(e);return e.offsetHeight-t-n}function X(e){var t=H.getMarginTop(e)+H.getMarginBottom(e);return e.offsetHeight+t}function J(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function ee(e,t,n){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e.classList.contains(t))return e;if(n)if("string"===typeof n){if(e.classList.contains(n))return null}else if(e===n)return null;e=e.parentNode}return null}function te(e,t,n){return!!ee(e,t,n)}function ne(e){return e&&!!e.host&&!!e.mode}function ie(e){return!!re(e)}function re(e){for(;e.parentNode;){if(e===document.body)return null;e=e.parentNode}return ne(e)?e:null}function oe(){for(var e=document.activeElement;null===e||void 0===e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.getElementsByTagName("head")[0],t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}var se=null;function le(){return se||(se=ae()),se}function ue(e){var t,n;return(null===(t=null===e||void 0===e?void 0:e.sheet)||void 0===t?void 0:t.rules)?e.sheet.rules:(null===(n=null===e||void 0===e?void 0:e.sheet)||void 0===n?void 0:n.cssRules)?e.sheet.cssRules:[]}function ce(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le();n&&t&&n.sheet.insertRule(e+"{"+t+"}",0)}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le();if(t){for(var n=ue(t),i=[],r=0;r=0;a--)t.sheet.deleteRule(i[a])}}function he(e){return"object"===typeof HTMLElement?e instanceof HTMLElement:e&&"object"===typeof e&&1===e.nodeType&&"string"===typeof e.nodeName}var fe={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",POINTER_LEAVE:"pointerleave",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",PAGE_SHOW:"pageshow",PAGE_HIDE:"pagehide",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:p.isWebKit?"webkitAnimationStart":"animationstart",ANIMATION_END:p.isWebKit?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:p.isWebKit?"webkitAnimationIteration":"animationiteration"},pe={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};function ge(e){for(var t=[],n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function ve(e,t){for(var n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode}var me=function(e){(0,s.Z)(n,e);var t=(0,d.Z)(n);function n(e){var i;(0,h.Z)(this,n),(i=t.call(this))._onDidFocus=i._register(new _.Q5),i.onDidFocus=i._onDidFocus.event,i._onDidBlur=i._register(new _.Q5),i.onDidBlur=i._onDidBlur.event;var r=n.hasFocusWithin(e),o=!1,a=function(){o=!1,r||(r=!0,i._onDidFocus.fire())},s=function(){r&&(o=!0,window.setTimeout((function(){o&&(o=!1,r=!1,i._onDidBlur.fire())}),0))};return i._refreshStateHandler=function(){n.hasFocusWithin(e)!==r&&(r?s():a())},i._register(N(e,fe.FOCUS,a,!0)),i._register(N(e,fe.BLUR,s,!0)),i._register(N(e,fe.FOCUS_IN,(function(){return i._refreshStateHandler()}))),i._register(N(e,fe.FOCUS_OUT,(function(){return i._refreshStateHandler()}))),i}return(0,f.Z)(n,null,[{key:"hasFocusWithin",value:function(e){var t=re(e);return J(t?t.activeElement:document.activeElement,e)}}]),n}(k.JT);function ye(e){return new me(e)}function _e(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1?t-1:0),i=1;i3?s-3:0),u=3;u2?n-2:0),r=2;r1&&void 0!==arguments[1]&&arguments[1],n=document.createElement("a");return b.v5("afterSanitizeAttributes",(function(i){for(var r=0,o=["href","src"];r2?n-2:0),r=2;r1?n-1:0),r=1;r/gm),H=u(/^data-[\-\w.\u00B7-\uFFFF]/),z=u(/^aria-[\-\w]+$/),j=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=u(/^(?:\w+script|data):/i),K=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function G(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:Q(),n=function(t){return e(t)};if(n.version="2.3.1",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var i=t.document,r=t.document,o=t.DocumentFragment,a=t.HTMLTemplateElement,s=t.Node,u=t.Element,c=t.NodeFilter,d=t.NamedNodeMap,h=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,f=t.Text,p=t.Comment,x=t.DOMParser,Y=t.trustedTypes,X=u.prototype,J=D(X,"cloneNode"),ee=D(X,"nextSibling"),te=D(X,"childNodes"),ne=D(X,"parentNode");if("function"===typeof a){var ie=r.createElement("template");ie.content&&ie.content.ownerDocument&&(r=ie.content.ownerDocument)}var re=$(Y,i),oe=re&&Ze?re.createHTML(""):"",ae=r,se=ae.implementation,le=ae.createNodeIterator,ue=ae.createDocumentFragment,ce=ae.getElementsByTagName,de=i.importNode,he={};try{he=N(r).documentMode?r.documentMode:{}}catch(yt){}var fe={};n.isSupported="function"===typeof ne&&se&&"undefined"!==typeof se.createHTMLDocument&&9!==he;var pe=W,ge=V,ve=H,me=z,ye=U,_e=K,be=j,ke=null,Ce=L({},[].concat(G(E),G(I),G(T),G(A),G(M))),we=null,Se=L({},[].concat(G(R),G(Z),G(F),G(B))),xe=null,Le=null,Ne=!0,De=!0,Ee=!1,Ie=!1,Te=!1,Oe=!1,Ae=!1,Pe=!1,Me=!1,Re=!0,Ze=!1,Fe=!0,Be=!0,We=!1,Ve={},He=null,ze=L({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),je=null,Ue=L({},["audio","video","img","source","image","track"]),Ke=null,qe=L({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ge="http://www.w3.org/1998/Math/MathML",Qe="http://www.w3.org/2000/svg",$e="http://www.w3.org/1999/xhtml",Ye=$e,Xe=!1,Je=null,et=r.createElement("form"),tt=function(e){Je&&Je===e||(e&&"object"===("undefined"===typeof e?"undefined":q(e))||(e={}),e=N(e),ke="ALLOWED_TAGS"in e?L({},e.ALLOWED_TAGS):Ce,we="ALLOWED_ATTR"in e?L({},e.ALLOWED_ATTR):Se,Ke="ADD_URI_SAFE_ATTR"in e?L(N(qe),e.ADD_URI_SAFE_ATTR):qe,je="ADD_DATA_URI_TAGS"in e?L(N(Ue),e.ADD_DATA_URI_TAGS):Ue,He="FORBID_CONTENTS"in e?L({},e.FORBID_CONTENTS):ze,xe="FORBID_TAGS"in e?L({},e.FORBID_TAGS):{},Le="FORBID_ATTR"in e?L({},e.FORBID_ATTR):{},Ve="USE_PROFILES"in e&&e.USE_PROFILES,Ne=!1!==e.ALLOW_ARIA_ATTR,De=!1!==e.ALLOW_DATA_ATTR,Ee=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=e.SAFE_FOR_TEMPLATES||!1,Te=e.WHOLE_DOCUMENT||!1,Pe=e.RETURN_DOM||!1,Me=e.RETURN_DOM_FRAGMENT||!1,Re=!1!==e.RETURN_DOM_IMPORT,Ze=e.RETURN_TRUSTED_TYPE||!1,Ae=e.FORCE_BODY||!1,Fe=!1!==e.SANITIZE_DOM,Be=!1!==e.KEEP_CONTENT,We=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||be,Ye=e.NAMESPACE||$e,Ie&&(De=!1),Me&&(Pe=!0),Ve&&(ke=L({},[].concat(G(M))),we=[],!0===Ve.html&&(L(ke,E),L(we,R)),!0===Ve.svg&&(L(ke,I),L(we,Z),L(we,B)),!0===Ve.svgFilters&&(L(ke,T),L(we,Z),L(we,B)),!0===Ve.mathMl&&(L(ke,A),L(we,F),L(we,B))),e.ADD_TAGS&&(ke===Ce&&(ke=N(ke)),L(ke,e.ADD_TAGS)),e.ADD_ATTR&&(we===Se&&(we=N(we)),L(we,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&L(Ke,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(He===ze&&(He=N(He)),L(He,e.FORBID_CONTENTS)),Be&&(ke["#text"]=!0),Te&&L(ke,["html","head","body"]),ke.table&&(L(ke,["tbody"]),delete xe.tbody),l&&l(e),Je=e)},nt=L({},["mi","mo","mn","ms","mtext"]),it=L({},["foreignobject","desc","title","annotation-xml"]),rt=L({},I);L(rt,T),L(rt,O);var ot=L({},A);L(ot,P);var at=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:$e,tagName:"template"});var n=y(e.tagName),i=y(t.tagName);if(e.namespaceURI===Qe)return t.namespaceURI===$e?"svg"===n:t.namespaceURI===Ge?"svg"===n&&("annotation-xml"===i||nt[i]):Boolean(rt[n]);if(e.namespaceURI===Ge)return t.namespaceURI===$e?"math"===n:t.namespaceURI===Qe?"math"===n&&it[i]:Boolean(ot[n]);if(e.namespaceURI===$e){if(t.namespaceURI===Qe&&!it[i])return!1;if(t.namespaceURI===Ge&&!nt[i])return!1;var r=L({},["title","style","font","a","script"]);return!ot[n]&&(r[n]||!rt[n])}return!1},st=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(yt){try{e.outerHTML=oe}catch(yt){e.remove()}}},lt=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(yt){m(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!we[e])if(Pe||Me)try{st(t)}catch(yt){}else try{t.setAttribute(e,"")}catch(yt){}},ut=function(e){var t=void 0,n=void 0;if(Ae)e=""+e;else{var i=_(e,/^[\r\n\t ]+/);n=i&&i[0]}var o=re?re.createHTML(e):e;if(Ye===$e)try{t=(new x).parseFromString(o,"text/html")}catch(yt){}if(!t||!t.documentElement){t=se.createDocument(Ye,"template",null);try{t.documentElement.innerHTML=Xe?"":o}catch(yt){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),Ye===$e?ce.call(t,Te?"html":"body")[0]:Te?t.documentElement:a},ct=function(e){return le.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},dt=function(e){return!(e instanceof f||e instanceof p)&&!("string"===typeof e.nodeName&&"string"===typeof e.textContent&&"function"===typeof e.removeChild&&e.attributes instanceof h&&"function"===typeof e.removeAttribute&&"function"===typeof e.setAttribute&&"string"===typeof e.namespaceURI&&"function"===typeof e.insertBefore)},ht=function(e){return"object"===("undefined"===typeof s?"undefined":q(s))?e instanceof s:e&&"object"===("undefined"===typeof e?"undefined":q(e))&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName},ft=function(e,t,i){fe[e]&&g(fe[e],(function(e){e.call(n,t,i,Je)}))},pt=function(e){var t=void 0;if(ft("beforeSanitizeElements",e,null),dt(e))return st(e),!0;if(_(e.nodeName,/[\u0080-\uFFFF]/))return st(e),!0;var i=y(e.nodeName);if(ft("uponSanitizeElement",e,{tagName:i,allowedTags:ke}),!ht(e.firstElementChild)&&(!ht(e.content)||!ht(e.content.firstElementChild))&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return st(e),!0;if("select"===i&&w(/