github.com/openshift-online/ocm-sdk-go@v0.1.473/openapi/authorizations/v1/openapi.json (about)

     1  {
     2    "openapi": "3.0.0",
     3    "info": {
     4      "version": "v1",
     5      "title": "authorizations",
     6      "license": {
     7        "name": "Apache 2.0",
     8        "url": "http://www.apache.org/licenses/LICENSE-2.0"
     9      },
    10      "contact": {
    11        "name": "OCM Feedback",
    12        "email": "ocm-feedback@redhat.com"
    13      }
    14    },
    15    "servers": [
    16      {
    17        "description": "Production",
    18        "url": "https://api.openshift.com"
    19      },
    20      {
    21        "description": "Stage",
    22        "url": "https://api.stage.openshift.com"
    23      }
    24    ],
    25    "paths": {
    26      "/api/authorizations/v1": {
    27        "get": {
    28          "description": "Retrieves the version metadata.",
    29          "responses": {
    30            "200": {
    31              "description": "Success.",
    32              "content": {
    33                "application/json": {
    34                  "schema": {
    35                    "$ref": "#/components/schemas/Metadata"
    36                  }
    37                }
    38              }
    39            },
    40            "default": {
    41              "description": "Error.",
    42              "content": {
    43                "application/json": {
    44                  "schema": {
    45                    "$ref": "#/components/schemas/Error"
    46                  }
    47                }
    48              }
    49            }
    50          }
    51        }
    52      },
    53      "/api/authorizations/v1/access_review": {
    54        "post": {
    55          "description": "Reviews a user's access to a resource",
    56          "requestBody": {
    57            "content": {
    58              "application/json": {
    59                "schema": {
    60                  "$ref": "#/components/schemas/AccessReviewRequest"
    61                }
    62              }
    63            }
    64          },
    65          "responses": {
    66            "201": {
    67              "description": "Success.",
    68              "content": {
    69                "application/json": {
    70                  "schema": {
    71                    "$ref": "#/components/schemas/AccessReviewResponse"
    72                  }
    73                }
    74              }
    75            },
    76            "default": {
    77              "description": "Error.",
    78              "content": {
    79                "application/json": {
    80                  "schema": {
    81                    "$ref": "#/components/schemas/Error"
    82                  }
    83                }
    84              }
    85            }
    86          }
    87        }
    88      },
    89      "/api/authorizations/v1/capability_review": {
    90        "post": {
    91          "description": "Reviews a user's capability to a resource.",
    92          "requestBody": {
    93            "content": {
    94              "application/json": {
    95                "schema": {
    96                  "$ref": "#/components/schemas/CapabilityReviewRequest"
    97                }
    98              }
    99            }
   100          },
   101          "responses": {
   102            "201": {
   103              "description": "Success.",
   104              "content": {
   105                "application/json": {
   106                  "schema": {
   107                    "$ref": "#/components/schemas/CapabilityReviewResponse"
   108                  }
   109                }
   110              }
   111            },
   112            "default": {
   113              "description": "Error.",
   114              "content": {
   115                "application/json": {
   116                  "schema": {
   117                    "$ref": "#/components/schemas/Error"
   118                  }
   119                }
   120              }
   121            }
   122          }
   123        }
   124      },
   125      "/api/authorizations/v1/export_control_review": {
   126        "post": {
   127          "description": "Screens a user by account user name.",
   128          "requestBody": {
   129            "content": {
   130              "application/json": {
   131                "schema": {
   132                  "$ref": "#/components/schemas/ExportControlReviewRequest"
   133                }
   134              }
   135            }
   136          },
   137          "responses": {
   138            "201": {
   139              "description": "Success.",
   140              "content": {
   141                "application/json": {
   142                  "schema": {
   143                    "$ref": "#/components/schemas/ExportControlReviewResponse"
   144                  }
   145                }
   146              }
   147            },
   148            "default": {
   149              "description": "Error.",
   150              "content": {
   151                "application/json": {
   152                  "schema": {
   153                    "$ref": "#/components/schemas/Error"
   154                  }
   155                }
   156              }
   157            }
   158          }
   159        }
   160      },
   161      "/api/authorizations/v1/feature_review": {
   162        "post": {
   163          "description": "Reviews a user's ability to toggle a feature",
   164          "requestBody": {
   165            "content": {
   166              "application/json": {
   167                "schema": {
   168                  "$ref": "#/components/schemas/FeatureReviewRequest"
   169                }
   170              }
   171            }
   172          },
   173          "responses": {
   174            "201": {
   175              "description": "Success.",
   176              "content": {
   177                "application/json": {
   178                  "schema": {
   179                    "$ref": "#/components/schemas/FeatureReviewResponse"
   180                  }
   181                }
   182              }
   183            },
   184            "default": {
   185              "description": "Error.",
   186              "content": {
   187                "application/json": {
   188                  "schema": {
   189                    "$ref": "#/components/schemas/Error"
   190                  }
   191                }
   192              }
   193            }
   194          }
   195        }
   196      },
   197      "/api/authorizations/v1/resource_review": {
   198        "post": {
   199          "description": "Returns the list of identifiers of the resources that an account can\nperform the specified action upon.",
   200          "requestBody": {
   201            "content": {
   202              "application/json": {
   203                "schema": {
   204                  "$ref": "#/components/schemas/ResourceReviewRequest"
   205                }
   206              }
   207            }
   208          },
   209          "responses": {
   210            "201": {
   211              "description": "Success.",
   212              "content": {
   213                "application/json": {
   214                  "schema": {
   215                    "$ref": "#/components/schemas/ResourceReview"
   216                  }
   217                }
   218              }
   219            },
   220            "default": {
   221              "description": "Error.",
   222              "content": {
   223                "application/json": {
   224                  "schema": {
   225                    "$ref": "#/components/schemas/Error"
   226                  }
   227                }
   228              }
   229            }
   230          }
   231        }
   232      },
   233      "/api/authorizations/v1/self_access_review": {
   234        "post": {
   235          "description": "Reviews a user's access to a resource",
   236          "requestBody": {
   237            "content": {
   238              "application/json": {
   239                "schema": {
   240                  "$ref": "#/components/schemas/SelfAccessReviewRequest"
   241                }
   242              }
   243            }
   244          },
   245          "responses": {
   246            "201": {
   247              "description": "Success.",
   248              "content": {
   249                "application/json": {
   250                  "schema": {
   251                    "$ref": "#/components/schemas/SelfAccessReviewResponse"
   252                  }
   253                }
   254              }
   255            },
   256            "default": {
   257              "description": "Error.",
   258              "content": {
   259                "application/json": {
   260                  "schema": {
   261                    "$ref": "#/components/schemas/Error"
   262                  }
   263                }
   264              }
   265            }
   266          }
   267        }
   268      },
   269      "/api/authorizations/v1/self_capability_review": {
   270        "post": {
   271          "description": "Reviews a user's capability to a resource.",
   272          "requestBody": {
   273            "content": {
   274              "application/json": {
   275                "schema": {
   276                  "$ref": "#/components/schemas/SelfCapabilityReviewRequest"
   277                }
   278              }
   279            }
   280          },
   281          "responses": {
   282            "201": {
   283              "description": "Success.",
   284              "content": {
   285                "application/json": {
   286                  "schema": {
   287                    "$ref": "#/components/schemas/SelfCapabilityReviewResponse"
   288                  }
   289                }
   290              }
   291            },
   292            "default": {
   293              "description": "Error.",
   294              "content": {
   295                "application/json": {
   296                  "schema": {
   297                    "$ref": "#/components/schemas/Error"
   298                  }
   299                }
   300              }
   301            }
   302          }
   303        }
   304      },
   305      "/api/authorizations/v1/self_feature_review": {
   306        "post": {
   307          "description": "Reviews ability to toggle a feature",
   308          "requestBody": {
   309            "content": {
   310              "application/json": {
   311                "schema": {
   312                  "$ref": "#/components/schemas/SelfFeatureReviewRequest"
   313                }
   314              }
   315            }
   316          },
   317          "responses": {
   318            "201": {
   319              "description": "Success.",
   320              "content": {
   321                "application/json": {
   322                  "schema": {
   323                    "$ref": "#/components/schemas/SelfFeatureReviewResponse"
   324                  }
   325                }
   326              }
   327            },
   328            "default": {
   329              "description": "Error.",
   330              "content": {
   331                "application/json": {
   332                  "schema": {
   333                    "$ref": "#/components/schemas/Error"
   334                  }
   335                }
   336              }
   337            }
   338          }
   339        }
   340      },
   341      "/api/authorizations/v1/self_terms_review": {
   342        "post": {
   343          "description": "Reviews a user's status of Terms.",
   344          "requestBody": {
   345            "content": {
   346              "application/json": {
   347                "schema": {
   348                  "$ref": "#/components/schemas/SelfTermsReviewRequest"
   349                }
   350              }
   351            }
   352          },
   353          "responses": {
   354            "201": {
   355              "description": "Success.",
   356              "content": {
   357                "application/json": {
   358                  "schema": {
   359                    "$ref": "#/components/schemas/TermsReviewResponse"
   360                  }
   361                }
   362              }
   363            },
   364            "default": {
   365              "description": "Error.",
   366              "content": {
   367                "application/json": {
   368                  "schema": {
   369                    "$ref": "#/components/schemas/Error"
   370                  }
   371                }
   372              }
   373            }
   374          }
   375        }
   376      },
   377      "/api/authorizations/v1/terms_review": {
   378        "post": {
   379          "description": "Reviews a user's status of Terms.",
   380          "requestBody": {
   381            "content": {
   382              "application/json": {
   383                "schema": {
   384                  "$ref": "#/components/schemas/TermsReviewRequest"
   385                }
   386              }
   387            }
   388          },
   389          "responses": {
   390            "201": {
   391              "description": "Success.",
   392              "content": {
   393                "application/json": {
   394                  "schema": {
   395                    "$ref": "#/components/schemas/TermsReviewResponse"
   396                  }
   397                }
   398              }
   399            },
   400            "default": {
   401              "description": "Error.",
   402              "content": {
   403                "application/json": {
   404                  "schema": {
   405                    "$ref": "#/components/schemas/Error"
   406                  }
   407                }
   408              }
   409            }
   410          }
   411        }
   412      }
   413    },
   414    "components": {
   415      "schemas": {
   416        "Metadata": {
   417          "description": "Version metadata.",
   418          "properties": {
   419            "server_version": {
   420              "description": "Version of the server.",
   421              "type": "string"
   422            }
   423          }
   424        },
   425        "AccessReviewRequest": {
   426          "description": "Representation of an access review",
   427          "properties": {
   428            "account_username": {
   429              "description": "Defines the username of the account of which access is being reviewed",
   430              "type": "string"
   431            },
   432            "action": {
   433              "description": "Indicates the action, one of: [get,list,create,delete,update]",
   434              "type": "string"
   435            },
   436            "cluster_id": {
   437              "description": "Indicates which Cluster (internal id) the resource type belongs to",
   438              "type": "string"
   439            },
   440            "cluster_uuid": {
   441              "description": "Indicates which Cluster (external id) the resource type belongs to",
   442              "type": "string"
   443            },
   444            "organization_id": {
   445              "description": "Indicates which Organization the resource type belongs to",
   446              "type": "string"
   447            },
   448            "resource_type": {
   449              "description": "Indicates the type of the resource an action would be taken on.\nSee uhc-account-manager/openapi/openapi.yaml for a list of possible values",
   450              "type": "string"
   451            },
   452            "subscription_id": {
   453              "description": "Indicates which Subscription the resource type belongs to",
   454              "type": "string"
   455            }
   456          }
   457        },
   458        "AccessReviewResponse": {
   459          "description": "Representation of an access review response",
   460          "properties": {
   461            "account_username": {
   462              "description": "Defines the username of the account of which access is being reviewed.",
   463              "type": "string"
   464            },
   465            "action": {
   466              "description": "Indicates the action, one of: [get,list,create,delete,update].",
   467              "type": "string"
   468            },
   469            "allowed": {
   470              "description": "Defines whether the action on the specified resource type is allowed.",
   471              "type": "boolean"
   472            },
   473            "cluster_id": {
   474              "description": "Indicates which Cluster (internal id) the resource type belongs to.",
   475              "type": "string"
   476            },
   477            "cluster_uuid": {
   478              "description": "Indicates which Cluster (external id) the resource type belongs to.",
   479              "type": "string"
   480            },
   481            "is_ocm_internal": {
   482              "description": "Defines whether an account is ocm internal.",
   483              "type": "boolean"
   484            },
   485            "organization_id": {
   486              "description": "Indicates which Organization the resource type belongs to.",
   487              "type": "string"
   488            },
   489            "reason": {
   490              "description": "Defines further context for the value in allowed (if applicable).",
   491              "type": "string"
   492            },
   493            "resource_type": {
   494              "description": "Indicates the type of the resource an action would be taken on.\nSee uhc-account-manager/openapi/openapi.yaml for a list of possible values.",
   495              "type": "string"
   496            },
   497            "subscription_id": {
   498              "description": "Indicates which Subscription the resource type belongs to.",
   499              "type": "string"
   500            }
   501          }
   502        },
   503        "CapabilityReviewRequest": {
   504          "description": "Representation of a capability review.",
   505          "properties": {
   506            "account_username": {
   507              "description": "Defines the username of the account of which capability is being reviewed.",
   508              "type": "string"
   509            },
   510            "capability": {
   511              "description": "Capability to review [manage_cluster_admin].",
   512              "type": "string"
   513            },
   514            "cluster_id": {
   515              "description": "Indicates which Cluster (internal id) the resource type belongs to.",
   516              "type": "string"
   517            },
   518            "organization_id": {
   519              "description": "Indicates which Organization the resource type belongs to.",
   520              "type": "string"
   521            },
   522            "resource_type": {
   523              "description": "Indicates the type of the resource.\nSee uhc-account-manager/openapi/openapi.yaml for a list of possible values.",
   524              "type": "string"
   525            },
   526            "subscription_id": {
   527              "description": "Indicates which Subscription the resource type belongs to.",
   528              "type": "string"
   529            },
   530            "type": {
   531              "description": "Type of capability [Cluster].",
   532              "type": "string"
   533            }
   534          }
   535        },
   536        "CapabilityReviewResponse": {
   537          "description": "Representation of a capability review response.",
   538          "properties": {
   539            "result": {
   540              "type": "string"
   541            }
   542          }
   543        },
   544        "ExportControlReviewRequest": {
   545          "properties": {
   546            "account_username": {
   547              "type": "string"
   548            }
   549          }
   550        },
   551        "ExportControlReviewResponse": {
   552          "properties": {
   553            "restricted": {
   554              "type": "boolean"
   555            }
   556          }
   557        },
   558        "FeatureReviewRequest": {
   559          "description": "Representation of a feature review",
   560          "properties": {
   561            "account_username": {
   562              "description": "Defines the username of the account of which access is being reviewed ",
   563              "type": "string"
   564            },
   565            "cluster_id": {
   566              "description": "Defines the cluster id which access is being reviewed",
   567              "type": "string"
   568            },
   569            "feature": {
   570              "description": "Indicates the feature which can be toggled",
   571              "type": "string"
   572            },
   573            "organization_id": {
   574              "description": "Defines the organisation id of the account of which access is being reviewed",
   575              "type": "string"
   576            }
   577          }
   578        },
   579        "FeatureReviewResponse": {
   580          "description": "Representation of a feature review response",
   581          "properties": {
   582            "enabled": {
   583              "description": "Defines whether the feature can be toggled",
   584              "type": "boolean"
   585            },
   586            "feature_id": {
   587              "description": "Defines the feature id which can be toggled",
   588              "type": "string"
   589            }
   590          }
   591        },
   592        "ResourceReview": {
   593          "description": "Contains the result of performing a resource access review.",
   594          "properties": {
   595            "account_username": {
   596              "description": "Name of the account that is trying to perform the access.",
   597              "type": "string"
   598            },
   599            "action": {
   600              "description": "Action that will the user is trying to perform.",
   601              "type": "string"
   602            },
   603            "cluster_ids": {
   604              "description": "Identifiers of the Clusters (internal ids) that the user has permission to perform the action upon.",
   605              "type": "array",
   606              "items": {
   607                "type": "string"
   608              }
   609            },
   610            "cluster_uuids": {
   611              "description": "Identifiers which Clusters (external ids) that the user has permission to perform the action upon.",
   612              "type": "array",
   613              "items": {
   614                "type": "string"
   615              }
   616            },
   617            "organization_ids": {
   618              "description": "Identifiers of the organizations that the user has permissions to perform the action\nupon.",
   619              "type": "array",
   620              "items": {
   621                "type": "string"
   622              }
   623            },
   624            "resource_type": {
   625              "description": "Type of resource.",
   626              "type": "string"
   627            },
   628            "subscription_ids": {
   629              "description": "Identifiers of the subscriptions that the user has permission to perform the action upon.",
   630              "type": "array",
   631              "items": {
   632                "type": "string"
   633              }
   634            }
   635          }
   636        },
   637        "ResourceReviewRequest": {
   638          "description": "Request to perform a resource access review.",
   639          "properties": {
   640            "account_username": {
   641              "description": "Name of the account that is trying to access the resource.",
   642              "type": "string"
   643            },
   644            "action": {
   645              "description": "Action that will be performed on the resource.",
   646              "type": "string"
   647            },
   648            "exclude_subscription_statuses": {
   649              "description": "Subscriptions with these statuses will be excluded from results.",
   650              "type": "array",
   651              "items": {
   652                "$ref": "#/components/schemas/SubscriptionStatus"
   653              }
   654            },
   655            "reduce_cluster_list": {
   656              "description": "If true, in the case when all subscriptions in organization are permitted, response will *not* include\nthese subscriptions' ID, but organization only.",
   657              "type": "boolean"
   658            },
   659            "resource_type": {
   660              "description": "Type of resource.",
   661              "type": "string"
   662            }
   663          }
   664        },
   665        "SelfAccessReviewRequest": {
   666          "description": "Representation of an access review performed against oneself",
   667          "properties": {
   668            "action": {
   669              "description": "Indicates the action, one of: [get,list,create,delete,update]",
   670              "type": "string"
   671            },
   672            "cluster_id": {
   673              "description": "Indicates which Cluster (internal id) the resource type belongs to",
   674              "type": "string"
   675            },
   676            "cluster_uuid": {
   677              "description": "Indicates which Cluster (external id) the resource type belongs to",
   678              "type": "string"
   679            },
   680            "organization_id": {
   681              "description": "Indicates which Organization the resource type belongs to",
   682              "type": "string"
   683            },
   684            "resource_type": {
   685              "description": "Indicates the type of the resource an action would be taken on.\nSee uhc-account-manager/openapi/openapi.yaml for a list of possible values",
   686              "type": "string"
   687            },
   688            "subscription_id": {
   689              "description": "Indicates which Subscription the resource type belongs to",
   690              "type": "string"
   691            }
   692          }
   693        },
   694        "SelfAccessReviewResponse": {
   695          "description": "Representation of an access review response, performed against oneself",
   696          "properties": {
   697            "action": {
   698              "description": "Indicates the action, one of: [get,list,create,delete,update].",
   699              "type": "string"
   700            },
   701            "allowed": {
   702              "description": "Defines whether the action on the specified resource type is allowed.",
   703              "type": "boolean"
   704            },
   705            "cluster_id": {
   706              "description": "Indicates which Cluster (internal id) the resource type belongs to.",
   707              "type": "string"
   708            },
   709            "cluster_uuid": {
   710              "description": "Indicates which Cluster (external id) the resource type belongs to.",
   711              "type": "string"
   712            },
   713            "is_ocm_internal": {
   714              "description": "Defines whether an account is ocm internal.",
   715              "type": "boolean"
   716            },
   717            "organization_id": {
   718              "description": "Indicates which Organization the resource type belongs to.",
   719              "type": "string"
   720            },
   721            "reason": {
   722              "description": "Defines further context for the value in allowed (if applicable).",
   723              "type": "string"
   724            },
   725            "resource_type": {
   726              "description": "Indicates the type of the resource an action would be taken on.\nSee uhc-account-manager/openapi/openapi.yaml for a list of possible values.",
   727              "type": "string"
   728            },
   729            "subscription_id": {
   730              "description": "Indicates which Subscription the resource type belongs to.",
   731              "type": "string"
   732            }
   733          }
   734        },
   735        "SelfCapabilityReviewRequest": {
   736          "description": "Representation of a capability review.",
   737          "properties": {
   738            "account_username": {
   739              "description": "Defines the username of the account of which capability is being reviewed.",
   740              "type": "string"
   741            },
   742            "capability": {
   743              "description": "Capability to review [manage_cluster_admin].",
   744              "type": "string"
   745            },
   746            "cluster_id": {
   747              "description": "Indicates which Cluster (internal id) the resource type belongs to.",
   748              "type": "string"
   749            },
   750            "organization_id": {
   751              "description": "Indicates which Organization the resource type belongs to.",
   752              "type": "string"
   753            },
   754            "resource_type": {
   755              "description": "Indicates the type of the resource.\nSee uhc-account-manager/openapi/openapi.yaml for a list of possible values.",
   756              "type": "string"
   757            },
   758            "subscription_id": {
   759              "description": "Indicates which Subscription the resource type belongs to.",
   760              "type": "string"
   761            },
   762            "type": {
   763              "description": "Type of capability [Cluster].",
   764              "type": "string"
   765            }
   766          }
   767        },
   768        "SelfCapabilityReviewResponse": {
   769          "description": "Representation of a capability review response.",
   770          "properties": {
   771            "result": {
   772              "type": "string"
   773            }
   774          }
   775        },
   776        "SelfFeatureReviewRequest": {
   777          "description": "Representation of a feature review performed against oneself",
   778          "properties": {
   779            "feature": {
   780              "description": "Indicates the feature which can be toggled",
   781              "type": "string"
   782            }
   783          }
   784        },
   785        "SelfFeatureReviewResponse": {
   786          "description": "Representation of a feature review response, performed against oneself",
   787          "properties": {
   788            "enabled": {
   789              "description": "Defines whether the feature can be toggled",
   790              "type": "boolean"
   791            },
   792            "feature_id": {
   793              "description": "Defines the feature id which can be toggled",
   794              "type": "string"
   795            }
   796          }
   797        },
   798        "SelfTermsReviewRequest": {
   799          "description": "Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms]\nreview requests.",
   800          "properties": {
   801            "event_code": {
   802              "description": "Defines the event code of the terms being checked",
   803              "type": "string"
   804            },
   805            "site_code": {
   806              "description": "Defines the site code of the terms being checked",
   807              "type": "string"
   808            }
   809          }
   810        },
   811        "SubscriptionStatus": {
   812          "type": "string",
   813          "enum": [
   814            "active",
   815            "archived",
   816            "deprovisioned",
   817            "disconnected",
   818            "reserved",
   819            "stale"
   820          ]
   821        },
   822        "TermsReviewRequest": {
   823          "description": "Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms]\nreview requests.",
   824          "properties": {
   825            "account_username": {
   826              "description": "Defines the username of the account of which Terms is being reviewed.",
   827              "type": "string"
   828            },
   829            "check_optional_terms": {
   830              "description": "If false, only `terms_required` will be checked",
   831              "type": "boolean"
   832            },
   833            "event_code": {
   834              "description": "Defines the event code of the terms being checked",
   835              "type": "string"
   836            },
   837            "site_code": {
   838              "description": "Defines the site code of the terms being checked",
   839              "type": "string"
   840            }
   841          }
   842        },
   843        "TermsReviewResponse": {
   844          "description": "Representation of Red Hat's Terms and Conditions for using OpenShift Dedicated and Amazon Red Hat OpenShift [Terms]\nreview response.",
   845          "properties": {
   846            "account_id": {
   847              "description": "Account ID of requesting user.",
   848              "type": "string"
   849            },
   850            "organization_id": {
   851              "description": "Indicates which Organization the user belongs to.",
   852              "type": "string"
   853            },
   854            "redirect_url": {
   855              "description": "Optional URL to Red Hat's Terms and Conditions Application if the user has either required or available Terms\nneeds to acknowledge.",
   856              "type": "string"
   857            },
   858            "terms_available": {
   859              "description": "Defines whether Terms are available.",
   860              "type": "boolean"
   861            },
   862            "terms_required": {
   863              "description": "Defines whether user is required to accept Terms before using OpenShift Dedicated and Amazon Red Hat OpenShift.",
   864              "type": "boolean"
   865            }
   866          }
   867        },
   868        "Error": {
   869          "type": "object",
   870          "properties": {
   871            "kind": {
   872              "description": "Indicates the type of this object. Will always be 'Error'",
   873              "type": "string"
   874            },
   875            "id": {
   876              "description": "Numeric identifier of the error.",
   877              "type": "integer",
   878              "format": "int32"
   879            },
   880            "href": {
   881              "description": "Self link.",
   882              "type": "string"
   883            },
   884            "code": {
   885              "description": "Globally unique code of the error, composed of the unique identifier of the API and the numeric identifier of the error. For example, for if the numeric identifier of the error is `93` and the identifier of the API is `clusters_mgmt` then the code will be `CLUSTERS-MGMT-93`.",
   886              "type": "string"
   887            },
   888            "reason": {
   889              "description": "Human readable description of the error.",
   890              "type": "string"
   891            },
   892            "details": {
   893              "description": "Extra information about the error.",
   894              "type": "object",
   895              "additionalProperties": true
   896            }
   897          }
   898        }
   899      },
   900      "securitySchemes": {
   901        "bearer": {
   902          "type": "http",
   903          "scheme": "bearer",
   904          "bearerFormat": "JWT"
   905        }
   906      }
   907    },
   908    "security": [
   909      {
   910        "bearer": [
   911          
   912        ]
   913      }
   914    ]
   915  }