def fetch_plugin_versions(base_url, plugin_key, params={}):
if not plugin_key:
return
plugin_key = quote(str(plugin_key), '')
endpoint = ('/rest/2/addons/{plugin_key}/versions'
.format(plugin_key=plugin_key))
response = do_request('get', base_url, endpoint, params)
if not response.ok:
return
return response.json()['_embedded']['versions']
atlassian_plugin_updates.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录