Shoppal - Smart Shopping
Shoppal - Smart Shopping · Acciones GPT
ShoppingPal Research Topic API
API to research products based on user preferences and provide recommendations.
POST /api/research-videoResearch a product or categoryPost a product name or category to research with specific user preferences.
Esquema original API
{
"openapi": "3.0.0",
"info": {
"title": "ShoppingPal Research Topic API",
"version": "1.0.0",
"description": "API to research products based on user preferences and provide recommendations."
},
"servers": [
{
"url": "https://magic-shopper.azurewebsites.net/"
}
],
"paths": {
"/api/research-video": {
"post": {
"summary": "Research a product or category",
"operationId": "ResearchVideos",
"description": "Post a product name or category to research with specific user preferences.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"topic": {
"type": "string",
"description": "Product name or category to research."
},
"user_preferences": {
"type": "string",
"description": "Specific requirements about the product from the user."
}
},
"required": [
"topic",
"user_preferences"
]
}
}
}
},
"responses": {
"200": {
"description": "Successful response with product recommendations.",
"content": {
"application/json": {
"schema": {
"type": "string",
"description": "The best products to shop for after researching various popular Youtube videos"
}
}
}
},
"400": {
"description": "Bad request, if the input parameters are not correct."
},
"500": {
"description": "Internal server error."
}
}
}
}
}
}