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
{{ message }}
This repository was archived by the owner on Jun 2, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: docs/v3/source/includes/upgrade_guide/upgrade_guide.md
+99Lines changed: 99 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,105 @@ When moving to the V3 API, it is important to understand that the V3 API is back
6
6
7
7
If you have questions, need help, or want to chat about the upgrade process, please reach out to us in [Cloud Foundry Slack](https://cloudfoundry.slack.com/messages/C07C04W4Q).
8
8
9
+
## Deprecated Endpoints
10
+
11
+
### Restage
12
+
13
+
Due to changes to the app resource, the `/v2/apps/:guid/restage` endpoint no longer exists.
14
+
The introduction of the [package, droplet, and build resources](#app-sub-resources) allows finer grain
15
+
control over the lifecycle of an app. The increased flexibility enabled by these
16
+
changes renders a restage endpoint ambiguous. The V3 API avoids making assumptions about which package/droplet to use when running an app and thus leaves it up to clients.
17
+
18
+
#### Restage features introduced by new resource model
19
+
20
+
The changes made to the app resource increase the flexibility and granularity of control available
21
+
to clients in crafting a restage workflow. Examples of new capabilities include:
22
+
23
+
- Staging packages to produce droplets without setting them as the current
24
+
droplet for an app
25
+
- Changing the current droplet for an app more easily (e.g. rolling back to a
26
+
previous droplet)
27
+
- Using the deployment resource when changing the droplet for a running app to minimize downtime
28
+
29
+
#### Replicating behavior of the deprecated endpoint
This table shows how V2 resources map to their respective V3 counterparts. Note that some V2 resources have split into multiple V3 resources, and some V2 resources have been combined into a single resource on V3. As these resources are currently under active development, these mappings may change.
0 commit comments