filter
default

Find labels used in the given repositories.

post/filter/labels

Request

Request body

accountinteger required

Account ID.

repositoriesRepositoryID[]

Set of repositories. An empty list raises a bad response 400. Duplicates are automatically ignored.

Example request

{
  "account": 1,
  "repositories": [
    "github.com/athenianco/athenian-api",
    "github.com/athenianco/athenian-webapp"
  ]
}

Response

List of labels.

namestring required
descriptionstring
colorstring required

RGB 24-bit color in hex.

used_prsinteger required

Example response

[
  {
    "name": "bug",
    "color": "ff0000",
    "used_prs": 100
  },
  {
    "name": "enhancement",
    "description": "New project feature.",
    "color": "00ff00",
    "used_prs": 200
  }
]

Changes

No recorded changes to this operation across all 70 revisions of this API.