metrics

View for listing entitlement token metrics, for a repository.

View for listing entitlement token metrics, for a repository.

get/metrics/entitlements/{owner}/{repo}/

Request

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

Query parameters

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

finishstring

Include metrics upto and including this UTC date or UTC datetime. For example '2020-12-31' or '2021-12-13T00:00:00Z'.

startstring

Include metrics from and including this UTC date or UTC datetime. For example '2020-12-31' or '2021-12-13T00:00:00Z'.

tokensstring

A comma seperated list of tokens (slug perm) to include in the results.

Response

Retrieved the metrics for entitlements.

Changes

No recorded changes to this operation across all 6 revisions of this API.