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: content/v3/repos/deployments.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,10 +138,10 @@ Name | Type | Description
138
138
`payload`|`string` | Optional JSON payload with extra information about the deployment. Default: `""`
139
139
`environment`|`string` | Optional name for the target deployment environment (e.g., production, staging, qa). Default: `"production"`
140
140
`description`|`string` | Optional short description. Default: `""`
141
-
{% if page.version == 'dotcom' || page.version >= 2.6 %} `transient_environment` | `boolean` | Optionally specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false`**This parameter requires a custom media type to be specified. Please see more in the alert below.**{% endif %}
142
-
{% if page.version == 'dotcom' || page.version >= 2.6 %} `production_environment` | `boolean` | Optionally specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `"production"` and `false` otherwise. **This parameter requires a custom media type to be specified. Please see more in the alert below.**{% endif %}
141
+
{% if page.version == 'dotcom' || page.version > 2.6 %} `transient_environment` | `boolean` | Optionally specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false`**This parameter requires a custom media type to be specified. Please see more in the alert below.**{% endif %}
142
+
{% if page.version == 'dotcom' || page.version > 2.6 %} `production_environment` | `boolean` | Optionally specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `"production"` and `false` otherwise. **This parameter requires a custom media type to be specified. Please see more in the alert below.**{% endif %}
143
143
144
-
{% if page.version == 'dotcom' || page.version >= 2.6 %}
144
+
{% if page.version == 'dotcom' || page.version > 2.6 %}
145
145
{{#tip}}
146
146
147
147
The new `transient_environment` and `production_environment` parameters are currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post][blog-post] for full details.
@@ -238,14 +238,14 @@ Users with push access can create deployment statuses for a given deployment:
238
238
239
239
Name | Type | Description
240
240
-----|------|--------------
241
-
`state`|`string` | **Required**. The state of the status. Can be one of `pending`, `success`, `error`, {% if page.version == 'dotcom' || page.version >= 2.6 %} `inactive`, {% endif %}or `failure`**The `inactive` state requires a custom media type to be specified. Please see more in the alert below.**.
241
+
`state`|`string` | **Required**. The state of the status. Can be one of `pending`, `success`, `error`, {% if page.version == 'dotcom' || page.version > 2.6 %} `inactive`, {% endif %}or `failure`**The `inactive` state requires a custom media type to be specified. Please see more in the alert below.**.
242
242
`target_url`|`string` | The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. Default: `""`
243
-
{% if page.version == 'dotcom' || page.version >= 2.6 %}`log_url`|`string` | This is functionally equivalent to `target_url`. We will continue accept `target_url` to support legacy uses, but we recommend modifying this to the new name to avoid confusion. Default: `""`**This parameter requires a custom media type to be specified. Please see more in the alert below.**{% endif %}
243
+
{% if page.version == 'dotcom' || page.version > 2.6 %}`log_url`|`string` | This is functionally equivalent to `target_url`. We will continue accept `target_url` to support legacy uses, but we recommend modifying this to the new name to avoid confusion. Default: `""`**This parameter requires a custom media type to be specified. Please see more in the alert below.**{% endif %}
244
244
`description`|`string` | A short description of the status. Maximum length of 140 characters. Default: `""`
245
-
{% if page.version == 'dotcom' || page.version >= 2.6 %}`environment_url`|`string`| Optionally set the URL for accessing your environment. Default: `""`**This parameter requires a custom media type to be specified. Please see more in the alert below.**{% endif %}
246
-
{% if page.version == 'dotcom' || page.version >= 2.6 %}`auto_inactive`|`boolean`| Optional parameter to add a new `inactive` status to all non-transient, non-production environment deployments with the same repository and environment name as the created status's deployment. Default: `true`**This parameter requires a custom media type to be specified. Please see more in the alert below.**{% endif %}
245
+
{% if page.version == 'dotcom' || page.version > 2.6 %}`environment_url`|`string`| Optionally set the URL for accessing your environment. Default: `""`**This parameter requires a custom media type to be specified. Please see more in the alert below.**{% endif %}
246
+
{% if page.version == 'dotcom' || page.version > 2.6 %}`auto_inactive`|`boolean`| Optional parameter to add a new `inactive` status to all non-transient, non-production environment deployments with the same repository and environment name as the created status's deployment. Default: `true`**This parameter requires a custom media type to be specified. Please see more in the alert below.**{% endif %}
247
247
248
-
{% if page.version == 'dotcom' || page.version >= 2.6 %}
248
+
{% if page.version == 'dotcom' || page.version > 2.6 %}
0 commit comments