Onespot Mobile App Builder

Onespot Mobile App Builder · Actions GPT

Onespot API

API for creating new mobile apps for various organizations, businesses, and communities.

  • POST /create-new-app-chatgptCreate a New Mobile App

    Creates a new mobile app for a specified organization, business, or community.

Schéma original API
{
  "openapi": "3.0.0",
  "info": {
    "title": "Onespot API",
    "version": "1.0.0",
    "description": "API for creating new mobile apps for various organizations, businesses, and communities."
  },
  "servers": [
    {
      "url": "https://us-central1-seabirdmain.cloudfunctions.net/api"
    }
  ],
  "paths": {
    "/create-new-app-chatgpt": {
      "post": {
        "summary": "Create a New Mobile App",
        "description": "Creates a new mobile app for a specified organization, business, or community.",
        "operationId": "createNewApp",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "Name of the organization"
                  },
                  "communityType": {
                    "type": "string",
                    "description": "Type of the organization",
                    "enum": [
                      "company",
                      "project",
                      "conference",
                      "school",
                      "faithGroup",
                      "restaurant",
                      "ecommerce",
                      "enterpriseTeam",
                      "agent",
                      "neighborhood",
                      "town",
                      "careerFair",
                      "wedding",
                      "campaignFundraiser",
                      "festivalParade",
                      "race",
                      "clubTeam",
                      "camp",
                      "apartment",
                      "golfClub",
                      "library",
                      "other"
                    ]
                  },
                  "color": {
                    "type": "string",
                    "description": "Primary hex color of the organization. Must be in the format # followed by 6 hexadecimal characters.",
                    "pattern": "^#([A-Fa-f0-9]{6})$"
                  },
                  "description": {
                    "type": "string",
                    "description": "Short description of the organization"
                  },
                  "website": {
                    "type": "string",
                    "format": "uri",
                    "description": "Website of the organization (optional)"
                  },
                  "source": {
                    "type": "string",
                    "description": "How they found out about Onespot (optional)"
                  }
                },
                "required": [
                  "name",
                  "communityType",
                  "color",
                  "description"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "App successfully created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "appId": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "500": {
            "description": "Server error"
          }
        }
      }
    }
  }
}