@@ -3,7 +3,7 @@ openapi: 3.0.0 # need this as first line to allow some IDEs to know this is an o
33info :
44 title : Kafka Service Fleet Manager
55 version : 1.1.1
6- description : Kafka Service Fleet Manager is a Rest API to manage Kakfa instances and connectors.
6+ description : Kafka Service Fleet Manager is a Rest API to manage Kafka instances and connectors.
77servers :
88 - url : https://api.openshift.com
99 description : Main (production) server
8888 examples :
8989 404Example :
9090 $ref : ' #/components/examples/404Example'
91- description : No Kakfa request with specified ID exists
91+ description : No Kafka request with specified ID exists
9292 " 500 " :
9393 content :
9494 application/json :
@@ -100,7 +100,7 @@ paths:
100100 description : Unexpected error occurred
101101 security :
102102 - Bearer : []
103- summary : Returns a Kakfa request by ID
103+ summary : Returns a Kafka request by ID
104104 delete :
105105 operationId : deleteKafkaById
106106 parameters :
@@ -154,7 +154,7 @@ paths:
154154 examples :
155155 404DeleteExample :
156156 $ref : ' #/components/examples/404DeleteExample'
157- description : No Kakfa request with specified ID exists
157+ description : No Kafka request with specified ID exists
158158 " 500 " :
159159 content :
160160 application/json :
@@ -164,7 +164,7 @@ paths:
164164 500DeleteExample :
165165 $ref : ' #/components/examples/500DeleteExample'
166166 description : Unexpected error occurred
167- summary : Deletes a Kakfa request by ID
167+ summary : Deletes a Kafka request by ID
168168 security :
169169 - Bearer : []
170170 parameters :
@@ -229,6 +229,8 @@ paths:
229229 $ref : ' #/components/examples/403Example'
230230 403MaxAllowedInstanceReachedExample :
231231 $ref : ' #/components/examples/403MaxAllowedInstanceReachedExample'
232+ 403TermsNotAcceptedExample :
233+ $ref : ' #/components/examples/403TermsNotAcceptedExample'
232234 description : User forbidden either because the user is not authorized to access the service or because the maximum number of instances that can be created by this user has been reached.
233235 " 404 " :
234236 content :
@@ -259,7 +261,7 @@ paths:
259261 description : An unexpected error occurred while creating the Kafka request
260262 security :
261263 - Bearer : []
262- summary : Creates a Kakfa request
264+ summary : Creates a Kafka request
263265 get :
264266 summary : Returns a list of Kafka requests
265267 operationId : getKafkas
@@ -593,7 +595,7 @@ paths:
593595 #
594596 /api/kafkas_mgmt/v1/kafkas/{id}/metrics/query_range :
595597 get :
596- summary : Returns metrics with timeseries range query by Kakfa ID
598+ summary : Returns metrics with timeseries range query by Kafka ID
597599 operationId : getMetricsByRangeQuery
598600 security :
599601 - Bearer : []
@@ -629,7 +631,7 @@ paths:
629631 - $ref : " #/components/parameters/filters"
630632 /api/kafkas_mgmt/v1/kafkas/{id}/metrics/query :
631633 get :
632- summary : Returns metrics with instant query by Kakfa ID
634+ summary : Returns metrics with instant query by Kafka ID
633635 operationId : getMetricsByInstantQuery
634636 security :
635637 - Bearer : []
@@ -717,12 +719,15 @@ components:
717719 - type : object
718720 properties :
719721 status :
722+ description : " Values: [accepted, preparing, provisioning, ready, failed, deprovision, deleting] "
720723 type : string
721724 cloud_provider :
725+ description : " Name of Cloud used to deploy. For example AWS"
722726 type : string
723727 multi_az :
724728 type : boolean
725729 region :
730+ description : " Values will be regions of specific cloud provider. For example: us-east-1 for AWS"
726731 type : string
727732 owner :
728733 type : string
@@ -788,13 +793,13 @@ components:
788793 type : object
789794 properties :
790795 kafkas :
791- description : The Kakfa resource api status
796+ description : The Kafka resource api status
792797 type : object
793798 required :
794799 - max_capacity_reached
795800 properties :
796801 max_capacity_reached :
797- description : Indicates whether we have reached Kakfa maximum capacity
802+ description : Indicates whether we have reached Kafka maximum capacity
798803 type : boolean
799804 KafkaRequestPayload :
800805 description : Schema for the request body sent to /kafkas POST
@@ -1110,7 +1115,7 @@ components:
11101115 filters :
11111116 name : filters
11121117 in : query
1113- description : List of metrics to fetch. Fetch all metrics when empty. List entries are Kakfa internal metric names.
1118+ description : List of metrics to fetch. Fetch all metrics when empty. List entries are Kafka internal metric names.
11141119 schema :
11151120 type : array
11161121 items :
@@ -1141,13 +1146,13 @@ components:
11411146 Specifies the order by criteria. The syntax of this parameter is
11421147 similar to the syntax of the `order by` clause of an SQL statement.
11431148 Each query can be ordered by any of the `kafkaRequests` fields.
1144- For example, to return all Kakfa instances ordered by their name, use the following syntax:
1149+ For example, to return all Kafka instances ordered by their name, use the following syntax:
11451150
11461151 ```sql
11471152 name asc
11481153 ```
11491154
1150- To return all Kakfa instances ordered by their name _and_ created date, use the following syntax:
1155+ To return all Kafka instances ordered by their name _and_ created date, use the following syntax:
11511156
11521157 ```sql
11531158 name asc, created_at asc
@@ -1175,19 +1180,19 @@ components:
11751180
11761181 Examples:
11771182
1178- To return a Kakfa instance with the name `my-kafka` and the region `aws`, use the following syntax:
1183+ To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax:
11791184
11801185 ```
11811186 name = my-kafka and cloud_provider = aws
11821187 ```[p-]
11831188
1184- To return a Kakfa instance with a name that starts with `my`, use the following syntax:
1189+ To return a Kafka instance with a name that starts with `my`, use the following syntax:
11851190
11861191 ```
11871192 name like my%25
11881193 ```
11891194
1190- If the parameter isn't provided, or if the value is empty, then all the Kakfa instances
1195+ If the parameter isn't provided, or if the value is empty, then all the Kafka instances
11911196 that the user has permission to see are returned.
11921197
11931198 Note. If the query is invalid, an error is returned.
@@ -1246,7 +1251,7 @@ components:
12461251 bootstrap_server_host : " serviceapi-1isy6rq3jki8q0otmjqfd3ocfrg.apps.mk-bttg0jn170hp.x5u8.s1.devshift.org"
12471252 created_at : " 2020-10-05T12:51:24.053142Z"
12481253 updated_at : " 2020-10-05T12:56:36.362208Z"
1249- failed_reason : " a reason the Kakfa request creation failed"
1254+ failed_reason : " a reason the Kafka request creation failed"
12501255 CloudProviderExample :
12511256 value :
12521257 kind : " CloudProvider"
@@ -1338,7 +1343,7 @@ components:
13381343 kind : " Error"
13391344 href : " /api/kafkas_mgmt/v1/errors/23"
13401345 code : " KAFKAS-MGMT-23"
1341- reason : " Failed to parse search query: Unable to list Kakfa requests for api_kafka_service: KAFKAS-MGMT-23: Failed to parse search query: Unsupported column name for search: 'id'. Supported column names are: region, name, cloud_provider, name, status. Query invalid: id = 123"
1346+ reason : " Failed to parse search query: Unable to list Kafka requests for api_kafka_service: KAFKAS-MGMT-23: Failed to parse search query: Unsupported column name for search: 'id'. Supported column names are: region, name, cloud_provider, name, status. Query invalid: id = 123"
13421347 operation_id : " 1lWDGuybIrEnxrAem724gqkkiDv"
13431348 404Example :
13441349 value :
@@ -1379,6 +1384,14 @@ components:
13791384 code : " KAFKAS-MGMT-5"
13801385 reason : " User 'foo-bar' has reached a maximum number of 6 allowed instances."
13811386 operation_id : " 1lY3UiEkxnXBpVPeI2oNejd3XB"
1387+ 403TermsNotAcceptedExample :
1388+ value :
1389+ id : " 12"
1390+ kind : " Error"
1391+ href : " /api/kafkas_mgmt/v1/errors/12"
1392+ code : " KAFKAS-MGMT-12"
1393+ reason : " Required terms have not been accepted"
1394+ operation_id : " kXCzWPeI2oXBpVPeI2LvF9jMQY"
13821395 409NameConflictExample :
13831396 value :
13841397 id : " 36"
0 commit comments