@@ -79,10 +79,10 @@ def create(
7979 new_config_instances: The _new_ config instances to create for this deployment. A deployment must have
8080 exactly one config instance for each config schema in the deployment's release.
8181 If less config instances are provided than the number of schemas, the deployment
82- will 'transfer' config instances its patch source. Archived config instances (in
83- patch sources) cannot be transferred, they must be created anew .
82+ will 'transfer' config instances from the deployment it is patched from.
83+ Archived config instances cannot be transferred.
8484
85- release_id: The ID of the release which this deployment adheres to.
85+ release_id: The release ID which this deployment adheres to.
8686
8787 target_status: Desired state of the deployment.
8888
@@ -94,15 +94,11 @@ def create(
9494 release is the device's current release.
9595
9696 If custom validation is enabled for the release, the deployment must pass
97- validation before fulfilling the target status. Otherwise, the deployment fails
98- and current deployments are unaffected.
97+ validation before fulfilling the target status.
9998
10099 expand: The fields to expand in the deployment.
101100
102- patch_source_id: The ID of the deployment that this deployment was (optionally) patched from. If
103- no patch source is provided, the deployment is considered to be 'new'-- it is
104- not a delta from an existing deployment. If a patch source is provided, the
105- deployment is considered to be a delta of changes from the patch source.
101+ patch_source_id: The ID of the deployment that this deployment was patched from.
106102
107103 extra_headers: Send extra headers
108104
@@ -275,8 +271,7 @@ def validate(
275271 config_instances: The config instance errors for this deployment.
276272
277273 is_valid: Whether the deployment is valid. If invalid, the deployment is immediately
278- archived and marked as 'failed'. If valid, the deployment continues to its
279- desired target status (i.e. 'pending', 'approved', or 'deployed').
274+ archived and marked as 'failed'.
280275
281276 message: A message displayed on the deployment level in the UI.
282277
@@ -355,10 +350,10 @@ async def create(
355350 new_config_instances: The _new_ config instances to create for this deployment. A deployment must have
356351 exactly one config instance for each config schema in the deployment's release.
357352 If less config instances are provided than the number of schemas, the deployment
358- will 'transfer' config instances its patch source. Archived config instances (in
359- patch sources) cannot be transferred, they must be created anew .
353+ will 'transfer' config instances from the deployment it is patched from.
354+ Archived config instances cannot be transferred.
360355
361- release_id: The ID of the release which this deployment adheres to.
356+ release_id: The release ID which this deployment adheres to.
362357
363358 target_status: Desired state of the deployment.
364359
@@ -370,15 +365,11 @@ async def create(
370365 release is the device's current release.
371366
372367 If custom validation is enabled for the release, the deployment must pass
373- validation before fulfilling the target status. Otherwise, the deployment fails
374- and current deployments are unaffected.
368+ validation before fulfilling the target status.
375369
376370 expand: The fields to expand in the deployment.
377371
378- patch_source_id: The ID of the deployment that this deployment was (optionally) patched from. If
379- no patch source is provided, the deployment is considered to be 'new'-- it is
380- not a delta from an existing deployment. If a patch source is provided, the
381- deployment is considered to be a delta of changes from the patch source.
372+ patch_source_id: The ID of the deployment that this deployment was patched from.
382373
383374 extra_headers: Send extra headers
384375
@@ -553,8 +544,7 @@ async def validate(
553544 config_instances: The config instance errors for this deployment.
554545
555546 is_valid: Whether the deployment is valid. If invalid, the deployment is immediately
556- archived and marked as 'failed'. If valid, the deployment continues to its
557- desired target status (i.e. 'pending', 'approved', or 'deployed').
547+ archived and marked as 'failed'.
558548
559549 message: A message displayed on the deployment level in the UI.
560550
0 commit comments