GPT友達探しエージェント
GPT友達探しエージェント · Ações GPT
User Management and Matching API
API for managing user registrations, updates, and interactions, including a matching feature.
POST /functions/v1/registerRegister a new userPATCH /functions/v1/updateUpdate user profilePOST /functions/v1/matchingRegister a matching
Esquema API original
{
"openapi": "3.0.0",
"info": {
"title": "User Management and Matching API",
"description": "API for managing user registrations, updates, and interactions, including a matching feature.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://osuzqefxhbhubnfogicd.supabase.co",
"description": "Main API server"
}
],
"paths": {
"/functions/v1/register": {
"post": {
"operationId": "registerUser",
"summary": "Register a new user",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"user_id": {
"type": "string"
},
"nickname": {
"type": "string"
},
"intro": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "result"
}
}
}
},
"/functions/v1/update": {
"patch": {
"operationId": "updateUserProfile",
"summary": "Update user profile",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"user_id": {
"type": "string"
},
"intro": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "List of active users"
}
}
}
},
"/functions/v1/matching": {
"post": {
"operationId": "registerMatching",
"summary": "Register a matching",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"user_id": {
"type": "string"
},
"matched_user_id": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "matched user's X(Formarly Twitter) URL"
}
}
}
}
}
}