Travel Guide
Travel Guide · Actions GPT
User Register API
API for sending name and password for register.
POST /macros/s/AKfycbxccnEU-p60hxpdnysYFaKqzzBHLwP3LFQxo9pdRmQPUVxVfEQCfQFl4G64RKduXRgS/execRegister UserPOST /macros/s/AKfycbzwRAi9ClAS4ahRkvhvZt8eRTZHrlnsdggzJu3XuVqR3zyu0IyACW5og6stqyrGx_Rx/execTravel LoginPOST /macros/s/AKfycbyH4qxJQIK6YW1Rwi2uu_lss3EyJ3s0TgD7IG_WG6tX0VQ6-3A1oCtOI1aWbLDKvsiylA/execTravel profiles are stored with the language of the country the user wants to visit, not including the user's native language
Schéma original API
{
"openapi": "3.0.0",
"info": {
"version": "1.0.0",
"title": "User Register API",
"description": "API for sending name and password for register."
},
"servers": [
{
"url": "https://script.google.com"
}
],
"paths": {
"/macros/s/AKfycbxccnEU-p60hxpdnysYFaKqzzBHLwP3LFQxo9pdRmQPUVxVfEQCfQFl4G64RKduXRgS/exec": {
"post": {
"summary": "Register User",
"operationId": "RegisterUser",
"tags": [
"user"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"name",
"password"
],
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Register successful",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbzwRAi9ClAS4ahRkvhvZt8eRTZHrlnsdggzJu3XuVqR3zyu0IyACW5og6stqyrGx_Rx/exec": {
"post": {
"summary": "Travel Login",
"operationId": "TravelLogin",
"tags": [
"travel"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"name",
"password"
],
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Login successful",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/macros/s/AKfycbyH4qxJQIK6YW1Rwi2uu_lss3EyJ3s0TgD7IG_WG6tX0VQ6-3A1oCtOI1aWbLDKvsiylA/exec": {
"post": {
"summary": "Travel profiles are stored with the language of the country the user wants to visit, not including the user's native language",
"operationId": "SaveTravelProfile",
"tags": [
"travel"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"token",
"interests",
"countries",
"languages"
],
"properties": {
"token": {
"type": "string"
},
"interests": {
"type": "string"
},
"countries": {
"type": "string"
},
"languages": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"responses": {
"200": {
"description": "Travel profile saved successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}