Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Add update from #745 to Enterprise docs#746

Merged
gjtorikian merged 1 commit intogh-pagesfromsearch-indexing-update
Apr 3, 2015
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 9 additions & 12 deletionsenterprise/11.10.340/v3/enterprise/search_indexing/index.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -66,7 +66,7 @@ <h2 id="queue-an-indexing-job">Queue an indexing job</h2>
<pre><code>POST /api/v3/staff/indexing_jobs
</code></pre>

<h3id="parameters">Parameters</h3>
<h3id="input">Input</h3>

<table>
<thead>
Expand DownExpand Up@@ -127,25 +127,22 @@ <h3 id="parameters">Parameters</h3>
</tbody>
</table>

<h3id="example">Example</h3>

<preclass="terminal">
$ curl -u jwatson -X POST -H "Content-Type: application/json" -d '{"target": "kansaichris/japaning"}' "http://<em>hostname</em>/api/v3/staff/indexing_jobs"
</pre>

<h3id="response">Response</h3>

<preclass="headers no-response"><code>Status: 202 Accepted
<preclass="headers"><code>Status: 202 Accepted
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999</code></pre>

<pre><codeclass="language-javascript highlight"><spanclass="p">{</span>
<preclass="body-response"><codeclass="language-javascript highlight"><spanclass="p">{</span>
<spanclass="s2">"message"</span><spanclass="p">:</span><spanclass="s2">"Repository 'kansaichris/japaning' has been added to the indexing queue"</span>
<spanclass="p">}</span></code></pre>

<h3id="example">Example</h3>

<preclass="terminal">
$ curl -u jwatson -X POST "http://<em>hostname</em>/api/v3/staff/indexing_jobs?target=jwatson%2Flaughing-robot"
{
"message": "Repository \"jwatson/laughing-robot\" has been added to the indexing queue"
}
</pre>

</div>

<divid="js-sidebar"class="sidebar-shell">
Expand Down
21 changes: 9 additions & 12 deletionsenterprise/2.0/v3/enterprise/search_indexing/index.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,7 +72,7 @@ <h2 id="queue-an-indexing-job">Queue an indexing job</h2>
<pre><code>POST /staff/indexing_jobs
</code></pre>

<h3 id="parameters">Parameters</h3>
<h3 id="input">Input</h3>

<table>
<thead>
Expand DownExpand Up@@ -133,25 +133,22 @@ <h3 id="parameters">Parameters</h3>
</tbody>
</table>

<h3 id="example">Example</h3>

<pre class="terminal">
$ curl -u jwatson -X POST -H "Content-Type: application/json" -d '{"target": "kansaichris/japaning"}' "http://<em>hostname</em>/api/v3/staff/indexing_jobs"
</pre>

<h3 id="response">Response</h3>

<pre class="headers no-response"><code>Status: 202 Accepted
<pre class="headers"><code>Status: 202 Accepted
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999</code></pre>

<pre><code class="language-javascript highlight"><span class="p">{</span>
<pre class="body-response"><code class="language-javascript highlight"><span class="p">{</span>
<span class="s2">"message"</span><span class="p">:</span> <span class="s2">"Repository 'kansaichris/japaning' has been added to the indexing queue"</span>
<span class="p">}</span></code></pre>

<h3 id="example">Example</h3>

<pre class="terminal">
$ curl -u jwatson -X POST "http://<em>hostname</em>/api/v3/staff/indexing_jobs?target=jwatson%2Flaughing-robot"
{
"message": "Repository \"jwatson/laughing-robot\" has been added to the indexing queue"
}
</pre>

</div>

<div id="js-sidebar" class="sidebar-shell">
Expand Down
17 changes: 7 additions & 10 deletionsenterprise/2.1/v3/enterprise/search_indexing/index.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,7 +72,7 @@ <h2 id="queue-an-indexing-job">Queue an indexing job</h2>
<pre><code>POST /staff/indexing_jobs
</code></pre>

<h3 id="parameters">Parameters</h3>
<h3 id="input">Input</h3>

<table>
<thead>
Expand DownExpand Up@@ -133,6 +133,12 @@ <h3 id="parameters">Parameters</h3>
</tbody>
</table>

<h3 id="example">Example</h3>

<pre class="terminal">
$ curl -u jwatson -X POST -H "Content-Type: application/json" -d '{"target": "kansaichris/japaning"}' "http://<em>hostname</em>/api/v3/staff/indexing_jobs"
</pre>

<h3 id="response">Response</h3>

<pre class="headers"><code>Status: 202 Accepted
Expand All@@ -143,15 +149,6 @@ <h3 id="response">Response</h3>
<span class="s2">"message"</span><span class="p">:</span> <span class="s2">"Repository 'kansaichris/japaning' has been added to the indexing queue"</span>
<span class="p">}</span></code></pre>

<h3 id="example">Example</h3>

<pre class="terminal">
$ curl -u jwatson -X POST "http://<em>hostname</em>/api/v3/staff/indexing_jobs?target=jwatson%2Flaughing-robot"
{
"message": "Repository \"jwatson/laughing-robot\" has been added to the indexing queue"
}
</pre>

</div>

<div id="js-sidebar" class="sidebar-shell">
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp