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
Copy file name to clipboardExpand all lines: revisions.html.md.erb
+5-5
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ For additional information, see the _Revisions_ section of the [CAPI documentati
9
9
10
10
<pclass="note"><strong>Note</strong>: CAPI v3 is the recommended API version for revisions. While revisions work with v2, there are several inconsistencies. For example, revision descriptions for apps with multiple processes may be inaccurate because v2 does not support apps with multiple processes. Additionally, pushing an app for the first time with revisions in v2 creates two revisions.</p>
11
11
12
-
## <aid="enable"></a> Overview
12
+
## <aid="overview"></a> Overview
13
13
14
14
A revision represents code and configuration used by an app at a specific time. It is a Cloud Foundry API (CAPI) object that can contain references to a droplet, custom start command, and environment variables. The most recent revision for a running app represents code and configuration currently running in Cloud Foundry.
15
15
@@ -71,7 +71,7 @@ To enable revisions for an app, do the following:
71
71
72
72
This section describes how to use CAPI endpoints for viewing revisions.
73
73
74
-
### <aid="view"></a> List Revisions for an App
74
+
### <aid="list"></a> List Revisions for an App
75
75
76
76
To list revisions for an app, do the following:
77
77
@@ -89,7 +89,7 @@ To list revisions for an app, do the following:
89
89
Where `GUID` is the GUID you got in the previous step.
90
90
91
91
92
-
### <aid="view"></a> List Deployed Revisions for an App
92
+
### <aid="list-deployed"></a> List Deployed Revisions for an App
93
93
94
94
Deployed revisions are revisions linked to started processes in an app. To list deployed revisions, do the following:
95
95
@@ -106,7 +106,7 @@ Deployed revisions are revisions linked to started processes in an app. To list
106
106
```
107
107
Where `GUID` is the GUID you got in the previous step.
108
108
109
-
### <aid="view"></a> Get a Revision
109
+
### <aid="get"></a> Get a Revision
110
110
111
111
To get a revision, do the following:
112
112
@@ -151,7 +151,7 @@ To roll back to a previous revision, do the following:
151
151
* `REVISION-GUID` is the GUID of the revision.
152
152
* `APP-GUID` is the GUID of the app.
153
153
154
-
## <aid="view"></a> Add Metadata to a Revision
154
+
## <aid="metadata"></a> Add Metadata to a Revision
155
155
156
156
<%ifvars.product_name.include?"CF"%>
157
157
To add metadata to a revision, follow the steps to [Add Metadata to an Object](../adminguide/metadata.html).
0 commit comments