tag:help.appveyor.com,2012-11-13:/discussions/questions/471-infer-badge-url-from-github-user-repo-nameAppVeyor: Discussion 2018-10-19T08:16:41Ztag:help.appveyor.com,2012-11-13:Comment/341332232014-08-13T22:27:54Z2014-08-13T22:27:54ZInfer badge URL from GitHub user + repo name<div><p>That makes sense, thanks for the suggestion! We'll add an
additional route to the existing one that will be available for
public repos only.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/341332232014-09-04T04:09:00Z2014-09-04T04:10:07ZInfer badge URL from GitHub user + repo name<div><p>Here we go! New route has been added and must be in the
form:</p>
<pre>
<code>https://ci.appveyor.com/api/projects/status/{github|bitbucket}/{repository}</code>
</pre>
<p>For example: <a href=
"https://ci.appveyor.com/api/projects/status/github/AppVeyor/simple-web">
https://ci.appveyor.com/api/projects/status/github/AppVeyor/simple-web</a></p>
<blockquote>
<p><strong>The note: This route works for public repositories only,
of course!</strong></p>
</blockquote>
<p>Optional parameters:</p>
<ul>
<li><code>branch={name}</code> - the name of branch to display
status for</li>
<li><code>retina=true</code> - status image scaled for retina
display</li>
<li><code>svg=true</code> - status image in SVG format (yes, we've
just added it)</li>
</ul>
<p>Example: <a href=
"https://ci.appveyor.com/api/projects/status/github/AppVeyor/simple-web?branch=master&svg=true">
https://ci.appveyor.com/api/projects/status/github/AppVeyor/simple-...</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/341332232014-09-22T17:37:04Z2014-09-22T17:37:04ZInfer badge URL from GitHub user + repo name<div><p>Thanks! Perhaps you want to show this alternative URL for
GitHub/BitBucket repositories in Settings/Badges.</p></div>Kirill Müllertag:help.appveyor.com,2012-11-13:Comment/341332232015-02-27T17:22:53Z2015-02-27T17:22:54ZInfer badge URL from GitHub user + repo name<div><p>This is just what I needed. But why does <a href=
"https://ci.appveyor.com/api/projects/status/github/numenta/nupic.core?svg=true&branch=master">
https://ci.appveyor.com/api/projects/status/github/numenta/nupic.co...</a>
show as failed, but <a href=
"https://ci.appveyor.com/api/projects/status/q9bc043vrhgd88sw?svg=true">
https://ci.appveyor.com/api/projects/status/q9bc043vrhgd88sw?svg=true</a>
shows the last build as passing?</p></div>Matthew Taylortag:help.appveyor.com,2012-11-13:Comment/341332232015-02-27T17:26:58Z2015-02-27T17:26:58ZInfer badge URL from GitHub user + repo name<div><p>Because there are three projects in AppVeyor database with
<code>numenta/nupic.core</code> GitHub repository name - all under
different accounts. There should be only one to make this URL
work.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/341332232015-02-27T17:47:44Z2015-02-27T17:47:44ZInfer badge URL from GitHub user + repo name<div><p>So how do I get rid of those other projects? They were previous
attempts<br>
from our open source community at Windows builds. The "numenta-ci"
account<br>
is our primary now. Do I need to contact them directly?</p>
<hr>
<p>Matt Taylor<br>
OS Community Flag-Bearer<br>
Numenta</p></div>Matthew Taylortag:help.appveyor.com,2012-11-13:Comment/341332232015-02-27T18:05:00Z2015-02-27T18:05:00ZInfer badge URL from GitHub user + repo name<div><p>Yes, you can contact them and kindly ask to remove those
projects from their accounts.</p>
<p>Currently, there are three public projects targeting
<code>numenta/nupic.core</code> repo:<br>
<a href=
"https://ci.appveyor.com/project/david-ragazzi/nupic-core-ahybq">https://ci.appveyor.com/project/david-ragazzi/nupic-core-ahybq</a><br>
<a href=
"https://ci.appveyor.com/project/rhyolight/nupic-core">https://ci.appveyor.com/project/rhyolight/nupic-core</a><br>
<a href=
"https://ci.appveyor.com/project/numenta-ci/nupic-core">https://ci.appveyor.com/project/numenta-ci/nupic-core</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/341332232015-02-27T18:31:32Z2015-02-27T18:31:32ZInfer badge URL from GitHub user + repo name<div><p>Thanks for your help!</p>
<hr>
<p>Matt Taylor<br>
OS Community Flag-Bearer<br>
Numenta</p></div>Matthew Taylortag:help.appveyor.com,2012-11-13:Comment/341332232017-01-12T17:27:45Z2017-01-12T17:27:46ZInfer badge URL from GitHub user + repo name<div><p>To follow up on this: is it possible to get a link to the
default build page by the following manner? e.g. something like
<a href="https://ci.appveyor.com/project/github/ORG/REPO">https://ci.appveyor.com/project/github/ORG/REPO</a></p></div>Simon Byrnetag:help.appveyor.com,2012-11-13:Comment/341332232017-01-12T17:57:37Z2017-01-12T17:57:37ZInfer badge URL from GitHub user + repo name<div><p>Hi Simon,</p>
<p>Do you mean default AppVeyor page and not badge? If yes, we do
not provide this URL route, because we don't know what to do when
more than one AppVeyor project uses single repository. This is very
common.</p>
<p>--ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/341332232017-01-12T18:09:55Z2017-01-12T18:09:55ZInfer badge URL from GitHub user + repo name<div><hr>
<p>Matt Taylor<br>
OS Community Flag-Bearer<br>
Numenta</p></div>Matthew Taylor