Github API - Test Config

POST /repos/{owner}/{repo}/labels
repos
issues

Create a label

Arguments
key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

Returns
201 application/json label

label [object]

Color-coded labels help you categorize and filter your issues (just like labels in Gmail).

Attributes
color string

6-character hex code, without the leading #, identifying the color

default boolean

description string

id integer

name string

The name of the label.

node_id string

url string

URL for the label

API:
Github Open API
(version: 1.1.4)
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)