Your message has been delivered
You aleady login OSC, would you like login with OSC
Watch Star

开源中国 / Gitee FeedbackRuby

Started
#IAZVI 类似github的Release API

ShadowFogAdmin  Created at

我们在软件自动升级的时候用到github的release API: https://developer.github.com/v3/repos/releases/#create-a-release 可以获取我们发布的release的下载地址从而实现自动升级: https://github.com/ShadowFog/shadowfog-windows/releases/latest https://api.github.com/repos/ShadowFog/shadowfog-windows/releases/latest

希望能提供Github类似的这个release API, 先期提供browser_download_url就好了,如下:

  "assets": [
    {
      ...
      "browser_download_url": "https://github.com/ShadowFog/shadowfog-windows/releases/download/0.3.2/ShadowFog-0.3.2.zip"
    }

谢谢!

58426_oscfox 1397033_richardchien 905323_frech total 4 participants
Show action logs Hide action logs
frech removed label feature 2017-07-03 21:01
frech started 任务 2017-06-24 14:49
Yashin assigned 任务 to frech 2017-06-16 12:03
Yashin reopened 任务 2017-06-16 12:03
Yashin closed 任务 2017-06-01 14:05

Comments (8)

58426_oscfox
Yashin 2016-10-25 22:30 member

很好的建议,后期开发接口后我们会加上 :)

58426_oscfox
Yashin 2017-06-01 14:05 member

已经上线,欢迎使用 http://git.oschina.net/api/v5/swagger

1397033_richardchien
Richard Chien 2017-06-16 11:59

@罗雅新 似乎还是没有 release 附件的相关信息?

58426_oscfox
Yashin 2017-06-16 12:03 member

@Richard Chien 对,目前只是按照github的格式,附件还没有附带上去

1397033_richardchien
Richard Chien 2017-06-16 12:06

@罗雅新 好吧,期待以后更新

905323_frech
frech 2017-06-24 19:00 member

@Richard Chien 今晚更新后可用。目前只加了browser_download_url。后续会加上其他返回值。

1397033_richardchien
Richard Chien 2017-06-24 19:20

@刘健伟 感谢更新!

905323_frech
frech 2017-06-24 21:22 member

@Richard Chien 应该的:)

Sign in and comment

Assignee
Labels
Not set
Milestone
Branch
Scheduled start
Not set
Scheduled end
Not set
Top level