|
135 | 135 | ], |
136 | 136 | "type": "string" |
137 | 137 | }, |
| 138 | + "clientConfig": { |
| 139 | + "description": "Configuration properties for supported clients.", |
| 140 | + "properties": { |
| 141 | + "java": { |
| 142 | + "description": "Configuration for Java Kafka clients.", |
| 143 | + "example": "bootstrap.servers=5dce5c86-875b-41ad-b9cb-78972df3f54e.intake.eu01.test.onstackit.cloud:9094\nsecurity.protocol=SASL_SSL\nsasl.mechanism=SCRAM-SHA-512\nsasl.jaas.config=org.apache.kafka.common.security.scram.ScramLoginModule required \\\n username=\"intake-user-e9100a2a-932f-4c47-bb27-292231a20a2f\" \\\n password=\"\u003cplain-text-intake-user-password\u003e\";\n", |
| 144 | + "type": "string" |
| 145 | + }, |
| 146 | + "librdkafka": { |
| 147 | + "description": "Configuration for Kafka clients using librdkafka", |
| 148 | + "example": "bootstrap.servers=5dce5c86-875b-41ad-b9cb-78972df3f54e.intake.eu01.test.onstackit.cloud:9094\nsecurity.protocol=SASL_SSL\nsasl.mechanism=SCRAM-SHA-512\nsasl.username=intake-user-e9100a2a-932f-4c47-bb27-292231a20a2f\nsasl.password=\u003cplain-text-intake-user-password\u003e\n", |
| 149 | + "type": "string" |
| 150 | + } |
| 151 | + }, |
| 152 | + "required": [ |
| 153 | + "java", |
| 154 | + "librdkafka" |
| 155 | + ], |
| 156 | + "type": "object" |
| 157 | + }, |
138 | 158 | "create-intake-runnerPayload": { |
139 | 159 | "properties": { |
140 | 160 | "description": { |
|
148 | 168 | "minLength": 1, |
149 | 169 | "type": "string" |
150 | 170 | }, |
| 171 | + "labels": { |
| 172 | + "additionalProperties": { |
| 173 | + "type": "string" |
| 174 | + }, |
| 175 | + "description": "Labels are a set of key-value pairs assigned to resources.", |
| 176 | + "nullable": true, |
| 177 | + "type": "object" |
| 178 | + }, |
151 | 179 | "maxMessageSizeKiB": { |
152 | 180 | "description": "The maximum size of a message in kibibytes (1 KiB = 1024 bytes).", |
153 | 181 | "type": "integer" |
|
176 | 204 | "minLength": 1, |
177 | 205 | "type": "string" |
178 | 206 | }, |
| 207 | + "labels": { |
| 208 | + "additionalProperties": { |
| 209 | + "type": "string" |
| 210 | + }, |
| 211 | + "description": "Labels are key-value pairs associated with the resource.", |
| 212 | + "nullable": true, |
| 213 | + "type": "object" |
| 214 | + }, |
179 | 215 | "password": { |
180 | 216 | "description": "A password chosen by the user.", |
181 | 217 | "maxLength": 128, |
|
210 | 246 | "description": "The unique id of the intake runner this intake should run on.", |
211 | 247 | "format": "uuid", |
212 | 248 | "type": "string" |
| 249 | + }, |
| 250 | + "labels": { |
| 251 | + "additionalProperties": { |
| 252 | + "type": "string" |
| 253 | + }, |
| 254 | + "description": "Labels are a set of key-value pairs assigned to resources.", |
| 255 | + "nullable": true, |
| 256 | + "type": "object" |
213 | 257 | } |
214 | 258 | }, |
215 | 259 | "required": [ |
|
262 | 306 | "maxLength": 1024, |
263 | 307 | "type": "string" |
264 | 308 | }, |
| 309 | + "partitionBy": { |
| 310 | + "items": { |
| 311 | + "description": "Optional list of Iceberg partition field names to use when creating a table. This can only be set on creation of an intake and cannot be changed later.", |
| 312 | + "maxLength": 1024, |
| 313 | + "type": "string" |
| 314 | + }, |
| 315 | + "nullable": true, |
| 316 | + "type": "array" |
| 317 | + }, |
265 | 318 | "tableName": { |
266 | 319 | "description": "The table name is a short name chosen by the user to identify the table in Iceberg.", |
267 | 320 | "maxLength": 32, |
|
354 | 407 | "format": "uuid", |
355 | 408 | "type": "string" |
356 | 409 | }, |
| 410 | + "labels": { |
| 411 | + "additionalProperties": { |
| 412 | + "type": "string" |
| 413 | + }, |
| 414 | + "description": "Labels are a set of key-value pairs assigned to resources.", |
| 415 | + "nullable": true, |
| 416 | + "type": "object" |
| 417 | + }, |
357 | 418 | "state": { |
358 | 419 | "description": "The current state of the resource.", |
359 | 420 | "enum": [ |
|
415 | 476 | "format": "uuid", |
416 | 477 | "type": "string" |
417 | 478 | }, |
| 479 | + "labels": { |
| 480 | + "additionalProperties": { |
| 481 | + "type": "string" |
| 482 | + }, |
| 483 | + "description": "Labels are a set of key-value pairs assigned to resources.", |
| 484 | + "nullable": true, |
| 485 | + "type": "object" |
| 486 | + }, |
418 | 487 | "maxMessageSizeKiB": { |
419 | 488 | "description": "The maximum size of a message in kibibytes (1 KiB = 1024 bytes).", |
420 | 489 | "type": "integer" |
|
450 | 519 | }, |
451 | 520 | "intakeUserResponse": { |
452 | 521 | "properties": { |
| 522 | + "clientConfig": { |
| 523 | + "$ref": "#/components/schemas/clientConfig" |
| 524 | + }, |
453 | 525 | "create_time": { |
454 | 526 | "description": "The point in time the resource was created.", |
455 | 527 | "format": "date-time", |
|
471 | 543 | "format": "uuid", |
472 | 544 | "type": "string" |
473 | 545 | }, |
| 546 | + "labels": { |
| 547 | + "additionalProperties": { |
| 548 | + "type": "string" |
| 549 | + }, |
| 550 | + "description": "Labels are a set of key-value pairs assigned to resources.", |
| 551 | + "nullable": true, |
| 552 | + "type": "object" |
| 553 | + }, |
474 | 554 | "state": { |
475 | 555 | "description": "The current state of the resource.", |
476 | 556 | "enum": [ |
|
562 | 642 | "minLength": 1, |
563 | 643 | "type": "string" |
564 | 644 | }, |
| 645 | + "labels": { |
| 646 | + "additionalProperties": { |
| 647 | + "type": "string" |
| 648 | + }, |
| 649 | + "description": "Labels are key-value pairs associated with the resource. To update labels:\n - Provide a new set of key-value pairs to replace the existing labels.\n - Send empty object `{}` to remove all labels.\n - Omit this field to leave the labels unchanged.\n", |
| 650 | + "nullable": true, |
| 651 | + "type": "object" |
| 652 | + }, |
565 | 653 | "maxMessageSizeKiB": { |
566 | 654 | "description": "The maximum size of a message in kibibytes (1 KiB = 1024 bytes).", |
567 | 655 | "type": "integer" |
|
589 | 677 | "minLength": 1, |
590 | 678 | "type": "string" |
591 | 679 | }, |
| 680 | + "labels": { |
| 681 | + "additionalProperties": { |
| 682 | + "type": "string" |
| 683 | + }, |
| 684 | + "description": "Labels are key-value pairs associated with the resource. To update labels:\n - Provide a new set of key-value pairs to replace the existing labels.\n - Send empty object `{}` to remove all labels.\n - Omit this field to leave the labels unchanged.\n", |
| 685 | + "nullable": true, |
| 686 | + "type": "object" |
| 687 | + }, |
592 | 688 | "password": { |
593 | 689 | "description": "A password chosen by the user.", |
594 | 690 | "maxLength": 128, |
|
619 | 715 | "description": "The unique id of the intake runner this intake should run on.", |
620 | 716 | "format": "uuid", |
621 | 717 | "type": "string" |
| 718 | + }, |
| 719 | + "labels": { |
| 720 | + "additionalProperties": { |
| 721 | + "type": "string" |
| 722 | + }, |
| 723 | + "description": "Labels are key-value pairs associated with the resource. To update labels:\n - Provide a new set of key-value pairs to replace the existing labels.\n - Send empty object `{}` to remove all labels.\n - Omit this field to leave the labels unchanged.\n", |
| 724 | + "nullable": true, |
| 725 | + "type": "object" |
622 | 726 | } |
623 | 727 | }, |
624 | 728 | "required": [ |
|
639 | 743 | "info": { |
640 | 744 | "description": "This API provides endpoints for managing Intakes.\n", |
641 | 745 | "title": "STACKIT Intake API", |
642 | | - "version": "1beta.1.0" |
| 746 | + "version": "1beta.2.0" |
643 | 747 | }, |
644 | 748 | "openapi": "3.0.3", |
645 | 749 | "paths": { |
|
0 commit comments