オンラインメモ帳 GPT
オンラインメモ帳 GPT · Acciones GPT
Sign Up and Sign In
Sign up new account or sign in existing account
POST /api/signupsignupSign up new account
POST /api/signinsigninSign in existing account
POST /api/write-memopost-memoSave memo to database
GET /api/read-memo/{userId}get-memoGet memo from database by userId
Esquema original API
{
"openapi": "3.1.0",
"info": {
"title": "Sign Up and Sign In",
"description": "Sign up new account or sign in existing account",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://us-central1-online-memo-gpt.cloudfunctions.net"
}
],
"paths": {
"/api/signup": {
"post": {
"description": "Sign up new account",
"operationId": "signup",
"x-openai-isConsequential": false,
"parameters": [
{
"name": "email",
"in": "body",
"description": "Email of the user",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "password",
"in": "body",
"description": "Password of the user",
"required": true,
"schema": {
"type": "string"
}
}
]
}
},
"/api/signin": {
"post": {
"description": "Sign in existing account",
"operationId": "signin",
"x-openai-isConsequential": false,
"parameters": [
{
"name": "email",
"in": "body",
"description": "Email of the user",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "password",
"in": "body",
"description": "Password of the user",
"required": true,
"schema": {
"type": "string"
}
}
]
}
},
"/api/write-memo": {
"post": {
"description": "Save memo to database",
"operationId": "post-memo",
"x-openai-isConsequential": false,
"parameters": [
{
"name": "userId",
"in": "body",
"description": "userId which user wants to save memo",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "memo",
"in": "body",
"description": "memo body which user wants to save",
"required": true,
"schema": {
"type": "string"
}
}
]
}
},
"/api/read-memo/{userId}": {
"get": {
"description": "Get memo from database by userId",
"operationId": "get-memo",
"x-openai-isConsequential": false,
"parameters": [
{
"name": "userId",
"in": "path",
"description": "userId which user wants to get memo",
"required": true,
"schema": {
"type": "string"
}
}
]
}
}
},
"components": {
"schemas": {}
}
}