|
76 | 76 | "required": [ |
77 | 77 | "containers", |
78 | 78 | "displayName", |
79 | | - "scaling", |
80 | | - "network" |
| 79 | + "scaling" |
81 | 80 | ], |
82 | 81 | "type": "object" |
83 | 82 | }, |
|
177 | 176 | "format": "int32", |
178 | 177 | "type": "integer" |
179 | 178 | }, |
| 179 | + "internalUrl": { |
| 180 | + "description": "Application's internal URL.", |
| 181 | + "type": "string" |
| 182 | + }, |
180 | 183 | "lastDeployment": { |
181 | 184 | "description": "Date of the last moment the application got the running status in RFC3339 format.", |
182 | 185 | "format": "date-time", |
|
337 | 340 | "required": [ |
338 | 341 | "containers", |
339 | 342 | "displayName", |
340 | | - "scaling", |
341 | | - "network" |
| 343 | + "scaling" |
342 | 344 | ], |
343 | 345 | "type": "object" |
344 | 346 | }, |
|
364 | 366 | "description": "Environment identifier, for example: default.", |
365 | 367 | "readOnly": true, |
366 | 368 | "type": "string" |
| 369 | + }, |
| 370 | + "status": { |
| 371 | + "$ref": "#/components/schemas/EnvironmentStatus" |
367 | 372 | } |
368 | 373 | }, |
369 | 374 | "required": [ |
|
498 | 503 | "description": "Environment identifier, for example: default.", |
499 | 504 | "readOnly": true, |
500 | 505 | "type": "string" |
| 506 | + }, |
| 507 | + "status": { |
| 508 | + "$ref": "#/components/schemas/EnvironmentStatus" |
501 | 509 | } |
502 | 510 | }, |
503 | 511 | "required": [ |
504 | 512 | "displayName" |
505 | 513 | ], |
506 | 514 | "type": "object" |
507 | 515 | }, |
| 516 | + "EnvironmentStatus": { |
| 517 | + "default": "ENVIRONMENT_STATUS_UNSPECIFIED", |
| 518 | + "description": " - ENVIRONMENT_STATUS_UNSPECIFIED: Used as zero value.\n - ENVIRONMENT_STATUS_PROGRESSING: Environment is being created.\n - ENVIRONMENT_STATUS_CREATED: Environment is successfully created.", |
| 519 | + "enum": [ |
| 520 | + "ENVIRONMENT_STATUS_UNSPECIFIED", |
| 521 | + "ENVIRONMENT_STATUS_PROGRESSING", |
| 522 | + "ENVIRONMENT_STATUS_CREATED" |
| 523 | + ], |
| 524 | + "type": "string" |
| 525 | + }, |
508 | 526 | "EnvironmentSummary": { |
509 | 527 | "description": "Environment summary.", |
510 | 528 | "properties": { |
|
680 | 698 | }, |
681 | 699 | "type": "array" |
682 | 700 | }, |
| 701 | + "internalPort": { |
| 702 | + "description": "Internal port number for inter application communication.", |
| 703 | + "format": "int32", |
| 704 | + "type": "integer" |
| 705 | + }, |
683 | 706 | "port": { |
684 | 707 | "description": "Port number.", |
685 | 708 | "format": "int32", |
|
690 | 713 | "type": "boolean" |
691 | 714 | } |
692 | 715 | }, |
693 | | - "required": [ |
694 | | - "publicIngress" |
695 | | - ], |
696 | 716 | "type": "object" |
697 | 717 | }, |
698 | 718 | "RuleType": { |
|
726 | 746 | "title": "List of the application instance names", |
727 | 747 | "type": "array" |
728 | 748 | }, |
| 749 | + "internalUrl": { |
| 750 | + "description": "Internal URL for the running application.", |
| 751 | + "readOnly": true, |
| 752 | + "type": "string" |
| 753 | + }, |
729 | 754 | "lastDeployment": { |
730 | 755 | "description": "Last time the application was deployed.", |
731 | 756 | "format": "date-time", |
|
1704 | 1729 | "description": "Request failed. Check the request and retry operation." |
1705 | 1730 | } |
1706 | 1731 | }, |
1707 | | - "summary": "GetApplicationEvents retrieves events of an application.", |
| 1732 | + "summary": "Retrieves events of an application.", |
1708 | 1733 | "x-stackit-authorization": { |
1709 | 1734 | "actions": [ |
1710 | 1735 | "sca.application.get" |
|
1828 | 1853 | "description": "Request failed. Check the request and retry operation." |
1829 | 1854 | } |
1830 | 1855 | }, |
1831 | | - "summary": "GetApplicationLogs retrieves logs of an application.", |
| 1856 | + "summary": "Retrieves logs of an application.", |
1832 | 1857 | "x-stackit-authorization": { |
1833 | 1858 | "actions": [ |
1834 | 1859 | "sca.application.get" |
|
1886 | 1911 | "description": "Request failed. Check the request and retry operation." |
1887 | 1912 | } |
1888 | 1913 | }, |
| 1914 | + "summary": "Retrieves the overview for an environment.", |
1889 | 1915 | "x-stackit-authorization": { |
1890 | 1916 | "actions": [ |
1891 | 1917 | "sca.project.overview" |
|
0 commit comments