Open joelverhagen opened 7 years ago
Note: China users can access the catalog if they use the global CDN directly: https://az636225.vo.msecnd.net/v3-catalog0/index.json
EDIT: this is incorrect, please ignore--this is our integration environment (int.nugettest.org) and not our production environment!
Note: China users can access the catalog if they use the global CDN directly: https://az636225.vo.msecnd.net/v3-catalog0/index.json
This is INT catalog. PROD catalog has api.nuget.org
baked in.
I found the content in https://api.nuget.org/v3/catalog0/index.json is 3 times larger than the content in https://az636225.vo.msecnd.net/v3-catalog0/index.json.
@RuanXinyu, yes, the second URL you provide is our INT (staging) environment used for testing our new code before going to production.
The catalog at https://api.nuget.org/v3/catalog0/index.json is the officially supported, production catalog index URL.
There are many more packages on our production environment than on INT.
Today, the catalog HTTP API is available globally under the following URL: https://api.nuget.org/v3/catalog0/index.json
This URL can be looked up in the global V3 service index using the
Catalog/3.0.0
@type
value: https://api.nuget.org/v3/index.jsonUnfortunately, this is not available in China. The following response is returned when hitting the catalog index:
We should make this resource available in China, now that is it documented publicly.
This URL works just fine anywhere else in the world. Note some hacky workarounds exist, but it's not an ideal scenario.
Also, if you are in China and need access to the catalog, please upvote this issue.