Details on the various actions that can be performed on the
Edge Deployments resource, including the expected
parameters and the potential responses.
Returns the edge deployments for an application
result = client.edge_deployments.get(applicationId=my_application_id)
print(result)
The client must be configured with a valid api access token to call this
action. The token must include at least one of the following scopes:
all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, edgeDeployments.*, or edgeDeployments.get.
| Name |
Type |
Required |
Description |
Default |
Example |
| applicationId |
string |
Y |
ID associated with the application |
|
575ec8687ae143cd83dc4a97 |
| sortField |
string |
N |
Field to sort the results by. Accepted values are: id, deviceId, flowId, desiredVersion, currentVersion, creationDate, lastUpdated |
lastUpdated |
creationDate |
| sortDirection |
string |
N |
Direction to sort the results by. Accepted values are: asc, desc |
asc |
asc |
| page |
string |
N |
Which page of results to return |
0 |
0 |
| perPage |
string |
N |
How many items to return per page |
100 |
10 |
| deviceId |
string |
N |
Filter deployments to the given Device ID |
|
575ecf887ae143cd83dc4aa2 |
| version |
string |
N |
Filter deployments to the given Workflow Version (matches against both current and desired) |
|
myFlowVersion |
| filterEmpty |
undefined |
N |
Filter out deployments where both the current and desired version are null. |
|
true |
| flowId |
string |
N |
Filter deployments to the given Workflow ID |
|
575ed18f7ae143cd83dc4aa6 |
| losantdomain |
string |
N |
Domain scope of request (rarely needed) |
|
example.com |
| Code |
Type |
Description |
| 400 |
Error |
Error if malformed request |
| 404 |
Error |
Error if application was not found |
Deploy an edge workflow version to one or more edge devices. Version can be blank, if removal is desired.
result = client.edge_deployments.release(
applicationId=my_application_id,
deployment=my_deployment)
print(result)
The client must be configured with a valid api access token to call this
action. The token must include at least one of the following scopes:
all.Application, all.Organization, all.User, edgeDeployments.*, or edgeDeployments.release.
| Name |
Type |
Required |
Description |
Default |
Example |
| applicationId |
string |
Y |
ID associated with the application |
|
575ec8687ae143cd83dc4a97 |
| deployment |
Edge Deployment Release |
Y |
Deployment release information |
|
Edge Deployment Release Example |
| losantdomain |
string |
N |
Domain scope of request (rarely needed) |
|
example.com |
| Code |
Type |
Description |
| 201 |
Success |
If deployment release has been initiated successfully |
| Code |
Type |
Description |
| 400 |
Error |
Error if malformed request |
| 404 |
Error |
Error if application was not found |
Remove all edge deployments from a device, remove all edge deployments of a workflow, or remove a specific workflow from a specific device
result = client.edge_deployments.remove(
applicationId=my_application_id,
deployment=my_deployment)
print(result)
The client must be configured with a valid api access token to call this
action. The token must include at least one of the following scopes:
all.Application, all.Organization, all.User, edgeDeployments.*, or edgeDeployments.remove.
| Name |
Type |
Required |
Description |
Default |
Example |
| applicationId |
string |
Y |
ID associated with the application |
|
575ec8687ae143cd83dc4a97 |
| deployment |
Edge Deployment Remove |
Y |
Deployment removal information |
|
Edge Deployment Remove Example |
| losantdomain |
string |
N |
Domain scope of request (rarely needed) |
|
example.com |
| Code |
Type |
Description |
| 201 |
Success |
If deployment removal has been initiated successfully |
| Code |
Type |
Description |
| 400 |
Error |
Error if malformed request |
| 404 |
Error |
Error if application was not found |
Replace deployments of an edge workflow version with a new version. New version can be blank, if removal is desired.
result = client.edge_deployments.replace(
applicationId=my_application_id,
deployment=my_deployment)
print(result)
The client must be configured with a valid api access token to call this
action. The token must include at least one of the following scopes:
all.Application, all.Organization, all.User, edgeDeployments.*, or edgeDeployments.replace.
| Name |
Type |
Required |
Description |
Default |
Example |
| applicationId |
string |
Y |
ID associated with the application |
|
575ec8687ae143cd83dc4a97 |
| deployment |
Edge Deployment Replace |
Y |
Deployment replacement information |
|
Edge Deployment Replace Example |
| losantdomain |
string |
N |
Domain scope of request (rarely needed) |
|
example.com |
| Code |
Type |
Description |
| 201 |
Success |
If deployment replacement has been initiated successfully |
| Code |
Type |
Description |
| 400 |
Error |
Error if malformed request |
| 404 |
Error |
Error if application was not found |