4K Garden Auth Controller API

The auth-controller API from 4K Garden — 9 operation(s) for auth-controller.

Operations 15

GET /api/auth/health health #
POST /api/auth/login login #
POST /api/auth/login-sms loginSms #
GET /api/auth/me me #
POST /api/auth/register register #
GET /api/auth/register-config registerConfig #
POST /api/auth/reset-password resetPassword #
POST /api/auth/sms-code sendCode #
GET /api/auth/verificationCode verificationCode #
PUT /api/auth/verificationCode verificationCode #
POST /api/auth/verificationCode verificationCode #
DELETE /api/auth/verificationCode verificationCode #
OPTIONS /api/auth/verificationCode verificationCode #
HEAD /api/auth/verificationCode verificationCode #
PATCH /api/auth/verificationCode verificationCode #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/4k-garden-auth-controller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

4k-garden-auth-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 蝶变AI超分系统 Auth Controller API
  description: 蝶变AI超分系统后端API文档 - Spring Boot 2.5
  version: 3.0.0
servers:
- url: http://www.fly4k.com:80
  description: Inferred Url
tags:
- name: auth-controller
  extensions:
    x-order: '2147483647'
paths:
  /api/auth/health:
    get:
      tags:
      - auth-controller
      summary: health
      operationId: healthUsingGET
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_HealthVo'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      extensions:
        x-order: '2147483647'
  /api/auth/login:
    post:
      tags:
      - auth-controller
      summary: login
      operationId: loginUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginAO'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_LoginResultVo'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      extensions:
        x-order: '2147483647'
  /api/auth/login-sms:
    post:
      tags:
      - auth-controller
      summary: loginSms
      operationId: loginSmsUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginSmsAO'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_LoginResultVo'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      extensions:
        x-order: '2147483647'
  /api/auth/me:
    get:
      tags:
      - auth-controller
      summary: me
      operationId: meUsingGET
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_CustomerInfoVo'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      extensions:
        x-order: '2147483647'
  /api/auth/register:
    post:
      tags:
      - auth-controller
      summary: register
      operationId: registerUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterAO'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_LoginResultVo'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      extensions:
        x-order: '2147483647'
  /api/auth/register-config:
    get:
      tags:
      - auth-controller
      summary: registerConfig
      operationId: registerConfigUsingGET
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_RegisterConfigVo'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      extensions:
        x-order: '2147483647'
  /api/auth/reset-password:
    post:
      tags:
      - auth-controller
      summary: resetPassword
      operationId: resetPasswordUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResetPasswordAO'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_Void'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      extensions:
        x-order: '2147483647'
  /api/auth/sms-code:
    post:
      tags:
      - auth-controller
      summary: sendCode
      operationId: sendCodeUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendCodeAO'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_Void'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      extensions:
        x-order: '2147483647'
  /api/auth/verificationCode:
    get:
      tags:
      - auth-controller
      summary: verificationCode
      operationId: verificationCodeUsingGET
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_VerificationCodeVO'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      extensions:
        x-order: '2147483647'
    put:
      tags:
      - auth-controller
      summary: verificationCode
      operationId: verificationCodeUsingPUT
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_VerificationCodeVO'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      extensions:
        x-order: '2147483647'
    post:
      tags:
      - auth-controller
      summary: verificationCode
      operationId: verificationCodeUsingPOST
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_VerificationCodeVO'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      extensions:
        x-order: '2147483647'
    delete:
      tags:
      - auth-controller
      summary: verificationCode
      operationId: verificationCodeUsingDELETE
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_VerificationCodeVO'
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      extensions:
        x-order: '2147483647'
    options:
      tags:
      - auth-controller
      summary: verificationCode
      operationId: verificationCodeUsingOPTIONS
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_VerificationCodeVO'
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      extensions:
        x-order: '2147483647'
    head:
      tags:
      - auth-controller
      summary: verificationCode
      operationId: verificationCodeUsingHEAD
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_VerificationCodeVO'
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      extensions:
        x-order: '2147483647'
    patch:
      tags:
      - auth-controller
      summary: verificationCode
      operationId: verificationCodeUsingPATCH
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_VerificationCodeVO'
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      extensions:
        x-order: '2147483647'
    trace:
      tags:
      - auth-controller
      summary: verificationCode
      operationId: verificationCodeUsingTRACE
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponse_VerificationCodeVO'
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      extensions:
        x-order: '2147483647'
