warp CS API documentation

/v1/git/getrepobadge

Generates a repository badge based on metadata from a repository hosted at git.warpcs.org.

URL Parameters

Name Type Description Required Default value
author / owner string The git repository owner. yes -
repository string The git repository name. yes -
metric string The metric to generate a badge with (currently supported: "size" and "release"). yes -
color string The hex color string of the right side of the badge. no 999
name string The string on the left side of the badge. no value of metric
width number The size in pixels of the left side of the badge. no 90
valwidth number The size in pixels of the right side of the badge. no 50

Response Body

The generated badge SVG.