/api/badge/latest/{repository}/{gav}
Parameter | Example value | Description |
---|---|---|
name | Reposilite | The name on the badge |
color | 40c14a | HEX color code of badge |
prefix | v | Text included before the version matched by Reposilite |
filter | 1.0- | Reposilite will resolve only versions that match given filter. To learn more about filters, take a look at section. |
/api/badge/latest/releases/com/reposilite?color=40c14a&name=Reposilite&prefix=v&filter=3
filter
query parameter.
Filters are used to match only specific versions of artifacts, for example, you may want to match only versions that start with 1.0
or 1.1
. Here's the list of supported filters:Filter | Pattern | Example | Description |
---|---|---|---|
Default | {value} | 1.0- | Matches all versions that start with 1.0- |
Contains | has:{value}) | has:SNAPSHOT | Matches all versions that contain SNAPSHOT value |
Not contains | none:{value} | none:SNAPSHOT | Matches all versions that do not contain SNAPSHOT value |
Did you find misleading or deprecated content? Maybe you just feel this section misses important elements?
Copyright © 2023 dzikoysk with ❤ panda-lang