Create
Create new label spec
- Http Method
- POST
- End Point
-
/~api/label-specs
- Request Body
-
- Content Type
- application/json
- Example
-
{
"color"
:
"#0d87e9"
,
"name"
:
"string"
}
- Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
-
- Content Type
- application/json
- Example
-
1
- Operation Failed
-
- Status code
- Status code other than 200 indicating the error type
- Response Body
- Error detail of content type "text/plain"
- cURL Example
-
$ curl -u <login name>:<password or access token> -X POST [email protected] -H "Content-Type: application/json" https://git.codedune.app/~api/label-specs
Page is in error, reload to recover