components:
  schemas:
    SendCodeAO:
      title: SendCodeAO
      type: object
      properties:
        action:
          type: string
        code:
          type: string
        codeKey:
          type: string
        phone:
          type: string
    VerificationCodeVO:
      title: VerificationCodeVO
      type: object
      properties:
        codeKey:
          type: string
        pictureUrl:
          type: string
    LoginAO:
      title: LoginAO
      type: object
      properties:
        password:
          type: string
        phone:
          type: string
        username:
          type: string
    LoginResultVo:
      title: LoginResultVo
      type: object
      properties:
        token:
          type: string
        user:
          $ref: '#/components/schemas/CustomerVo'
    ApiResponse_VerificationCodeVO:
      title: ApiResponse«VerificationCodeVO»
      type: object
      properties:
        code:
          type: integer
          format: int32
        data:
          $ref: '#/components/schemas/VerificationCodeVO'
        msg:
          type: string
    CustomerVo:
      title: CustomerVo
      type: object
      properties:
        balance_credits:
          type: number
          format: bigdecimal
        balance_gift_credits:
          type: number
          format: bigdecimal
        balance_member_credits:
          type: number
          format: bigdecimal
        balance_purchased_credits:
          type: number
          format: bigdecimal
        company:
          type: string
        created_at:
          type: string
        display_name:
          type: string
        enterprise_id:
          type: integer
          format: int64
        enterprise_member_level:
          type: string
        enterprise_role:
          type: string
        id:
          type: integer
          format: int64
        member_billing_cycle:
          type: string
        member_expire:
          type: string
        member_level:
          type: string
        monthly_task_count:
          type: integer
          format: int32
        nickname:
          type: string
        phone:
          type: string
        role:
          type: string
        sales_person:
          type: string
        status:
          type: string
        trial_gift_days:
          type: integer
          format: int32
        username:
          type: string
    ResetPasswordAO:
      title: ResetPasswordAO
      type: object
      properties:
        new_password:
          type: string
        phone:
          type: string
        sms_code:
          type: string
    ApiResponse_Void:
      title: ApiResponse«Void»
      type: object
      properties:
        code:
          type: integer
          format: int32
        msg:
          type: string
    LoginSmsAO:
      title: LoginSmsAO
      type: object
      properties:
        phone:
          type: string
        sms_code:
          type: string
    CustomerInfoVo:
      title: CustomerInfoVo
      type: object
      properties:
        balance_credits:
          type: number
          format: bigdecimal
        balance_gift_credits:
          type: number
          format: bigdecimal
        balance_member_credits:
          type: number
          format: bigdecimal
        balance_purchased_credits:
          type: number
          format: bigdecimal
        balance_rmb:
          type: number
          format: bigdecimal
        company:
          type: string
        created_at:
          type: string
        credit_rate:
          type: number
          format: float
        display_name:
          type: string
        enterprise_id:
          type: integer
          format: int64
        enterprise_member_level:
          type: string
        enterprise_role:
          type: string
        id:
          type: integer
          format: int64
        member_billing_cycle:
          type: string
        member_expire:
          type: string
        member_level:
          type: string
        member_level_label:
          type: string
        monthly_task_count:
          type: integer
          format: int32
        nickname:
          type: string
        phone:
          type: string
        role:
          type: string
        sales_person:
          type: string
        status:
          type: string
        trial_gift_days:
          type: integer
          format: int32
        username:
          type: string
    ApiResponse_RegisterConfigVo:
      title: ApiResponse«RegisterConfigVo»
      type: object
      properties:
        code:
          type: integer
          format: int32
        data:
          $ref: '#/components/schemas/RegisterConfigVo'
        msg:
          type: string
    ApiResponse_CustomerInfoVo:
      title: ApiResponse«CustomerInfoVo»
      type: object
      properties:
        code:
          type: integer
          format: int32
        data:
          $ref: '#/components/schemas/CustomerInfoVo'
        msg:
          type: string
    RegisterConfigVo:
      title: RegisterConfigVo
      type: object
      properties:
        invite_code_required:
          type: boolean
    ApiResponse_HealthVo:
      title: ApiResponse«HealthVo»
      type: object
      properties:
        code:
          type: integer
          format: int32
        data:
          $ref: '#/components/schemas/HealthVo'
        msg:
          type: string
    ApiResponse_LoginResultVo:
      title: ApiResponse«LoginResultVo»
      type: object
      properties:
        code:
          type: integer
          format: int32
        data:
          $ref: '#/components/schemas/LoginResultVo'
        msg:
          type: string
    HealthVo:
      title: HealthVo
      type: object
      properties:
        status:
          type: string
        version:
          type: string
    RegisterAO:
      title: RegisterAO
      type: object
      properties:
        company:
          type: string
        invite_code:
          type: string
        password:
          type: string
        phone:
          type: string
        sms_code:
          type: string