Services

Services List

Get a list of all services within an organization.

Request

gethttps://api.cloudsmith.io/v1/orgs/{org}/services
Query params
page
integer
A page number within the paginated result set.
page_size
integer
Number of results to return per page.
query
string
A search term for querying of services within an Organization.Available options are: name, role
sort
string
A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-created_at`). Available options: created_at, name, role.

Response

Responses

Retrieved the list of services within the org

array of objects

object

created_at
date-time
optional
created_by
string
optional
length ≥ 1
created_by_url
uri
optional
description
string
optional
length between 1 and 1024
key
string
optional
key_expires_at
date-time | null
optional
name
string
required
length between 1 and 120
role
string
optional
Allowed values: Manager, Member
Defaults to Member
slug
slug
optional
^[-a-zA-Z0-9_]+$
length ≥ 1
teams
array of objects
optional

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional

Org namespace not found

object

object

detail
string
required
length ≥ 1
fields
object
optional

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional