Entitlements

Entitlements List

Get a list of all entitlements in a repository.

Request

gethttps://api.cloudsmith.io/v1/entitlements/{owner}/{repo}
Query params
page
integer
A page number within the paginated result set.
page_size
integer
Number of results to return per page.
show_tokens
boolean
Show entitlement token strings in results
query
string
A search term for querying names of entitlements.
active
boolean
If true, only include active tokens
sort
string
A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name.

Response

Responses

Retrieved the list of entitlement tokens

array of objects

object

clients
integer
optional
created_at
date-time
optional
created_by
string
optional
length ≥ 1
created_by_url
uri
optional
default
boolean
optional
disable_url
uri
optional
downloads
integer
optional
enable_url
uri
optional
eula_accepted
object | null
optional
eula_accepted_at
date-time | null
optional
eula_accepted_from
string | null
optional
length ≥ 1
eula_required
boolean
optional
has_limits
boolean
optional
identifier
integer | null
optional
is_active
boolean
optional
is_limited
boolean
optional
limit_bandwidth
integer | null
optional
length between -9223372036854776000 and 9223372036854776000
limit_bandwidth_unit
string | null
optional
Allowed values: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte, Petabyte, Exabyte, Zettabyte, Yottabyte
Defaults to Byte
limit_date_range_from
date-time | null
optional
limit_date_range_to
date-time | null
optional
limit_num_clients
integer | null
optional
length between -9223372036854776000 and 9223372036854776000
limit_num_downloads
integer | null
optional
length between -9223372036854776000 and 9223372036854776000
limit_package_query
string | null
optional
length ≤ 1024
limit_path_query
string | null
optional
length ≤ 1024
metadata
object | null
optional
name
string
required
length ≥ 1
refresh_url
uri
optional
reset_url
uri
optional
scheduled_reset_at
date-time | null
optional
scheduled_reset_period
string | null
optional
Allowed values: Never Reset, Daily, Weekly, Fortnightly, Monthly, Bi-Monthly, Quarterly, Every 6 months, Annual
Defaults to Never Reset
self_url
uri
optional
slug_perm
slug
optional
^[-a-zA-Z0-9_]+$
length ≥ 1
token
string
optional
length ≥ 1
updated_at
date-time | null
optional
updated_by
string | null
optional
length ≥ 1
updated_by_url
uri | null
optional
usage
string
optional
length ≥ 1
user
string | null
optional
length ≥ 1
user_url
uri | null
optional

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional

Owner namespace or repository 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