Custom endpoints for custom badges using https://shields.io/endpoint.
Main usage is to use as your shields badge the URL https://img.shields.io/endpoint?url=https://shields.kzu.app/
followed by one of the supported endpoints below.
This service complements nicely sleet-powered feeds, but also virtually all CI systems that produce nuget feeds from build artifacts (Azure packaging example below).
The built-in shields.io support for nuget versions only works with the nuget.org repository. We provide support for arbitrary feeds as follows:
[v|vpre]/[package id][/package label]?feed=[v3 feed]
NOTE: package label is optional and can be used to filter pre-release packages
You can also abbreviate feed
as just f
.
NOTE: the
?feed=
must be the first querystring argument after theurl=https://shields.kzu.app
argument tohttps://img.shields.io/endpoint
. That way, the subsequent query string arguments after the&
will be interpreted as querystring arguments for shields.io. Alternatively, you can pass all the shields.io arguments first and leave the&url=
as the last argument (which would only include the?feed=
then), which is probably safest and easiest to remember.