|
11 | 11 | "type": "string" |
12 | 12 | } |
13 | 13 | }, |
| 14 | + "ifNoneMatch": { |
| 15 | + "description": "ETag of the resource. If specified, the resource is only created if it does not exist. Specify \"*\" to avoid creating a resource.", |
| 16 | + "in": "header", |
| 17 | + "name": "If-None-Match", |
| 18 | + "schema": { |
| 19 | + "type": "string" |
| 20 | + } |
| 21 | + }, |
14 | 22 | "organizationId": { |
15 | 23 | "description": "The STACKIT portal organization UUID the resource is located in.", |
16 | 24 | "in": "path", |
|
72 | 80 | "notFound": { |
73 | 81 | "description": "Not found. The resource has not been found." |
74 | 82 | }, |
| 83 | + "preconditionFailed": { |
| 84 | + "content": { |
| 85 | + "application/json": { |
| 86 | + "schema": { |
| 87 | + "$ref": "#/components/schemas/response4xx" |
| 88 | + } |
| 89 | + } |
| 90 | + }, |
| 91 | + "description": "Precondition Failed." |
| 92 | + }, |
75 | 93 | "unauthorized": { |
76 | 94 | "content": { |
77 | 95 | "application/json": { |
|
401 | 419 | "put": { |
402 | 420 | "description": "Creates or updates the given Telemetry Link within the folder.", |
403 | 421 | "operationId": "create-or-update-folder-telemetry-link", |
| 422 | + "parameters": [ |
| 423 | + { |
| 424 | + "$ref": "#/components/parameters/ifNoneMatch" |
| 425 | + } |
| 426 | + ], |
404 | 427 | "requestBody": { |
405 | 428 | "content": { |
406 | 429 | "application/json": { |
|
444 | 467 | "409": { |
445 | 468 | "$ref": "#/components/responses/conflict" |
446 | 469 | }, |
| 470 | + "412": { |
| 471 | + "$ref": "#/components/responses/preconditionFailed" |
| 472 | + }, |
447 | 473 | "500": { |
448 | 474 | "$ref": "#/components/responses/internalServerError" |
449 | 475 | } |
|
587 | 613 | "put": { |
588 | 614 | "description": "Creates or updates the given Telemetry Link within the organization.", |
589 | 615 | "operationId": "create-or-update-organization-telemetry-link", |
| 616 | + "parameters": [ |
| 617 | + { |
| 618 | + "$ref": "#/components/parameters/ifNoneMatch" |
| 619 | + } |
| 620 | + ], |
590 | 621 | "requestBody": { |
591 | 622 | "content": { |
592 | 623 | "application/json": { |
|
630 | 661 | "409": { |
631 | 662 | "$ref": "#/components/responses/conflict" |
632 | 663 | }, |
| 664 | + "412": { |
| 665 | + "$ref": "#/components/responses/preconditionFailed" |
| 666 | + }, |
633 | 667 | "500": { |
634 | 668 | "$ref": "#/components/responses/internalServerError" |
635 | 669 | } |
|
773 | 807 | "put": { |
774 | 808 | "description": "Creates or updates the given Telemetry Link within the project.", |
775 | 809 | "operationId": "create-or-update-project-telemetry-link", |
| 810 | + "parameters": [ |
| 811 | + { |
| 812 | + "$ref": "#/components/parameters/ifNoneMatch" |
| 813 | + } |
| 814 | + ], |
776 | 815 | "requestBody": { |
777 | 816 | "content": { |
778 | 817 | "application/json": { |
|
816 | 855 | "409": { |
817 | 856 | "$ref": "#/components/responses/conflict" |
818 | 857 | }, |
| 858 | + "412": { |
| 859 | + "$ref": "#/components/responses/preconditionFailed" |
| 860 | + }, |
819 | 861 | "500": { |
820 | 862 | "$ref": "#/components/responses/internalServerError" |
821 | 863 | } |
|
0 commit comments