Synchronise tokens from a source repository.
Response body
object
object
The source repository slug (in the same owner namespace).
The tokens have been synchronised from the source repository.
object
object
The entitlements that have been synchronised.
object
The datetime the token was updated at.
If selected this is the default token for this repository.
object
object
A unique identifier that you can use for your own EULA tracking purposes. This might be a date, or a semantic version, etc. The only requirement is that it is unique across multiple EULAs.
A sequential identifier that increments by one for each new commit in a repository.
The datetime the EULA was accepted at.
If checked, a EULA acceptance is required for this token.
Deprecated (23-05-15): Please use 'slug_perm' instead. Previously: A monotonically increasing number that identified an entitlement within a repository.
If enabled, the token will allow downloads based on configured restrictions (if any).
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.
The starting date/time the token is allowed to be used from.
The ending date/time the token is allowed to be used until.
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.
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.
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.
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.
object
object
The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero.
The datetime the token was updated at.
Request could not be processed (see detail).
object
object
An extended message for the response.
A Dictionary of related errors where key: Field and value: Array of Errors related to that field
object
Owner namespace or repository not found
object
object
An extended message for the response.
A Dictionary of related errors where key: Field and value: Array of Errors related to that field
object
Missing or invalid parameters (see detail).
object
object
An extended message for the response.
A Dictionary of related errors where key: Field and value: Array of Errors related to that field
object