|
3364 | 3364 | ] |
3365 | 3365 | } |
3366 | 3366 | }, |
| 3367 | + "\/applications\/{uuid}\/move": { |
| 3368 | + "post": { |
| 3369 | + "tags": [ |
| 3370 | + "Applications" |
| 3371 | + ], |
| 3372 | + "summary": "Move", |
| 3373 | + "description": "Move application to another project\/environment. This is a purely organizational change \u2014 running containers are not affected. Note: after moving, the application will pick up shared environment variables from the new environment on the next deployment.", |
| 3374 | + "operationId": "move-application-by-uuid", |
| 3375 | + "parameters": [ |
| 3376 | + { |
| 3377 | + "name": "uuid", |
| 3378 | + "in": "path", |
| 3379 | + "description": "UUID of the application.", |
| 3380 | + "required": true, |
| 3381 | + "schema": { |
| 3382 | + "type": "string" |
| 3383 | + } |
| 3384 | + } |
| 3385 | + ], |
| 3386 | + "requestBody": { |
| 3387 | + "description": "Target environment to move the application to.", |
| 3388 | + "required": true, |
| 3389 | + "content": { |
| 3390 | + "application\/json": { |
| 3391 | + "schema": { |
| 3392 | + "required": [ |
| 3393 | + "environment_uuid" |
| 3394 | + ], |
| 3395 | + "properties": { |
| 3396 | + "environment_uuid": { |
| 3397 | + "type": "string", |
| 3398 | + "description": "UUID of the target environment." |
| 3399 | + } |
| 3400 | + }, |
| 3401 | + "type": "object" |
| 3402 | + } |
| 3403 | + } |
| 3404 | + } |
| 3405 | + }, |
| 3406 | + "responses": { |
| 3407 | + "200": { |
| 3408 | + "description": "Application moved successfully.", |
| 3409 | + "content": { |
| 3410 | + "application\/json": { |
| 3411 | + "schema": { |
| 3412 | + "properties": { |
| 3413 | + "message": { |
| 3414 | + "type": "string", |
| 3415 | + "example": "Application moved successfully." |
| 3416 | + }, |
| 3417 | + "uuid": { |
| 3418 | + "type": "string" |
| 3419 | + }, |
| 3420 | + "project_uuid": { |
| 3421 | + "type": "string" |
| 3422 | + }, |
| 3423 | + "environment_uuid": { |
| 3424 | + "type": "string" |
| 3425 | + } |
| 3426 | + }, |
| 3427 | + "type": "object" |
| 3428 | + } |
| 3429 | + } |
| 3430 | + } |
| 3431 | + }, |
| 3432 | + "401": { |
| 3433 | + "$ref": "#\/components\/responses\/401" |
| 3434 | + }, |
| 3435 | + "400": { |
| 3436 | + "$ref": "#\/components\/responses\/400" |
| 3437 | + }, |
| 3438 | + "404": { |
| 3439 | + "$ref": "#\/components\/responses\/404" |
| 3440 | + }, |
| 3441 | + "422": { |
| 3442 | + "$ref": "#\/components\/responses\/422" |
| 3443 | + } |
| 3444 | + }, |
| 3445 | + "security": [ |
| 3446 | + { |
| 3447 | + "bearerAuth": [] |
| 3448 | + } |
| 3449 | + ] |
| 3450 | + } |
| 3451 | + }, |
3367 | 3452 | "\/applications\/{uuid}\/storages": { |
3368 | 3453 | "get": { |
3369 | 3454 | "tags": [ |
|
6494 | 6579 | ] |
6495 | 6580 | } |
6496 | 6581 | }, |
| 6582 | + "\/databases\/{uuid}\/move": { |
| 6583 | + "post": { |
| 6584 | + "tags": [ |
| 6585 | + "Databases" |
| 6586 | + ], |
| 6587 | + "summary": "Move", |
| 6588 | + "description": "Move database to another project\/environment. This is a purely organizational change \u2014 running containers are not affected. Note: after moving, the database will pick up shared environment variables from the new environment on the next deployment.", |
| 6589 | + "operationId": "move-database-by-uuid", |
| 6590 | + "parameters": [ |
| 6591 | + { |
| 6592 | + "name": "uuid", |
| 6593 | + "in": "path", |
| 6594 | + "description": "UUID of the database.", |
| 6595 | + "required": true, |
| 6596 | + "schema": { |
| 6597 | + "type": "string" |
| 6598 | + } |
| 6599 | + } |
| 6600 | + ], |
| 6601 | + "requestBody": { |
| 6602 | + "description": "Target environment to move the database to.", |
| 6603 | + "required": true, |
| 6604 | + "content": { |
| 6605 | + "application\/json": { |
| 6606 | + "schema": { |
| 6607 | + "required": [ |
| 6608 | + "environment_uuid" |
| 6609 | + ], |
| 6610 | + "properties": { |
| 6611 | + "environment_uuid": { |
| 6612 | + "type": "string", |
| 6613 | + "description": "UUID of the target environment." |
| 6614 | + } |
| 6615 | + }, |
| 6616 | + "type": "object" |
| 6617 | + } |
| 6618 | + } |
| 6619 | + } |
| 6620 | + }, |
| 6621 | + "responses": { |
| 6622 | + "200": { |
| 6623 | + "description": "Database moved successfully.", |
| 6624 | + "content": { |
| 6625 | + "application\/json": { |
| 6626 | + "schema": { |
| 6627 | + "properties": { |
| 6628 | + "message": { |
| 6629 | + "type": "string", |
| 6630 | + "example": "Database moved successfully." |
| 6631 | + }, |
| 6632 | + "uuid": { |
| 6633 | + "type": "string" |
| 6634 | + }, |
| 6635 | + "project_uuid": { |
| 6636 | + "type": "string" |
| 6637 | + }, |
| 6638 | + "environment_uuid": { |
| 6639 | + "type": "string" |
| 6640 | + } |
| 6641 | + }, |
| 6642 | + "type": "object" |
| 6643 | + } |
| 6644 | + } |
| 6645 | + } |
| 6646 | + }, |
| 6647 | + "401": { |
| 6648 | + "$ref": "#\/components\/responses\/401" |
| 6649 | + }, |
| 6650 | + "400": { |
| 6651 | + "$ref": "#\/components\/responses\/400" |
| 6652 | + }, |
| 6653 | + "404": { |
| 6654 | + "$ref": "#\/components\/responses\/404" |
| 6655 | + }, |
| 6656 | + "422": { |
| 6657 | + "$ref": "#\/components\/responses\/422" |
| 6658 | + } |
| 6659 | + }, |
| 6660 | + "security": [ |
| 6661 | + { |
| 6662 | + "bearerAuth": [] |
| 6663 | + } |
| 6664 | + ] |
| 6665 | + } |
| 6666 | + }, |
6497 | 6667 | "\/databases\/{uuid}\/start": { |
6498 | 6668 | "get": { |
6499 | 6669 | "tags": [ |
|
12982 | 13152 | ] |
12983 | 13153 | } |
12984 | 13154 | }, |
| 13155 | + "\/services\/{uuid}\/move": { |
| 13156 | + "post": { |
| 13157 | + "tags": [ |
| 13158 | + "Services" |
| 13159 | + ], |
| 13160 | + "summary": "Move", |
| 13161 | + "description": "Move service to another project\/environment. This is a purely organizational change \u2014 running containers are not affected. Note: after moving, the service will pick up shared environment variables from the new environment on the next deployment.", |
| 13162 | + "operationId": "move-service-by-uuid", |
| 13163 | + "parameters": [ |
| 13164 | + { |
| 13165 | + "name": "uuid", |
| 13166 | + "in": "path", |
| 13167 | + "description": "UUID of the service.", |
| 13168 | + "required": true, |
| 13169 | + "schema": { |
| 13170 | + "type": "string" |
| 13171 | + } |
| 13172 | + } |
| 13173 | + ], |
| 13174 | + "requestBody": { |
| 13175 | + "description": "Target environment to move the service to.", |
| 13176 | + "required": true, |
| 13177 | + "content": { |
| 13178 | + "application\/json": { |
| 13179 | + "schema": { |
| 13180 | + "required": [ |
| 13181 | + "environment_uuid" |
| 13182 | + ], |
| 13183 | + "properties": { |
| 13184 | + "environment_uuid": { |
| 13185 | + "type": "string", |
| 13186 | + "description": "UUID of the target environment." |
| 13187 | + } |
| 13188 | + }, |
| 13189 | + "type": "object" |
| 13190 | + } |
| 13191 | + } |
| 13192 | + } |
| 13193 | + }, |
| 13194 | + "responses": { |
| 13195 | + "200": { |
| 13196 | + "description": "Service moved successfully.", |
| 13197 | + "content": { |
| 13198 | + "application\/json": { |
| 13199 | + "schema": { |
| 13200 | + "properties": { |
| 13201 | + "message": { |
| 13202 | + "type": "string", |
| 13203 | + "example": "Service moved successfully." |
| 13204 | + }, |
| 13205 | + "uuid": { |
| 13206 | + "type": "string" |
| 13207 | + }, |
| 13208 | + "project_uuid": { |
| 13209 | + "type": "string" |
| 13210 | + }, |
| 13211 | + "environment_uuid": { |
| 13212 | + "type": "string" |
| 13213 | + } |
| 13214 | + }, |
| 13215 | + "type": "object" |
| 13216 | + } |
| 13217 | + } |
| 13218 | + } |
| 13219 | + }, |
| 13220 | + "401": { |
| 13221 | + "$ref": "#\/components\/responses\/401" |
| 13222 | + }, |
| 13223 | + "400": { |
| 13224 | + "$ref": "#\/components\/responses\/400" |
| 13225 | + }, |
| 13226 | + "404": { |
| 13227 | + "$ref": "#\/components\/responses\/404" |
| 13228 | + }, |
| 13229 | + "422": { |
| 13230 | + "$ref": "#\/components\/responses\/422" |
| 13231 | + } |
| 13232 | + }, |
| 13233 | + "security": [ |
| 13234 | + { |
| 13235 | + "bearerAuth": [] |
| 13236 | + } |
| 13237 | + ] |
| 13238 | + } |
| 13239 | + }, |
12985 | 13240 | "\/services\/{uuid}\/start": { |
12986 | 13241 | "get": { |
12987 | 13242 | "tags": [ |
|
0 commit comments