AANote

AANote · Actions GPT

Open API Document

API for aa note.

  • POST /com/openai/aa/note/api/chat_summaries/update.jssUpdate a chat_summaries
  • POST /com/openai/aa/note/api/chat_summaries/v2/create.jssCreate a new chat_summaries
  • POST /com/openai/aa/note/api/searchSummaries.jsssearchSummaries
  • POST /com/openai/ai/article/writing/platform/api/createArticle4Plugin.jsscreate a new article
  • POST /com/openai/ai/article/writing/platform/api/createArticleChapter4Plugin.jsscreate chapter for a article
Schéma original API
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Open API Document",
    "description": "API for aa note."
  },
  "servers": [
    {
      "url": "https://aa-note.aier3.com"
    }
  ],
  "paths": {
    "/com/openai/aa/note/api/chat_summaries/update.jss": {
      "post": {
        "summary": "Update a  chat_summaries",
        "operationId": "updateChatSummaries",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "category_id": {
                    "type": "integer"
                  },
                  "summary": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "id": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "msg": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    },
                    "data": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/com/openai/aa/note/api/chat_summaries/v2/create.jss": {
      "post": {
        "summary": "Create a new chat_summaries",
        "operationId": "createChatSummaries",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "category_id": {
                    "type": "integer"
                  },
                  "summary": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "msg": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/com/openai/aa/note/api/searchSummaries.jss": {
      "post": {
        "operationId": "searchSummaries",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "keyword": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "msg": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "summary": {
                            "type": "string"
                          },
                          "category_id": {
                            "type": "integer"
                          },
                          "owner_id": {
                            "type": "string"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time-minute"
                          },
                          "id": {
                            "type": "integer"
                          },
                          "title": {
                            "type": "string"
                          },
                          "workspaceid": {
                            "type": "integer"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/com/openai/ai/article/writing/platform/api/createArticle4Plugin.jss": {
      "post": {
        "summary": "create a new article",
        "operationId": "createArticle",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string",
                    "description": "Article title "
                  },
                  "chapter_count": {
                    "type": "integer",
                    "description": "Article count "
                  }
                },
                "required": [
                  "title",
                  "chapter_count"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "msg": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "description": "Article id "
                        },
                        "url": {
                          "type": "string",
                          "description": "Article view link "
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/com/openai/ai/article/writing/platform/api/createArticleChapter4Plugin.jss": {
      "post": {
        "summary": "create chapter for a article",
        "operationId": "createArticleChapter",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "article_id": {
                    "type": "integer"
                  },
                  "title": {
                    "type": "string"
                  },
                  "overview": {
                    "type": "string"
                  },
                  "content": {
                    "type": "string"
                  }
                },
                "required": [
                  "article_id",
                  "title",
                  "overview",
                  "content"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "msg": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "url": {
                          "type": "string",
                          "description": "Full Article view link will navigate to chapter automatically!"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}