List deployments for a Service
services_list_deployments(service_id, deployment_id = NULL, limit = NULL, page_num = NULL, order = NULL, order_dir = NULL)
integer required. The ID of the owning Service
integer optional. The ID for this deployment
integer optional. Number of results to return. Defaults to 20. Maximum allowed is 50.
integer optional. Page number of the results to return. Defaults to the first page, 1.
string optional. The field on which to order the result set. Defaults to created_at. Must be one of: created_at.
string optional. Direction in which to sort, either asc (ascending) or desc (descending) defaulting to desc.
An array containing the following fields:
integer, The ID for this deployment.
integer, The ID of the owner.
string, Domain of the deployment.
string, Name of the deployment.
string, The name of the docker image to pull from DockerHub.
string, The tag of the docker image to pull from DockerHub (default: latest).
string, The EC2 instance type requested for the deployment.
integer, The memory allocated to the deployment.
integer, The cpu allocated to the deployment.
string, The state of the deployment.
string, A detailed description of the state.
integer, The ID of owning Service