Gift Helper AI

Gift Helper AI · Actions GPT

GPT Gift Helper

Displays a list of gifts for the user.

  • POST /ai/OpenAiGiftEndpointPass a GiftTypes (array of of 8-10 GiftType). It will return an URL back to be displayed to the user.

    Pass a GiftTypes (array of of 8-10 GiftType). It will return an URL back to be displayed to the user.

Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "GPT Gift Helper",
    "description": "Displays a list of gifts for the user.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://www.gifthelper.ai"
    }
  ],
  "paths": {
    "/ai/OpenAiGiftEndpoint": {
      "post": {
        "description": "Pass a GiftTypes (array of of 8-10 GiftType). It will return an URL back to be displayed to the user.",
        "summary": "Pass a GiftTypes (array of of 8-10 GiftType). It will return an URL back to be displayed to the user.",
        "operationId": "OpenAiGiftEndpoint",
        "tags": [
          "gifts"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftTypeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "URL give a beautified list of gifts that have to be given to the user."
          },
          "default": {
            "description": "unexpected error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "GiftType": {
        "type": "object",
        "required": [
          "name",
          "description",
          "searchQuery"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "searchQuery": {
            "type": "string"
          }
        }
      },
      "GiftTypeRequest": {
        "type": "object",
        "required": [
          "title",
          "giftReceiver",
          "giftTypes",
          "themes",
          "targets"
        ],
        "properties": {
          "title": {
            "type": "string"
          },
          "giftReceiver": {
            "type": "string"
          },
          "giftTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GiftType"
            }
          },
          "themes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32"
          },
          "message": {
            "type": "string"
          }
        }
      }
    }
  }
}