Echoes of Time
Echoes of Time · Ações GPT
Space Adventure Game Server
API for registering and managing users in a space adventure game.
GET /registerregisterUserRegister a new user
GET /get-infogetUserInfoGet information for a registered user
GET /set-choicesetUserChoiceSet the next action for a user
Esquema API original
{
"openapi": "3.1.0",
"info": {
"title": "Space Adventure Game Server",
"description": "API for registering and managing users in a space adventure game.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://flask-production-93cd.up.railway.app"
}
],
"paths": {
"/register": {
"get": {
"description": "Register a new user",
"operationId": "registerUser",
"parameters": [
{
"name": "link",
"in": "query",
"description": "User registration link",
"required": true,
"schema": {
"type": "string"
}
}
]
}
},
"/get-info": {
"get": {
"description": "Get information for a registered user",
"operationId": "getUserInfo",
"parameters": [
{
"name": "password",
"in": "query",
"description": "User's password",
"required": true,
"schema": {
"type": "string"
}
}
]
}
},
"/set-choice": {
"get": {
"description": "Set the next action for a user",
"operationId": "setUserChoice",
"parameters": [
{
"name": "password",
"in": "query",
"description": "User's password",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "choice",
"in": "query",
"description": "User's next action choice",
"required": true,
"schema": {
"type": "string"
}
}
]
}
}
},
"components": {
"schemas": {}
}
}