- Security Management: Anonymous Access
- Security management
- Security management: users
- 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
- Security management: roles
- Tasks
- 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
- Read-only
- Security: certificates
- Assets
- Components
- 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 formatDELETE
- List repositoriesGET
- List repositoriesGET
- Create Maven group repositoryPOST
- Get repositoryGET
- Update Maven group repositoryPUT
- Get repositoryGET
- Update Maven hosted repositoryPUT
- Create Maven hosted repositoryPOST
- Get repositoryGET
- Update Maven proxy repositoryPUT
- Create Maven proxy repositoryPOST
- Get repositoryGET
- Update APT hosted repositoryPUT
- Create APT hosted repositoryPOST
- Get repositoryGET
- Update APT proxy repositoryPUT
- Create APT proxy repositoryPOST
- Create raw group repositoryPOST
- Get repositoryGET
- Update raw group repositoryPUT
- Create raw hosted repositoryPOST
- Get repositoryGET
- Update raw hosted repositoryPUT
- Create raw proxy repositoryPOST
- Get repositoryGET
- Update raw proxy repositoryPUT
- Enable repository health check. Proxy repositories only.POST
- Disable repository health check. Proxy repositories only.DELETE
- Get repositoryGET
- Update npm group repositoryPUT
- Create npm group repositoryPOST
- Create npm hosted repositoryPOST
- Get repositoryGET
- Update npm hosted repositoryPUT
- Get repositoryGET
- Update npm proxy repositoryPUT
- Create npm proxy repositoryPOST
- Create NuGet group repositoryPOST
- Get repositoryGET
- Update NuGet group repositoryPUT
- Create NuGet hosted repositoryPOST
- Get repositoryGET
- Update NuGet hosted repositoryPUT
- Get repositoryGET
- Update NuGet proxy repositoryPUT
- Create NuGet proxy repositoryPOST
- Create RubyGems group repositoryPOST
- Get repositoryGET
- Update RubyGems group repositoryPUT
- Create RubyGems hosted repositoryPOST
- Get repositoryGET
- Update RubyGems hosted repositoryPUT
- Create RubyGems proxy repositoryPOST
- Get repositoryGET
- Update RubyGems proxy repositoryPUT
- Get repositoryGET
- Update Docker group repositoryPUT
- Create Docker group repositoryPOST
- Get repositoryGET
- Update Docker hosted repositoryPUT
- Create Docker hosted repositoryPOST
- Get repositoryGET
- Update Docker group repositoryPUT
- Create Docker proxy repositoryPOST
- Create Yum group repositoryPOST
- Get repositoryGET
- Update Yum group repositoryPUT
- Get repositoryGET
- Update Yum hosted repositoryPUT
- Create Yum hosted repositoryPOST
- Create Yum proxy repositoryPOST
- Get repositoryGET
- Update Yum proxy repositoryPUT
- Create Helm hosted repositoryPOST
- Get repositoryGET
- Update Helm hosted repositoryPUT
- Create Helm proxy repositoryPOST
- Get repositoryGET
- Update Helm proxy repositoryPUT
- Create Git LFS hosted repositoryPOST
- Get repositoryGET
- Update Git LFS hosted repositoryPUT
- Create PyPI group repositoryPOST
- Get repositoryGET
- Update PyPI group repositoryPUT
- Create PyPI hosted repositoryPOST
- Get repositoryGET
- Update PyPI hosted repositoryPUT
- Create PyPI proxy repositoryPOST
- Get repositoryGET
- Update PyPI proxy repositoryPUT
- Create conda proxy repositoryPOST
- Get repositoryGET
- Update conda proxy repositoryPUT
- Create Conan proxy repositoryPOST
- Get repositoryGET
- Update Conan proxy repositoryPUT
- Create R group repositoryPOST
- Get repositoryGET
- Update R group repositoryPUT
- Create R hosted repositoryPOST
- Get repositoryGET
- Update R hosted repositoryPUT
- Create R proxy repositoryPOST
- Get repositoryGET
- Update R proxy repositoryPUT
- Create Cocoapods proxy repositoryPOST
- Get repositoryGET
- Update Cocoapods proxy repositoryPUT
- Create a Go group repositoryPOST
- Get repositoryGET
- Update a Go group repositoryPUT
- Create a Go proxy repositoryPOST
- Get repositoryGET
- Update a Go proxy repositoryPUT
- Create p2 proxy repositoryPOST
- Get repositoryGET
- Update p2 proxy repositoryPUT
- Create Bower group repositoryPOST
- Get repositoryGET
- Update Bower group repositoryPUT
- Create Bower hosted repositoryPOST
- Get repositoryGET
- Update Bower hosted repositoryPUT
- Get repositoryGET
- Update Bower proxy repositoryPUT
- Create Bower proxy repositoryPOST
- Content selectors
- Routing rules
- Search
- Formats
- Script
- Email
- Status
- Support
- Security management: LDAP
- Manage IQ server configuration
- Product licensing
- Azure blob store
Get repository
GET
/v1/repositories/nuget/hosted/{repositoryName}
Repository Management
请求参数
Path 参数
repositoryName
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://{{host}}/v1/repositories/nuget/hosted/'
返回响应
🟢200successful operation
application/json
Body
name
string
可选
示例值:
internal
正则匹配:
^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
online
boolean
必需
示例值:
true
storage
object (HostedStorageAttributes)
必需
blobStoreName
string
可选
示例值:
default
strictContentTypeValidation
boolean
必需
示例值:
true
writePolicy
enum<string>
必需
枚举值:
allowallow_oncedeny
示例值:
allow_once
cleanup
object (CleanupPolicyAttributes)
可选
policyNames
array[string]
可选
component
object (ComponentAttributes)
可选
proprietaryComponents
boolean
可选
示例
{
"name": "internal",
"online": true,
"storage": {
"blobStoreName": "default",
"strictContentTypeValidation": true,
"writePolicy": "allow_once"
},
"cleanup": {
"policyNames": [
"string"
]
},
"component": {
"proprietaryComponents": true
}
}
修改于 2022-03-02 15:53:41