services_list {civis} | R Documentation |
List Services
Description
List Services
Usage
services_list(
hidden = NULL,
archived = NULL,
author = NULL,
status = NULL,
limit = NULL,
page_num = NULL,
order = NULL,
order_dir = NULL
)
Arguments
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 items from any of these authors. It accepts a comma-separated list of user 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. |
Value
An array containing the following fields:
id |
integer, The ID for this Service. |
name |
string, The name of this Service. |
description |
string, The description of this Service. |
user |
list, A list containing the following elements:
|
type |
string, The type of this Service |
createdAt |
string, |
updatedAt |
string, |
gitRepoUrl |
string, The url for the git repo where the Service code lives. |
gitRepoRef |
string, The git reference to use when pulling code from the repo. |
gitPathDir |
string, The path to the Service code within the git repo. If unspecified, the root directory will be used. |
currentDeployment |
list, A list containing the following elements:
|
archived |
string, The archival status of the requested item(s). |