You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns latest schema in it's own data type. For protobuf response type would be 'application/octet-stream'. Avro, json schema response type would be 'application/json'
123
127
124
128
##### Parameters
125
129
126
130
| Name | Located in | Description | Required | Schema |
| X-Format | headers | Can be used to override schema format defined at namespace level | No |[SchemaFormat](#schemaformat)|
131
-
| X-Compatibility | headers | Can be used to override schema compatibility defined at namespace level | No |[SchemaCompatibility](#schemacompatibility)|
132
-
| body | body | schema data | Yes | valid fileDescriptorSet data/avro/json schemas |
133
134
134
135
##### Responses
136
+
135
137
| Code | Description | Schema |
136
138
| ---- | ----------- | ------ |
137
-
| 200 | A successful response. |[v1beta1CreateSchemaResponse](#v1beta1CreateSchemaResponse)|
139
+
| 200 | A successful schema response. Based on schema format, response will return different content types. For avro and json schemas response type is `application/json`. For protobuf response type is `application/octet-stream`. ||
138
140
| default | An unexpected error response. |[rpcStatus](#rpcstatus)|
139
141
140
-
#### GET
141
-
142
+
#### POST
142
143
##### Summary
143
144
144
-
Get latest schema
145
+
Create schema under the namespace
145
146
146
147
##### Parameters
147
148
148
149
| Name | Located in | Description | Required | Schema |
| body | body | Request payload should be equivalent to `curl``--data-binary` option | Yes | binary |
152
154
153
155
##### Responses
156
+
154
157
| Code | Description | Schema |
155
158
| ---- | ----------- | ------ |
156
-
| 200 | A successful response. Based on schema format, response will return different content types. For avro and json schemas response type is `application/json`. For protobuf response type is `application/octet-stream`| json or byte data|
159
+
| 200 | A successful response. |[v1beta1CreateSchemaResponse](#v1beta1createschemaresponse)|
157
160
| default | An unexpected error response. |[rpcStatus](#rpcstatus)|
158
161
159
162
#### DELETE
@@ -195,33 +198,39 @@ Update only schema metadata
195
198
| 200 | A successful response. |[v1beta1UpdateSchemaMetadataResponse](#v1beta1updateschemametadataresponse)|
196
199
| default | An unexpected error response. |[rpcStatus](#rpcstatus)|
| 200 | A successful response. Based on schema format, response will return different content types. For avro and json schemas response type is `application/json`. For protobuf response type is `application/octet-stream`| json or byte data|
267
+
| 200 | A successful response. |[v1beta1ListVersionsResponse](#v1beta1listversionsresponse)|
260
268
| default | An unexpected error response. |[rpcStatus](#rpcstatus)|
0 commit comments