Apache Kafka Expert

Apache Kafka Expert · GPT-Aktionen

Apache Kafka Jira API

API for interacting with Apache Kafka project issues on Jira

  • GET /rest/api/2/issue/{issueIdOrKey}Get a single issue by ID or key
  • GET /rest/api/2/searchSearch for issues
Ursprüngliches API-Schema
{
  "openapi": "3.0.0",
  "info": {
    "title": "Apache Kafka Jira API",
    "description": "API for interacting with Apache Kafka project issues on Jira",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://issues.apache.org/jira",
      "description": "Apache Kafka Jira API Server"
    }
  ],
  "paths": {
    "/rest/api/2/issue/{issueIdOrKey}": {
      "get": {
        "operationId": "getIssue",
        "summary": "Get a single issue by ID or key",
        "parameters": [
          {
            "name": "issueIdOrKey",
            "in": "path",
            "required": true,
            "description": "The ID or key of the issue",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Detailed information about an issue",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "key": {
                      "type": "string"
                    },
                    "fields": {
                      "type": "object",
                      "properties": {
                        "summary": {
                          "type": "string"
                        },
                        "description": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rest/api/2/search": {
      "get": {
        "operationId": "searchIssues",
        "summary": "Search for issues",
        "parameters": [
          {
            "name": "jql",
            "in": "query",
            "description": "JIRA Query Language string to specify the search criteria",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startAt",
            "in": "query",
            "description": "The index of the first issue to return (0-based)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "maxResults",
            "in": "query",
            "description": "The maximum number of issues to return (default is 50)",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Search results containing issues that match the criteria",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "issues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "key": {
                            "type": "string"
                          },
                          "fields": {
                            "type": "object",
                            "properties": {
                              "summary": {
                                "type": "string"
                              },
                              "description": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "total": {
                      "type": "integer"
                    },
                    "startAt": {
                      "type": "integer"
                    },
                    "maxResults": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}