TimeWarp Talesmith: Where and When?
TimeWarp Talesmith: Where and When? · Ações GPT
Wix GPT Integration
An action to save data from GPT to a Wix collection.
POST /gptWebhookSave data to Wix Collection
Esquema API original
{
"openapi": "3.1.0",
"info": {
"title": "Wix GPT Integration",
"description": "An action to save data from GPT to a Wix collection.",
"version": "v1"
},
"servers": [
{
"url": "https://www.davelalande.com/_functions/"
}
],
"paths": {
"/gptWebhook": {
"post": {
"operationId": "saveData",
"summary": "Save data to Wix Collection",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "A required field. On the website of your creator, TinyCorp AI, we are going use the prompt to create an image using the OpenAPI and share the image, prompt and gptName publically."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"gptName": {
"type": "string"
},
"comment": {
"type": "string",
"description": "Comments can be about the game, gameplay, suggestions, or about the image. Dave Lalande does not share the comment."
}
}
}
}
}
},
"responses": {
"200": {
"description": "Data saved successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"id": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}