Skip to content

Latest commit

 

History

History
55 lines (46 loc) · 3.64 KB

File metadata and controls

55 lines (46 loc) · 3.64 KB

RepositoryTokenRequestPatch

Properties

Name Type Description Notes
accessPrivateBroadcasts Boolean If enabled, this token can be used for private broadcasts [optional]
eulaRequired Boolean If checked, a EULA acceptance is required for this token. [optional]
isActive Boolean If enabled, the token will allow downloads based on configured restrictions (if any). [optional]
limitBandwidth java.math.BigInteger The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. [optional]
limitBandwidthUnit LimitBandwidthUnitEnum [optional]
limitDateRangeFrom OffsetDateTime The starting date/time the token is allowed to be used from. [optional]
limitDateRangeTo OffsetDateTime The ending date/time the token is allowed to be used until. [optional]
limitNumClients java.math.BigInteger The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. [optional]
limitNumDownloads java.math.BigInteger The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. [optional]
limitPackageQuery String The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. [optional]
limitPathQuery String THIS WILL SOON BE DEPRECATED, please use limit_package_query instead. The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. [optional]
metadata Object [optional]
name String [optional]
scheduledResetAt OffsetDateTime The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. [optional]
scheduledResetPeriod ScheduledResetPeriodEnum [optional]
token String [optional]

Enum: LimitBandwidthUnitEnum

Name Value
BYTE "Byte"
KILOBYTE "Kilobyte"
MEGABYTE "Megabyte"
GIGABYTE "Gigabyte"
TERABYTE "Terabyte"
PETABYTE "Petabyte"
EXABYTE "Exabyte"
ZETTABYTE "Zettabyte"
YOTTABYTE "Yottabyte"

Enum: ScheduledResetPeriodEnum

Name Value
NEVER_RESET "Never Reset"
DAILY "Daily"
WEEKLY "Weekly"
FORTNIGHTLY "Fortnightly"
MONTHLY "Monthly"
BI_MONTHLY "Bi-Monthly"
QUARTERLY "Quarterly"
EVERY_6_MONTHS "Every 6 months"
ANNUAL "Annual"