Policies

Workspaces Policies List

List policies.

Request

gethttps://api.cloudsmith.io/v2/workspaces/{workspace}/policies
Path params
workspace
string
required
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 string to limit results by name. Legal fields are: `name`. Boolean operators may be used to construct intricate queries. Omitting boolean operators is interpreted as an implicit `AND`.
sort
string
A comma-separated string of fields to sort by. Legal fields are: `created_at`, `name`, `version`, `updated_at`. Descending order can be expressed by prepending `-` to a field name.

Response

Responses

Response body

object

object

results
array of objects
required