workspaces

GET /workspaces/{workspace}/policies/

Changed on

List policies.

Request

  • Base URL
    https://api.cloudsmith.io/v2
  • Auth
    • API key in header X-Api-Key
    • or HTTP basic

Path parameters

workspacestring required

The name of the Workspace.

Query parameters

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

querystring

A search string to limit results by name. Legal fields are: name, enabled. Boolean operators may be used to construct intricate queries. Omitting boolean operators is interpreted as an implicit AND.

sortstring

A comma-separated string of fields to sort by. Legal fields are: created_at, enabled, name, precedence, version, updated_at. Descending order can be expressed by prepending - to a field name.

Response

Changes

    • info

      the endpoint scheme security apikey was removed from the API

    • info

      the endpoint scheme security basic was removed from the API