EggyByte Server
    EggyByte Server
    • 项目介绍
    • 用户协议
    • 隐私政策
    • SuperDungeon
      • 超能魔盗团 隐私政策
      • User
        • Get User Data
        • Free Lottery
        • Paid Lottery
        • Sell Artwork
        • Find Top Users
        • Get Initial Data
        • Get Access
        • Change Name
      • Rank
        • Update
        • Find Top Users
      • Local
      • Remote
    • EggyByte
      • Account
        • Login
        • Register
        • Login Or Register
        • Access
        • Buy
        • Get Public Access
        • Formal Register
      • Game
        • Save Data
        • Load Data
      • Test
        • Random String
        • Get Map Json
      • Crypto
        • Compute Hash
        • Encrypt
        • Encrypt Map
        • Decrypt
      • Ad
        • Show
        • Debug
        • Impression Callback
      • User
        • Lock Test
        • Get User Data
        • Open Chest
      • Admin
        • Create Api Roles Copy
        • Create Api Roles Copy Copy
        • Delete Api Roles
        • Create Api Roles
      • Database
        • Update Mongo Users
        • List Databases
        • List Collections
        • List Mongo Users
        • Get Collection Stats
        • Get Collection Info
        • Get Paginated Documents
        • Create Mongo Users
        • Create Mongo Databases
      • Mailing
        • Send Mail
        • Send Captcha
        • Check Captcha
      • ThirdParty
        • Connect Url
        • Callback
        • Payment Link
    • Untitled Endpoint
      GET
    • Untitled Endpoint
      POST
    • Setup
      POST
    • Create Database
      POST
    • Get Card
      GET
    • Create Question
      POST
    • Create Collection
      POST
    • Get Dashboards
      GET
    • Get Dashboard
      GET
    • Get Dashboard Copy
      POST
    • Untitled Endpoint
      GET
    • Untitled Endpoint
      GET

      Setup

      Developing
      POST
      http://localhost:63858/api/setup

      Request

      Header Params
      Content-Type
      string 
      required
      Example:
      application/json
      Body Params application/json
      object {0}
      Example
      {
        "invite": {
          "email": "eggybyte@gmail.com",
          "first_name": "光耀",
          "last_name": "冯"
        },
        "prefs": {
          "site_locale": "cn",
          "site_name": "上海旦享计算机科技有限责任公司"
        },
        "token": "",
        "user": {
          "email": "eggybyte@gmail.com",
          "first_name": "光耀",
          "last_name": "冯"
          "password": "Fgy_0304103518"
        }
      }

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'http://localhost:63858/api/setup' \
      --header 'Content-Type: application/json' \
      --data-raw '{
        "invite": {
          "email": "eggybyte@gmail.com",
          "first_name": "光耀",
          "last_name": "冯"
        },
        "prefs": {
          "site_locale": "cn",
          "site_name": "上海旦享计算机科技有限责任公司"
        },
        "token": "",
        "user": {
          "email": "eggybyte@gmail.com",
          "first_name": "光耀",
          "last_name": "冯"
          "password": "Fgy_0304103518"
        }
      }'

      Responses

      🟢200成功
      application/json
      Body
      object {0}
      Example
      {}
      Modified at 2025-03-15 19:43:47
      Previous
      Untitled Endpoint
      Next
      Create Database
      Built with