PUT
/v1/repositoryCreates a new repository
Requires permission SYSTEM_CONFIGURATION or SYSTEM_CONFIGURATION_CREATE
authenticationRequiredbooleanrequired
Whether the repository requires authentication
enabledbooleanrequired
Whether the repository is enabled
identifierstringrequired
Unique identifier of the repository within its type
internalbooleanoptional
Whether the repository is internal to the organization
passwordstringoptional
Name of the secret holding the password or token
typestringrequired
Type of the repository
urlstringrequired
URL of the repository
usernamestringoptional
Username to authenticate with
201The created repository
authenticationRequiredbooleanrequired
Whether the repository requires authentication
enabledbooleanrequired
Whether the repository is enabled
identifierstringrequired
Unique identifier of the repository within its type
internalbooleanoptional
Whether the repository is internal to the organization
passwordstringoptional
Name of the secret holding the password or token
resolutionOrderintegerrequired
Order in which the repository is queried during version resolution
typestringrequired
Type of the repository
urlstringrequired
URL of the repository
usernamestringoptional
Username to authenticate with
uuidstringrequired
UUID of the repository
401Unauthorized
409A repository with the specified identifier already exists
Error handling
A 401 is returned: Unauthorized. A 409 is returned: A repository with the specified identifier already exists.