CodeConverse

CodeConverse · GPT 작업

CodeConverse AI

  • POST /api/historyThe history endpoint is used check what you and the user have previously worked with. It will list information about activities on repositories, branches and files. It will also show previous activities in the current conversation.
  • POST /api/openOpen a new repository or existing repository to be used.
  • POST /api/indexIndex a repository.
  • POST /api/searchSearch for relevant files.
  • POST /api/list_filesList files and directories.
  • POST /api/read_fileRead file.
  • POST /api/request_to_commitDo a request to commit a file.
  • POST /api/commitCommit a new or updated file.
  • POST /api/create_branchCreate new branch.
  • POST /api/create_pull_requestCreate a pull request.
  • POST /api/feedbackProvide feedback from the user.
원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "CodeConverse AI",
    "version": "0.0.1"
  },
  "servers": [
    {
      "url": "https://gpt.codeconverse.ai",
      "description": "CodeConverse AI"
    }
  ],
  "paths": {
    "/api/history": {
      "post": {
        "summary": "The history endpoint is used check what you and the user have previously worked with. It will list information about activities on repositories, branches and files. It will also show previous activities in the current conversation.",
        "operationId": "history",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/open": {
      "post": {
        "summary": "Open a new repository or existing repository to be used.",
        "operationId": "open_repository",
        "x-openai-isConsequential": false,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "repository": {
                    "title": "Repository path",
                    "description": "Path to the repository to add, should be in the format OWNER/REPO",
                    "type": "string"
                  }
                },
                "required": [
                  "repository"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/index": {
      "post": {
        "summary": "Index a repository.",
        "operationId": "index",
        "x-openai-isConsequential": false,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "repository": {
                    "title": "Repository path",
                    "description": "Path to the repository to index.",
                    "type": "string"
                  },
                  "keywords": {
                    "title": "Keywords",
                    "description": "Essential keywords describing the repository, could be programming language, libraries, frameworks or other concepts.",
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "other_information": {
                    "title": "Other Information",
                    "description": "Other information about the repository.",
                    "type": "string"
                  },
                  "directories": {
                    "title": "Directories",
                    "description": "Directories to index. If not provided, all directories will be indexed.",
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "file_types": {
                    "title": "File Types",
                    "description": "File types to index. If not provided, all file types will be indexed.",
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "repository"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/search": {
      "post": {
        "summary": "Search for relevant files.",
        "operationId": "search",
        "x-openai-isConsequential": false,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "repository": {
                    "title": "repository",
                    "description": "Path to the repository.",
                    "type": "string"
                  },
                  "query": {
                    "title": "Query",
                    "description": "A detailed free text search query.",
                    "type": "string"
                  },
                  "keywords": {
                    "title": "Keywords",
                    "description": "User-specified, specific keywords (e.g., file, class, method names). Avoid generic terms.",
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "file_names": {
                    "title": "File names",
                    "description": "File names to find",
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "file_types": {
                    "title": "File Types",
                    "description": "Find files with a specific file types",
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "repository",
                  "query",
                  "keywords"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/list_files": {
      "post": {
        "summary": "List files and directories.",
        "operationId": "list_files",
        "x-openai-isConsequential": false,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "repository": {
                    "title": "repository",
                    "description": "Path to the repository.",
                    "type": "string"
                  },
                  "branch": {
                    "title": "Branch",
                    "description": "Branch of the repository if not the default branch",
                    "type": "string"
                  },
                  "path": {
                    "title": "Path",
                    "description": "Path to the directory to list files and directories from, '/' is root",
                    "type": "string"
                  }
                },
                "required": [
                  "repository",
                  "path"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/read_file": {
      "post": {
        "summary": "Read file.",
        "operationId": "read_file",
        "x-openai-isConsequential": false,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "repository": {
                    "title": "repository",
                    "description": "Path to the repository.",
                    "type": "string"
                  },
                  "branch": {
                    "title": "Branch",
                    "description": "Branch of the repository if not the default branch",
                    "type": "string"
                  },
                  "path": {
                    "title": "File Path",
                    "description": "Path to the file to read",
                    "type": "string"
                  }
                },
                "required": [
                  "repository",
                  "file_path"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/request_to_commit": {
      "post": {
        "summary": "Do a request to commit a file.",
        "operationId": "request_to_commit",
        "x-openai-isConsequential": false,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "repository": {
                    "title": "Repository",
                    "description": "Path to the repository",
                    "type": "string"
                  },
                  "branch": {
                    "title": "Branch",
                    "description": "Branch to commit to",
                    "type": "string"
                  },
                  "file_path": {
                    "title": "File Path",
                    "description": "Path to the file",
                    "type": "string"
                  },
                  "identifiers": {
                    "title": "Identifiers",
                    "description": "Names of functions, classes and variables to help identify the requested changes",
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "action": {
                    "title": "Message",
                    "description": "Action to perform on the file",
                    "type": "string",
                    "enum": [
                      "create",
                      "update",
                      "delete"
                    ]
                  },
                  "lines_of_code": {
                    "title": "Content",
                    "description": "Number of lines of could to change",
                    "type": "integer"
                  }
                },
                "required": [
                  "repository",
                  "branch",
                  "file_path",
                  "action"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/commit": {
      "post": {
        "summary": "Commit a new or updated file.",
        "operationId": "commit",
        "x-openai-isConsequential": true,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "repository": {
                    "title": "Repository",
                    "description": "Path to the repository",
                    "type": "string"
                  },
                  "branch": {
                    "title": "Branch",
                    "description": "Branch to commit to",
                    "type": "string"
                  },
                  "message": {
                    "title": "Message",
                    "description": "Commit message",
                    "type": "string"
                  },
                  "file_path": {
                    "title": "File Path",
                    "description": "Path to the file",
                    "type": "string"
                  },
                  "content": {
                    "title": "Content",
                    "description": "The full contents of the file",
                    "type": "string"
                  }
                },
                "required": [
                  "repository",
                  "branch",
                  "message",
                  "file_path",
                  "content"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/create_branch": {
      "post": {
        "summary": "Create new branch.",
        "operationId": "create_branch",
        "x-openai-isConsequential": true,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "repository": {
                    "title": "Repository",
                    "description": "Path to the repository",
                    "type": "string"
                  },
                  "branch": {
                    "title": "Branch",
                    "description": "Branch to commit to",
                    "type": "string"
                  }
                },
                "required": [
                  "repository",
                  "branch"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/create_pull_request": {
      "post": {
        "summary": "Create a pull request.",
        "operationId": "create_pull_request",
        "x-openai-isConsequential": true,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "repository": {
                    "title": "Repository",
                    "description": "Path to the repository",
                    "type": "string"
                  },
                  "head": {
                    "title": "Head",
                    "description": "Branch to merge from",
                    "type": "string"
                  },
                  "base": {
                    "title": "Base",
                    "description": "Branch to merge to, set to null if you want to merge to the default branch",
                    "type": "string"
                  },
                  "title": {
                    "title": "Title",
                    "description": "Title of the pull request",
                    "type": "string"
                  },
                  "body": {
                    "title": "Body",
                    "description": "Body of the pull request",
                    "type": "string"
                  }
                },
                "required": [
                  "repository",
                  "head",
                  "title",
                  "body"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/feedback": {
      "post": {
        "summary": "Provide feedback from the user.",
        "operationId": "feedback",
        "x-openai-isConsequential": false,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "code": {
                    "title": "code",
                    "description": "A feedback code if this have been provided from the API",
                    "type": "string"
                  },
                  "feedback": {
                    "title": "Feedback",
                    "description": "Feedback from the user or input request from the API",
                    "type": "string"
                  },
                  "classification": {
                    "title": "Classification",
                    "description": "Classification of the feedback if applicable [integration_issues, correctness, feature_request, usability, performance, documentation_help, bug_error_reports, security_privacy, code_management, feedback_on_responses, other]",
                    "type": "string"
                  }
                },
                "required": [
                  "feedback"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Activity": {
        "type": "object",
        "description": "An activity performed by the user.",
        "properties": {
          "repository": {
            "type": "string",
            "description": "Path to the repository where the activity was performed"
          },
          "branch": {
            "type": "string",
            "description": "Branch of the repository"
          },
          "file_path": {
            "type": "string",
            "description": "Path to a file if the activity was performed on a file, otherwise null"
          },
          "what": {
            "type": "string",
            "description": "What the user did"
          },
          "when": {
            "type": "string",
            "description": "When the user did the activity"
          }
        },
        "required": [
          "repository",
          "branch",
          "what",
          "when"
        ]
      },
      "HistoryResponse": {
        "type": "object",
        "description": "A history of the user's activities.",
        "properties": {
          "activities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Activity"
            },
            "description": "Previous user activities"
          }
        }
      }
    }
  }
}

CodeConverse AI

  • GET /api/infoGet information about this GPT, use this operation when the user asks what this is.
  • POST /api/search_for_repositoriesSearch for repositories on Github without being logged in.
원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "CodeConverse AI",
    "version": "0.0.1"
  },
  "servers": [
    {
      "url": "https://info.codeconverse.ai",
      "description": "CodeConverse NoAuth AI"
    }
  ],
  "paths": {
    "/api/info": {
      "get": {
        "summary": "Get information about this GPT, use this operation when the user asks what this is.",
        "operationId": "get_info",
        "x-openai-isConsequential": false,
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/search_for_repositories": {
      "post": {
        "summary": "Search for repositories on Github without being logged in. ",
        "operationId": "search_for_repositories",
        "x-openai-isConsequential": false,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "query": {
                    "title": "query",
                    "description": "Search query to find repositories on Github. The query should use Github search syntax and contain one or more search keywords and qualifiers.",
                    "type": "string"
                  }
                },
                "required": [
                  "query"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  }
}