Nexus-3.15.2-01
  1. Repository Management
Nexus-3.15.2-01
  • Security Management: Anonymous Access
    • Get Anonymous Access settings
    • Update Anonymous Access settings
  • Security management
    • Retrieve a list of the available user sources.
  • Security management: users
    • Update an existing user.
    • Delete a user.
    • Change a user's password.
    • Retrieve a list of users. Note if the source is not 'default' the response is limited to 100 users.
    • Create a new user in the default source.
  • Security management: privileges
    • Retrieve a list of privileges.
    • Retrieve a privilege by id.
    • Delete a privilege by id.
    • Create a wildcard type privilege.
    • Create an application type privilege.
    • Update a wildcard type privilege.
    • Update an application type privilege.
    • Create a repository content selector type privilege.
    • Create a repository admin type privilege.
    • Create a repository view type privilege.
    • Update a repository view type privilege.
    • Update a repository content selector type privilege.
    • Update a repository admin type privilege.
    • Create a script type privilege.
    • Update a script type privilege.
  • Security management: realms
    • List the active realm IDs in order
    • Set the active security realms in the order they should be used
    • List the available realms
  • Security management: roles
    • List roles
    • Create role
    • Get role
    • Update role
    • Delete role
  • Tasks
    • List tasks
    • Get a single task by id
    • Run task
    • Stop task
  • Blob store
    • Get quota status for a given blob store
    • Delete a blob store by name
    • List the blob stores
    • Create a file blob store
    • Get a file blob store configuration by name
    • Update a file blob store configuration by name
    • Get a S3 blob store configuration by name
    • Update an S3 blob store configuration by name
    • Create an S3 blob store
    • Get an Azure blob store configuration by name
    • Update an Azure blob store configuration by name
    • Create an Azure blob store
  • Lifecycle
    • Bounce lifecycle phase
    • Get current lifecycle phase
    • Move to new lifecycle phase
  • Read-only
    • Enable read-only
    • Forcibly release read-only
    • Release read-only
    • Get read-only state
  • Security: certificates
    • Helper method to retrieve certificate details from a remote system.
    • Retrieve a list of certificates added to the trust store.
    • Add a certificate to the trust store.
    • Remove a certificate in the trust store.
  • Assets
    • Get a single asset
    • Delete a single asset
    • List assets
  • Components
    • Get a single component
    • Delete a single component
    • List components
    • Upload a single component
  • Repository Management
    • Schedule a 'Repair - Rebuild repository search' Task. Hosted or proxy repositories only.
      POST
    • Invalidate repository cache. Proxy or group repositories only.
      POST
    • Delete repository of any format
      DELETE
    • List repositories
      GET
    • List repositories
      GET
    • Create Maven group repository
      POST
    • Get repository
      GET
    • Update Maven group repository
      PUT
    • Get repository
      GET
    • Update Maven hosted repository
      PUT
    • Create Maven hosted repository
      POST
    • Get repository
      GET
    • Update Maven proxy repository
      PUT
    • Create Maven proxy repository
      POST
    • Get repository
      GET
    • Update APT hosted repository
      PUT
    • Create APT hosted repository
      POST
    • Get repository
      GET
    • Update APT proxy repository
      PUT
    • Create APT proxy repository
      POST
    • Create raw group repository
      POST
    • Get repository
      GET
    • Update raw group repository
      PUT
    • Create raw hosted repository
      POST
    • Get repository
      GET
    • Update raw hosted repository
      PUT
    • Create raw proxy repository
      POST
    • Get repository
      GET
    • Update raw proxy repository
      PUT
    • Enable repository health check. Proxy repositories only.
      POST
    • Disable repository health check. Proxy repositories only.
      DELETE
    • Get repository
      GET
    • Update npm group repository
      PUT
    • Create npm group repository
      POST
    • Create npm hosted repository
      POST
    • Get repository
      GET
    • Update npm hosted repository
      PUT
    • Get repository
      GET
    • Update npm proxy repository
      PUT
    • Create npm proxy repository
      POST
    • Create NuGet group repository
      POST
    • Get repository
      GET
    • Update NuGet group repository
      PUT
    • Create NuGet hosted repository
      POST
    • Get repository
      GET
    • Update NuGet hosted repository
      PUT
    • Get repository
      GET
    • Update NuGet proxy repository
      PUT
    • Create NuGet proxy repository
      POST
    • Create RubyGems group repository
      POST
    • Get repository
      GET
    • Update RubyGems group repository
      PUT
    • Create RubyGems hosted repository
      POST
    • Get repository
      GET
    • Update RubyGems hosted repository
      PUT
    • Create RubyGems proxy repository
      POST
    • Get repository
      GET
    • Update RubyGems proxy repository
      PUT
    • Get repository
      GET
    • Update Docker group repository
      PUT
    • Create Docker group repository
      POST
    • Get repository
      GET
    • Update Docker hosted repository
      PUT
    • Create Docker hosted repository
      POST
    • Get repository
      GET
    • Update Docker group repository
      PUT
    • Create Docker proxy repository
      POST
    • Create Yum group repository
      POST
    • Get repository
      GET
    • Update Yum group repository
      PUT
    • Get repository
      GET
    • Update Yum hosted repository
      PUT
    • Create Yum hosted repository
      POST
    • Create Yum proxy repository
      POST
    • Get repository
      GET
    • Update Yum proxy repository
      PUT
    • Create Helm hosted repository
      POST
    • Get repository
      GET
    • Update Helm hosted repository
      PUT
    • Create Helm proxy repository
      POST
    • Get repository
      GET
    • Update Helm proxy repository
      PUT
    • Create Git LFS hosted repository
      POST
    • Get repository
      GET
    • Update Git LFS hosted repository
      PUT
    • Create PyPI group repository
      POST
    • Get repository
      GET
    • Update PyPI group repository
      PUT
    • Create PyPI hosted repository
      POST
    • Get repository
      GET
    • Update PyPI hosted repository
      PUT
    • Create PyPI proxy repository
      POST
    • Get repository
      GET
    • Update PyPI proxy repository
      PUT
    • Create conda proxy repository
      POST
    • Get repository
      GET
    • Update conda proxy repository
      PUT
    • Create Conan proxy repository
      POST
    • Get repository
      GET
    • Update Conan proxy repository
      PUT
    • Create R group repository
      POST
    • Get repository
      GET
    • Update R group repository
      PUT
    • Create R hosted repository
      POST
    • Get repository
      GET
    • Update R hosted repository
      PUT
    • Create R proxy repository
      POST
    • Get repository
      GET
    • Update R proxy repository
      PUT
    • Create Cocoapods proxy repository
      POST
    • Get repository
      GET
    • Update Cocoapods proxy repository
      PUT
    • Create a Go group repository
      POST
    • Get repository
      GET
    • Update a Go group repository
      PUT
    • Create a Go proxy repository
      POST
    • Get repository
      GET
    • Update a Go proxy repository
      PUT
    • Create p2 proxy repository
      POST
    • Get repository
      GET
    • Update p2 proxy repository
      PUT
    • Create Bower group repository
      POST
    • Get repository
      GET
    • Update Bower group repository
      PUT
    • Create Bower hosted repository
      POST
    • Get repository
      GET
    • Update Bower hosted repository
      PUT
    • Get repository
      GET
    • Update Bower proxy repository
      PUT
    • Create Bower proxy repository
      POST
  • Content selectors
    • List content selectors
    • Create a new content selector
    • Get a content selector by name
    • Update a content selector
    • Delete a content selector
  • Routing rules
    • Get a single routing rule
    • Update a single routing rule
    • Delete a single routing rule
    • List routing rules
    • Create a single routing rule
  • Search
    • Search and download asset
    • Search assets
    • Search components
  • Formats
    • Get upload field requirements for the desired format
    • Get upload field requirements for each supported format
  • Script
    • List all stored scripts
    • Add a new script
    • Read stored script by name
    • Update stored script by name
    • Delete stored script by name
    • Run stored script by name
  • Email
    • Retrieve the current email configuration
    • Set the current email configuration
    • Disable and clear the email configuration
    • Send a test email to the email address provided in the request body
  • Status
    • Health check endpoint that returns the results of the system status checks
    • Health check endpoint that validates server can respond to read requests
    • Health check endpoint that validates server can respond to read and write requests
  • Support
    • Creates and downloads a support zip
    • Creates a support zip and returns the path
  • Security management: LDAP
    • List LDAP servers
    • Create LDAP server
    • Get LDAP server
    • Update LDAP server
    • Delete LDAP server
    • Change LDAP server order
  • Manage IQ server configuration
    • Verify IQ server connection
    • Get IQ server configuration
    • Update IQ server configuration
    • Enable IQ server
    • Disable IQ server
  • Product licensing
    • Get the current license status.
    • Upload a new license file.
    • Uninstall license if present.
  • Azure blob store
    • Verify connection using supplied Azure Blob Store settings
  • 数据模型
    • Schemas
      • AnonymousAccessSettingsXO
      • ApiUserSource
      • ApiUser
      • ApiCreateUser
      • ApiPrivilege
      • ApiPrivilegeWildcardRequest
      • ApiPrivilegeApplicationRequest
      • RealmApiXO
      • RoleXOResponse
      • RoleXORequest
      • Page
      • PageTaskXO
      • TaskXO
      • BlobStoreQuotaResultXO
      • BlobStoreApiSoftQuota
      • GenericBlobStoreApiResponse
      • FileBlobStoreApiCreateRequest
      • FileBlobStoreApiUpdateRequest
      • FileBlobStoreApiModel
      • ReadOnlyState
      • ApiCertificate
      • AssetXO
      • PageAssetXO
      • ComponentXO
      • PageComponentXO
      • AbstractApiRepository
      • ContentSelectorApiResponse
      • ContentSelectorApiCreateRequest
      • ContentSelectorApiUpdateRequest
      • RepositoryXO
      • RoutingRuleXO
      • UploadDefinitionXO
      • UploadFieldDefinitionXO
      • ApiPrivilegeRepositoryContentSelectorRequest
      • ApiPrivilegeRepositoryAdminRequest
      • ApiPrivilegeRepositoryViewRequest
      • GroupAttributes
      • MavenGroupRepositoryApiRequest
      • StorageAttributes
      • SimpleApiGroupRepository
      • CleanupPolicyAttributes
      • ComponentAttributes
      • HostedStorageAttributes
      • MavenAttributes
      • MavenHostedApiRepository
      • MavenHostedRepositoryApiRequest
      • HttpClientAttributes
      • HttpClientConnectionAttributes
      • HttpClientConnectionAuthenticationAttributes
      • MavenProxyApiRepository
      • NegativeCacheAttributes
      • ProxyAttributes
      • HttpClientAttributesWithPreemptiveAuth
      • HttpClientConnectionAuthenticationAttributesWithPreemptive
      • MavenProxyRepositoryApiRequest
      • ApiPrivilegeScriptRequest
      • ScriptXO
      • ScriptResultXO
      • S3BlobStoreApiAdvancedBucketConnection
      • S3BlobStoreApiBucket
      • S3BlobStoreApiBucketConfiguration
      • S3BlobStoreApiBucketSecurity
      • S3BlobStoreApiEncryption
      • S3BlobStoreApiModel
      • AptHostedApiRepository
      • AptHostedRepositoriesAttributes
      • AptSigningRepositoriesAttributes
      • AptHostedRepositoryApiRequest
      • AptProxyApiRepository
      • AptProxyRepositoriesAttributes
      • AptProxyRepositoryApiRequest
      • RawAttributes
      • RawGroupRepositoryApiRequest
      • RawHostedRepositoryApiRequest
      • SimpleApiHostedRepository
      • RawProxyRepositoryApiRequest
      • SimpleApiProxyRepository
      • ApiEmailConfiguration
      • ApiEmailValidation
      • Result
      • StackTraceElement
      • Throwable
      • Request
      • SupportZipXO
      • ReadLdapServerXo
      • CreateLdapServerXo
      • UpdateLdapServerXo
      • IqConnectionVerificationXo
      • IqConnectionXo
      • ApiLicenseDetailsXO
      • InputStream
      • GroupDeployAttributes
      • SimpleApiGroupDeployRepository
      • NpmGroupRepositoryApiRequest
      • NpmHostedRepositoryApiRequest
      • NpmAttributes
      • NpmProxyApiRepository
      • NpmProxyRepositoryApiRequest
      • NugetGroupRepositoryApiRequest
      • NugetHostedRepositoryApiRequest
      • NugetAttributes
      • NugetProxyApiRepository
      • NugetProxyRepositoryApiRequest
      • RubyGemsGroupRepositoryApiRequest
      • RubyGemsHostedRepositoryApiRequest
      • RubyGemsProxyRepositoryApiRequest
      • DockerAttributes
      • DockerGroupApiRepository
      • DockerGroupRepositoryApiRequest
      • DockerHostedApiRepository
      • DockerHostedRepositoryApiRequest
      • DockerProxyApiRepository
      • DockerProxyAttributes
      • DockerProxyRepositoryApiRequest
      • YumGroupRepositoryApiRequest
      • YumSigningRepositoriesAttributes
      • YumAttributes
      • YumHostedApiRepository
      • YumHostedRepositoryApiRequest
      • YumProxyRepositoryApiRequest
      • AzureConnectionXO
      • AzureBlobStoreApiAuthentication
      • AzureBlobStoreApiBucketConfiguration
      • AzureBlobStoreApiModel
      • HelmHostedRepositoryApiRequest
      • HelmProxyRepositoryApiRequest
      • GitLfsHostedRepositoryApiRequest
      • PypiGroupRepositoryApiRequest
      • PypiHostedRepositoryApiRequest
      • PypiProxyRepositoryApiRequest
      • CondaProxyRepositoryApiRequest
      • ConanProxyRepositoryApiRequest
      • RGroupRepositoryApiRequest
      • RHostedRepositoryApiRequest
      • RProxyRepositoryApiRequest
      • CocoapodsProxyRepositoryApiRequest
      • GolangGroupRepositoryApiRequest
      • GolangProxyRepositoryApiRequest
      • P2ProxyRepositoryApiRequest
      • BowerGroupRepositoryApiRequest
      • BowerHostedRepositoryApiRequest
      • BowerAttributes
      • BowerProxyApiRepository
      • BowerProxyRepositoryApiRequest
  1. Repository Management

Update Docker group repository

PUT
/v1/repositories/docker/group/{repositoryName}

请求参数

Path 参数

Body 参数application/json

示例
{
    "name": "internal",
    "online": true,
    "storage": {
        "blobStoreName": "default",
        "strictContentTypeValidation": true
    },
    "group": {
        "memberNames": [
            "string"
        ],
        "writableMember": "string"
    },
    "docker": {
        "v1Enabled": false,
        "forceBasicAuth": true,
        "httpPort": 8082,
        "httpsPort": 8083
    }
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'http://{{host}}/v1/repositories/docker/group/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "internal",
    "online": true,
    "storage": {
        "blobStoreName": "default",
        "strictContentTypeValidation": true
    },
    "group": {
        "memberNames": [
            "string"
        ],
        "writableMember": "string"
    },
    "docker": {
        "v1Enabled": false,
        "forceBasicAuth": true,
        "httpPort": 8082,
        "httpsPort": 8083
    }
}'

返回响应

🟢204Repository updated
application/json
Body

示例
{}
🟠401Authentication required
🟠403Insufficient permissions
🟠404Repository not found
修改于 2022-03-02 15:53:42
上一页
Get repository
下一页
Create Docker group repository
Built with