|
|
@ -363,6 +363,12 @@
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<a href="#8469c9a565" class="toc-h2 toc-link" data-title="获取平台消息设置配置信息">获取平台消息设置配置信息</a>
|
|
|
|
<a href="#8469c9a565" class="toc-h2 toc-link" data-title="获取平台消息设置配置信息">获取平台消息设置配置信息</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<a href="#e731847818" class="toc-h2 toc-link" data-title="获取用户消息设置配置信息">获取用户消息设置配置信息</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<a href="#47e7414364" class="toc-h2 toc-link" data-title="重新设置用户消息设置配置信息">重新设置用户消息设置配置信息</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<a href="#16a4666845" class="toc-h2 toc-link" data-title="获取用户星标项目">获取用户星标项目</a>
|
|
|
|
<a href="#16a4666845" class="toc-h2 toc-link" data-title="获取用户星标项目">获取用户星标项目</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
@ -1634,6 +1640,31 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</span><span class="nl">"status"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"status"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"message"</span><span class="p">:</span><span class="w"> </span><span class="s2">"响应成功"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"message"</span><span class="p">:</span><span class="w"> </span><span class="s2">"响应成功"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"setting_types"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
|
|
|
|
</span><span class="nl">"setting_types"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"TemplateMessageSetting::Normal"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"type_name"</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"total_settings_count"</span><span class="p">:</span><span class="w"> </span><span class="mi">3</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"settings"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"被拉入或移出组织"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Organization"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"被拉入或移出项目"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Project"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"有权限变更"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Permission"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">}</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">]</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"TemplateMessageSetting::CreateOrAssign"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"TemplateMessageSetting::CreateOrAssign"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"type_name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"我创建的或负责的"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"type_name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"我创建的或负责的"</span><span class="p">,</span><span class="w">
|
|
|
@ -1642,28 +1673,24 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"易修状态变更"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"易修状态变更"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"IssueChanged"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"IssueChanged"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"openning"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"易修被指派"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"易修被指派"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"IssueAssigned"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"IssueAssigned"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"openning"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"合并请求被指派"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"合并请求被指派"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"PullRequestAssigned"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"PullRequestAssigned"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"openning"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"合并请求状态变更"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"合并请求状态变更"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"PullRequestAssigned"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"PullRequestAssigned"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"openning"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="p">}</span><span class="w">
|
|
|
|
</span><span class="p">}</span><span class="w">
|
|
|
@ -1676,57 +1703,25 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</span><span class="nl">"settings"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
|
|
|
|
</span><span class="nl">"settings"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"有新的易修"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"有新的易修"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ProjectIssue"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Issue"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"openning"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"有新的合并请求"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"有新的合并请求"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ProjectPullRequest"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"PullRequest"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"openning"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"有成员变动"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"有成员变动"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ProjectMember"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Member"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"openning"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"设置更改"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"设置更改"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ProjectSettingChanged"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"SettingChanged"</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"openning"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">}</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">]</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"TemplateMessageSetting::Normal"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"type_name"</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"total_settings_count"</span><span class="p">:</span><span class="w"> </span><span class="mi">3</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"settings"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"被拉入或移出组织"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Organization"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"openning"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"被拉入或移出项目"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Project"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"openning"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"有权限变更"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"key"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Permission"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"openning"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"notification_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="nl">"email_disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
</span><span class="p">}</span><span class="w">
|
|
|
|
</span><span class="p">}</span><span class="w">
|
|
|
@ -1738,6 +1733,207 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
<aside class="success">
|
|
|
|
<aside class="success">
|
|
|
|
Success Data.
|
|
|
|
Success Data.
|
|
|
|
</aside>
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
<h2 id='e731847818'>获取用户消息设置配置信息</h2>
|
|
|
|
|
|
|
|
<p>获取用户消息设置配置信息</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<blockquote>
|
|
|
|
|
|
|
|
<p>示例:</p>
|
|
|
|
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/template_message_settings.json
|
|
|
|
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/uses/yystopf/template_message_settings.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
|
|
|
|
</code></pre></div><h3 id='http-8'>HTTP 请求</h3>
|
|
|
|
|
|
|
|
<p><code>GET /api/users/:user_id/template_message_settings.json</code></p>
|
|
|
|
|
|
|
|
<h3 id='7447e4874e-4'>返回字段说明:</h3>
|
|
|
|
|
|
|
|
<table><thead>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>参数</th>
|
|
|
|
|
|
|
|
<th>类型</th>
|
|
|
|
|
|
|
|
<th>字段说明</th>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</thead><tbody>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>notification_body</td>
|
|
|
|
|
|
|
|
<td>string</td>
|
|
|
|
|
|
|
|
<td>站内信配置</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>email_body</td>
|
|
|
|
|
|
|
|
<td>string</td>
|
|
|
|
|
|
|
|
<td>邮件配置</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody></table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<blockquote>
|
|
|
|
|
|
|
|
<p>返回的JSON示例:</p>
|
|
|
|
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
<div class="highlight"><pre class="highlight json tab-json"><code><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"status"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"message"</span><span class="p">:</span><span class="w"> </span><span class="s2">"响应成功"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"user"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"id"</span><span class="p">:</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"User"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"heh"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"login"</span><span class="p">:</span><span class="w"> </span><span class="s2">"yystopf"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"image_url"</span><span class="p">:</span><span class="w"> </span><span class="s2">"system/lets/letter_avatars/2/H/188_239_142/120.png"</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_body"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::IssueChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::IssueAssigned"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::PullRequestAssigned"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::PullRequestChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::Issue"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::PullRequest"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::Member"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::SettingChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Organization"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Project"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Permission"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"email_body"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::IssueChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::IssueAssigned"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::PullRequestAssigned"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::PullRequestChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::Issue"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::PullRequest"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::Member"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::SettingChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Organization"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Project"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Permission"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">}</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">}</span><span class="w">
|
|
|
|
|
|
|
|
</span></code></pre></div>
|
|
|
|
|
|
|
|
<aside class="success">
|
|
|
|
|
|
|
|
Success Data.
|
|
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
<h2 id='47e7414364'>重新设置用户消息设置配置信息</h2>
|
|
|
|
|
|
|
|
<p>重新设置用户消息设置配置信息</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<blockquote>
|
|
|
|
|
|
|
|
<p>示例:</p>
|
|
|
|
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> POST http://localhost:3000/api/users/yystopf/template_message_settings/update_setting.json
|
|
|
|
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">POST /api/uses/yystopf/template_message_settings/update_setting.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
|
|
|
|
</code></pre></div><h3 id='http-9'>HTTP 请求</h3>
|
|
|
|
|
|
|
|
<p><code>POST /api/users/:user_id/template_message_settings/update_setting.json</code></p>
|
|
|
|
|
|
|
|
<h3 id='aa883f5d52-6'>请求字段说明:</h3>
|
|
|
|
|
|
|
|
<table><thead>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>参数</th>
|
|
|
|
|
|
|
|
<th>类型</th>
|
|
|
|
|
|
|
|
<th>字段说明</th>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</thead><tbody>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>notification_body</td>
|
|
|
|
|
|
|
|
<td>string</td>
|
|
|
|
|
|
|
|
<td>站内信配置</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>email_body</td>
|
|
|
|
|
|
|
|
<td>string</td>
|
|
|
|
|
|
|
|
<td>邮件配置</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody></table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<blockquote>
|
|
|
|
|
|
|
|
<p>请求的JSON示例:</p>
|
|
|
|
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
<div class="highlight"><pre class="highlight json tab-json"><code><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"setting"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_body"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::IssueChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::IssueAssigned"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::PullRequestAssigned"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::PullRequestChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::Issue"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::PullRequest"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::Member"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::SettingChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Organization"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Project"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Permission"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"email_body"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::IssueChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::IssueAssigned"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::PullRequestAssigned"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::PullRequestChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::Issue"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::PullRequest"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::Member"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::SettingChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Organization"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Project"</span><span class="p">:</span><span class="w"> </span><span class="s2">"t"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Permission"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">}</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">}</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">}</span><span class="w">
|
|
|
|
|
|
|
|
</span></code></pre></div><h3 id='7447e4874e-5'>返回字段说明:</h3>
|
|
|
|
|
|
|
|
<table><thead>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>参数</th>
|
|
|
|
|
|
|
|
<th>类型</th>
|
|
|
|
|
|
|
|
<th>字段说明</th>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</thead><tbody>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>notification_body</td>
|
|
|
|
|
|
|
|
<td>string</td>
|
|
|
|
|
|
|
|
<td>站内信配置</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>email_body</td>
|
|
|
|
|
|
|
|
<td>string</td>
|
|
|
|
|
|
|
|
<td>邮件配置</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody></table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<blockquote>
|
|
|
|
|
|
|
|
<p>返回的JSON示例:</p>
|
|
|
|
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
<div class="highlight"><pre class="highlight json tab-json"><code><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"status"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"message"</span><span class="p">:</span><span class="w"> </span><span class="s2">"响应成功"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"user"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"id"</span><span class="p">:</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"User"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"heh"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"login"</span><span class="p">:</span><span class="w"> </span><span class="s2">"yystopf"</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"image_url"</span><span class="p">:</span><span class="w"> </span><span class="s2">"system/lets/letter_avatars/2/H/188_239_142/120.png"</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"notification_body"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::IssueChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::IssueAssigned"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::PullRequestAssigned"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::PullRequestChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::Issue"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::PullRequest"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::Member"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::SettingChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Organization"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Project"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Permission"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">},</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"email_body"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::IssueChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::IssueAssigned"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::PullRequestAssigned"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"CreateOrAssign::PullRequestChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::Issue"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::PullRequest"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::Member"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"ManageProject::SettingChanged"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Organization"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Project"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="nl">"Normal::Permission"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">}</span><span class="w">
|
|
|
|
|
|
|
|
</span><span class="p">}</span><span class="w">
|
|
|
|
|
|
|
|
</span></code></pre></div>
|
|
|
|
|
|
|
|
<aside class="success">
|
|
|
|
|
|
|
|
Success Data.
|
|
|
|
|
|
|
|
</aside>
|
|
|
|
<h2 id='16a4666845'>获取用户星标项目</h2>
|
|
|
|
<h2 id='16a4666845'>获取用户星标项目</h2>
|
|
|
|
<p>获取用户星标项目</p>
|
|
|
|
<p>获取用户星标项目</p>
|
|
|
|
|
|
|
|
|
|
|
@ -1746,9 +1942,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/is_pinned_projects.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/is_pinned_projects.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/is_pinned_projects.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/is_pinned_projects.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-8'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-10'>HTTP 请求</h3>
|
|
|
|
<p><code>GET api/users/:login/is_pinned_projects.json</code></p>
|
|
|
|
<p><code>GET api/users/:login/is_pinned_projects.json</code></p>
|
|
|
|
<h3 id='7447e4874e-4'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-6'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -1933,9 +2129,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> POST http://localhost:3000/api/users/yystopf/is_pinned_projects/pin.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> POST http://localhost:3000/api/users/yystopf/is_pinned_projects/pin.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/is_pinned_projects/pin.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/is_pinned_projects/pin.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-9'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-11'>HTTP 请求</h3>
|
|
|
|
<p><code>POST /api/users/:login/is_pinned_projects/pin.json</code></p>
|
|
|
|
<p><code>POST /api/users/:login/is_pinned_projects/pin.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-6'>请求字段说明:</h3><h4 id='0ca7f0efb8'>同时设定多个星标项目</h4>
|
|
|
|
<h3 id='aa883f5d52-7'>请求字段说明:</h3><h4 id='0ca7f0efb8'>同时设定多个星标项目</h4>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -1979,9 +2175,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> PATCH http://localhost:3000/api/users/yystopf/is_pinned_projects/11.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> PATCH http://localhost:3000/api/users/yystopf/is_pinned_projects/11.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">PATCH/PUT /api/users/:login/is_pinned_projects/:id.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">PATCH/PUT /api/users/:login/is_pinned_projects/:id.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-10'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-12'>HTTP 请求</h3>
|
|
|
|
<p><code>PATCH/PUT /api/users/:login/is_pinned_projects/:id.json</code></p>
|
|
|
|
<p><code>PATCH/PUT /api/users/:login/is_pinned_projects/:id.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-7'>请求字段说明:</h3>
|
|
|
|
<h3 id='aa883f5d52-8'>请求字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -2020,9 +2216,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/statistics/activity.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/statistics/activity.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/statistics/activity.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/statistics/activity.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-11'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-13'>HTTP 请求</h3>
|
|
|
|
<p><code>GET /api/users/:login/statistics/activity.json</code></p>
|
|
|
|
<p><code>GET /api/users/:login/statistics/activity.json</code></p>
|
|
|
|
<h3 id='7447e4874e-5'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-7'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -2109,9 +2305,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/headmaps.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/headmaps.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/headmaps.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/headmaps.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-12'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-14'>HTTP 请求</h3>
|
|
|
|
<p><code>GET api/users/:login/headmaps.json</code></p>
|
|
|
|
<p><code>GET api/users/:login/headmaps.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-8'>请求字段说明:</h3>
|
|
|
|
<h3 id='aa883f5d52-9'>请求字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -2125,7 +2321,7 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
<td>年份</td>
|
|
|
|
<td>年份</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</tbody></table>
|
|
|
|
<h3 id='7447e4874e-6'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-8'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -2254,9 +2450,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/project_trends.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/project_trends.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/project_trends.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/project_trends.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-13'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-15'>HTTP 请求</h3>
|
|
|
|
<p><code>GET api/users/:login/project_trends.json</code></p>
|
|
|
|
<p><code>GET api/users/:login/project_trends.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-9'>请求字段说明:</h3>
|
|
|
|
<h3 id='aa883f5d52-10'>请求字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -2270,7 +2466,7 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
<td>日期,格式: 2021-05-28</td>
|
|
|
|
<td>日期,格式: 2021-05-28</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</tbody></table>
|
|
|
|
<h3 id='7447e4874e-7'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-9'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -2571,9 +2767,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/statistics/develop.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/statistics/develop.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/statistics/develop.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/statistics/develop.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-14'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-16'>HTTP 请求</h3>
|
|
|
|
<p><code>GET /api/users/:login/statistics/develop.json</code></p>
|
|
|
|
<p><code>GET /api/users/:login/statistics/develop.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-10'>请求字段说明:</h3>
|
|
|
|
<h3 id='aa883f5d52-11'>请求字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -2592,7 +2788,7 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
<td>时间戳,结束时间,格式:1622131200</td>
|
|
|
|
<td>时间戳,结束时间,格式:1622131200</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</tbody></table>
|
|
|
|
<h3 id='7447e4874e-8'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-10'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -2714,9 +2910,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/statistics/role.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/statistics/role.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/statistics/role.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/statistics/role.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-15'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-17'>HTTP 请求</h3>
|
|
|
|
<p><code>GET /api/users/:login/statistics/role.json</code></p>
|
|
|
|
<p><code>GET /api/users/:login/statistics/role.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-11'>请求字段说明:</h3>
|
|
|
|
<h3 id='aa883f5d52-12'>请求字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -2735,7 +2931,7 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
<td>时间戳,结束时间,格式:1622131200</td>
|
|
|
|
<td>时间戳,结束时间,格式:1622131200</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</tbody></table>
|
|
|
|
<h3 id='7447e4874e-9'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-11'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -2796,9 +2992,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/statistics/major.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/statistics/major.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/statistics/major.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/statistics/major.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-16'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-18'>HTTP 请求</h3>
|
|
|
|
<p><code>GET /api/users/:login/statistics/major.json</code></p>
|
|
|
|
<p><code>GET /api/users/:login/statistics/major.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-12'>请求字段说明:</h3>
|
|
|
|
<h3 id='aa883f5d52-13'>请求字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -2817,7 +3013,7 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
<td>时间戳,结束时间,格式:1622131200</td>
|
|
|
|
<td>时间戳,结束时间,格式:1622131200</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</tbody></table>
|
|
|
|
<h3 id='7447e4874e-10'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-12'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -2857,9 +3053,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/applied_messages.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/applied_messages.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_messages.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_messages.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-17'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-19'>HTTP 请求</h3>
|
|
|
|
<p><code>GET /api/users/:login/applied_messages.json</code></p>
|
|
|
|
<p><code>GET /api/users/:login/applied_messages.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-13'>请求字段说明:</h3>
|
|
|
|
<h3 id='aa883f5d52-14'>请求字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -2873,7 +3069,7 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
<td>用户标识</td>
|
|
|
|
<td>用户标识</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</tbody></table>
|
|
|
|
<h3 id='7447e4874e-11'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-13'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -3136,9 +3332,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/applied_transfer_projects.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/applied_transfer_projects.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_transfer_projects.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_transfer_projects.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-18'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-20'>HTTP 请求</h3>
|
|
|
|
<p><code>GET /api/users/:login/applied_transfer_projects.json</code></p>
|
|
|
|
<p><code>GET /api/users/:login/applied_transfer_projects.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-14'>请求字段说明:</h3>
|
|
|
|
<h3 id='aa883f5d52-15'>请求字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -3152,7 +3348,7 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
<td>用户标识</td>
|
|
|
|
<td>用户标识</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</tbody></table>
|
|
|
|
<h3 id='7447e4874e-12'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-14'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -3328,9 +3524,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> POST http://localhost:3000/api/users/yystopf/applied_transfer_projects/2/accept.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> POST http://localhost:3000/api/users/yystopf/applied_transfer_projects/2/accept.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_transfer_projects/:id/accept.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_transfer_projects/:id/accept.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-19'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-21'>HTTP 请求</h3>
|
|
|
|
<p><code>GET /api/users/:login/applied_transfer_projects/:id/accept.json</code></p>
|
|
|
|
<p><code>GET /api/users/:login/applied_transfer_projects/:id/accept.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-15'>请求字段说明:</h3>
|
|
|
|
<h3 id='aa883f5d52-16'>请求字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -3349,7 +3545,7 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
<td>迁移id</td>
|
|
|
|
<td>迁移id</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</tbody></table>
|
|
|
|
<h3 id='7447e4874e-13'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-15'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -3519,9 +3715,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> POST http://localhost:3000/api/users/yystopf/applied_transfer_projects/2/refuse.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> POST http://localhost:3000/api/users/yystopf/applied_transfer_projects/2/refuse.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_transfer_projects/:id/refuse.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_transfer_projects/:id/refuse.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-20'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-22'>HTTP 请求</h3>
|
|
|
|
<p><code>GET /api/users/:login/applied_transfer_projects/:id/refuse.json</code></p>
|
|
|
|
<p><code>GET /api/users/:login/applied_transfer_projects/:id/refuse.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-16'>请求字段说明:</h3>
|
|
|
|
<h3 id='aa883f5d52-17'>请求字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -3540,7 +3736,7 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
<td>迁移id</td>
|
|
|
|
<td>迁移id</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</tbody></table>
|
|
|
|
<h3 id='7447e4874e-14'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-16'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -3710,9 +3906,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/applied_projects.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> GET http://localhost:3000/api/users/yystopf/applied_projects.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_projects.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_projects.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-21'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-23'>HTTP 请求</h3>
|
|
|
|
<p><code>GET /api/users/:login/applied_projects.json</code></p>
|
|
|
|
<p><code>GET /api/users/:login/applied_projects.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-17'>请求字段说明:</h3>
|
|
|
|
<h3 id='aa883f5d52-18'>请求字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -3726,7 +3922,7 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
<td>用户标识</td>
|
|
|
|
<td>用户标识</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</tbody></table>
|
|
|
|
<h3 id='7447e4874e-15'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-17'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -3870,9 +4066,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> POST http://localhost:3000/api/users/yystopf/applied_projects/2/accept.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> POST http://localhost:3000/api/users/yystopf/applied_projects/2/accept.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_projects/:id/accept.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_projects/:id/accept.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-22'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-24'>HTTP 请求</h3>
|
|
|
|
<p><code>GET /api/users/:login/applied_projects/:id/accept.json</code></p>
|
|
|
|
<p><code>GET /api/users/:login/applied_projects/:id/accept.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-18'>请求字段说明:</h3>
|
|
|
|
<h3 id='aa883f5d52-19'>请求字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -3891,7 +4087,7 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
<td>申请id</td>
|
|
|
|
<td>申请id</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</tbody></table>
|
|
|
|
<h3 id='7447e4874e-16'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-18'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -4029,9 +4225,9 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> POST http://localhost:3000/api/users/yystopf/applied_projects/2/refuse.json
|
|
|
|
<div class="highlight"><pre class="highlight shell tab-shell"><code>curl <span class="nt">-X</span> POST http://localhost:3000/api/users/yystopf/applied_projects/2/refuse.json
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_projects/:id/refuse.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><div class="highlight"><pre class="highlight javascript tab-javascript"><code><span class="k">await</span> <span class="nx">octokit</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="dl">'</span><span class="s1">GET /api/users/:login/applied_projects/:id/refuse.json</span><span class="dl">'</span><span class="p">)</span>
|
|
|
|
</code></pre></div><h3 id='http-23'>HTTP 请求</h3>
|
|
|
|
</code></pre></div><h3 id='http-25'>HTTP 请求</h3>
|
|
|
|
<p><code>GET /api/users/:login/applied_projects/:id/refuse.json</code></p>
|
|
|
|
<p><code>GET /api/users/:login/applied_projects/:id/refuse.json</code></p>
|
|
|
|
<h3 id='aa883f5d52-19'>请求字段说明:</h3>
|
|
|
|
<h3 id='aa883f5d52-20'>请求字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
@ -4050,7 +4246,7 @@ Success — a happy kitten is an authenticated kitten!
|
|
|
|
<td>申请id</td>
|
|
|
|
<td>申请id</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
|
|
</tbody></table>
|
|
|
|
<h3 id='7447e4874e-17'>返回字段说明:</h3>
|
|
|
|
<h3 id='7447e4874e-19'>返回字段说明:</h3>
|
|
|
|
<table><thead>
|
|
|
|
<table><thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>参数</th>
|
|
|
|
<th>参数</th>
|
|
|
|