def fetch_plugin_license(base_url, plugin_key, auth=None):
if not plugin_key:
return None
plugin_key = quote(str(plugin_key), '')
endpoint = ('/rest/plugins/1.0/{plugin_key}/license'
.format(plugin_key=plugin_key))
response = do_request('get', base_url, endpoint, auth=auth)
if not response.ok:
return
return response.json()
atlassian_expiring_licenses.py 文件源码
python
阅读 26
收藏 0
点赞 0
评论 0
评论列表
文章目录