List Services
services_list( hidden = NULL, archived = NULL, author = NULL, status = NULL, limit = NULL, page_num = NULL, order = NULL, order_dir = NULL )
hidden | boolean optional. If specified to be true, returns hidden items. Defaults to false, returning non-hidden items. |
---|---|
archived | string optional. The archival status of the requested item(s). |
author | string optional. If specified, return imports from this author. It accepts a comma-separated list of author IDs. |
status | string optional. If specified, returns Services with one of these statuses. It accepts a comma-separated list, possible values are 'running', 'idle'. |
limit | integer optional. Number of results to return. Defaults to 20. Maximum allowed is 50. |
page_num | integer optional. Page number of the results to return. Defaults to the first page, 1. |
order | string optional. The field on which to order the result set. Defaults to updated_at. Must be one of: updated_at, name, created_at. |
order_dir | 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 Service.
string, The name of this Service.
string, The description of this Service.
list, A list containing the following elements:
id integer, The ID of this user.
name string, This user's name.
username string, This user's username.
initials string, This user's initials.
online boolean, Whether this user is online.
string, The type of this Service
string,
string,
string, The url for the git repo where the Service code lives.
string, The git reference to use when pulling code from the repo.
string, The path to the Service code within the git repo. If unspecified, the root directory will be used.
list, A list containing the following elements:
deploymentId integer, The ID for this deployment.
userId integer, The ID of the owner.
host string, Domain of the deployment.
name string, Name of the deployment.
dockerImageName string, The name of the docker image to pull from DockerHub.
dockerImageTag string, The tag of the docker image to pull from DockerHub (default: latest).
instanceType string, The EC2 instance type requested for the deployment.
memory integer, The memory allocated to the deployment.
cpu integer, The cpu allocated to the deployment.
state string, The state of the deployment.
stateMessage string, A detailed description of the state.
createdAt string,
updatedAt string,
published boolean,
serviceId integer, The ID of owning Service
list, A list containing the following elements:
deploymentId integer, The ID for this deployment.
userId integer, The ID of the owner.
host string, Domain of the deployment.
name string, Name of the deployment.
dockerImageName string, The name of the docker image to pull from DockerHub.
dockerImageTag string, The tag of the docker image to pull from DockerHub (default: latest).
instanceType string, The EC2 instance type requested for the deployment.
memory integer, The memory allocated to the deployment.
cpu integer, The cpu allocated to the deployment.
state string, The state of the deployment.
stateMessage string, A detailed description of the state.
createdAt string,
updatedAt string,
published boolean,
serviceId integer, The ID of owning Service
string, The archival status of the requested item(s).