Issue Kind

Get

Get a single Issue Kind.

GET /api/1/issuekind/$issue_kind_id

Name Type Required Description
issue_kind_id int Yes ID of the Issue Kind.

Example of response:

{
    "id": 1,
    "description": "Kernel bug",
    "tag": "Kernel Bug"
}

List

Get a list of Issue Kinds.

GET /api/1/issuekind

Example of response:

{
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 1,
            "description": "Kernel bug",
            "tag": "Kernel Bug"
        }
    ]
}

Create

Create a new Issue Kind. (Auth Required)

POST /api/1/issuekind

Request body should contain JSON with issue kind data:

{
    "description": "Kernel bug",
    "tag": "Kernel Bug"
}
Field Type Required Description
description string Yes Human-readable description.
tag string Yes Short tag name.

Example of response: same format as Get.

Partial Update

Update only some fields of a single Issue Kind. (Auth Required)

PATCH /api/1/issuekind/$issue_kind_id

Name Type Required Description
issue_kind_id int Yes ID of the Issue Kind.

Updatable fields: description, tag.

Full Update

Replace all fields of a single Issue Kind. (Auth Required)

PUT /api/1/issuekind/$issue_kind_id

Name Type Required Description
issue_kind_id int Yes ID of the Issue Kind.

Request body should contain the same fields as Create.

Example of response: same format as Get.

Delete

Delete a single Issue Kind. (Auth Required)

DELETE /api/1/issuekind/$issue_kind_id

Name Type Required Description
issue_kind_id int Yes ID of the Issue Kind.

Responds with 204 and empty content.