2022-07-02 13:43:31 +08:00
|
|
|
flag: goproxy
|
|
|
|
description: "包下载信息统计服务"
|
|
|
|
domain: https://goproxy.cn/
|
|
|
|
code_field: '-'
|
|
|
|
message_field: '-'
|
|
|
|
data_field: '-'
|
|
|
|
success_code_list: []
|
|
|
|
success_http_code_list:
|
|
|
|
- 200
|
|
|
|
api_table:
|
|
|
|
package_info:
|
|
|
|
description: "获取包的下载信息"
|
|
|
|
flag: package_info
|
|
|
|
uri: /stats/{{package_name}}
|
|
|
|
method: GET
|
|
|
|
bind_uri_param_list:
|
|
|
|
- package_name
|
|
|
|
timeout:
|
|
|
|
read: 50000
|
|
|
|
connect: 50000
|
|
|
|
retry:
|
|
|
|
connect_timeout: false
|
|
|
|
read_timeout: false
|
|
|
|
business_code_fail: false
|
|
|
|
httpcodefail: false
|
|
|
|
count: 0
|
|
|
|
frequency: 0
|
2022-07-02 13:51:47 +08:00
|
|
|
package_version_info:
|
|
|
|
description: "获取包指定版本的下载信息"
|
|
|
|
flag: package_version_info
|
|
|
|
uri: /stats/{{package_name}}@{{package_version}}
|
|
|
|
method: GET
|
|
|
|
bind_uri_param_list:
|
|
|
|
- package_name
|
|
|
|
- package_version
|
|
|
|
timeout:
|
|
|
|
read: 50000
|
|
|
|
connect: 50000
|
|
|
|
retry:
|
|
|
|
connect_timeout: false
|
|
|
|
read_timeout: false
|
|
|
|
business_code_fail: false
|
|
|
|
httpcodefail: false
|
|
|
|
count: 0
|
|
|
|
frequency: 0
|
2022-07-02 13:43:31 +08:00
|
|
|
api_retry:
|
|
|
|
connect_timeout: false
|
|
|
|
read_timeout: false
|
|
|
|
business_code_fail: false
|
|
|
|
httpcodefail: false
|
|
|
|
count: 0
|
|
|
|
frequency: 0
|