openapi: 3.0.0
info:
  title: NFT
  version: 1.0.0
servers:
  - url: https://api.ageofgods.net
  - url: http://{{local}}
  - url: http://{{ms1}}
  - url: http://localhost:3000
  - url: http://{{pre_prod}}
  - url: https://pro-api.coinmarketcap.com
paths:
  /PROD-ANDROID/getGameToken:
    post:
      tags:
        - General
      summary: getgameToken
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                another_user_id:
                  type: string
      parameters:
        - name: enc_state
          in: header
          schema:
            type: integer
          example: '1'
        - name: access_token
          in: header
          schema:
            type: string
          description: prod build
          example: >-
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjo0MDIyMywiaWF0IjoxNjgzNTc5MDg4fQ.fGc-9si9zFWUTnCJEspBQe3h5KoUygUh7vSc_xWTqhY
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /getTransactionDetails:
    post:
      tags:
        - General
      summary: transactiondetails
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                internal_transaction_id:
                  type: integer
                  example: '13'
      parameters:
        - name: access_token
          in: header
          schema:
            type: string
          example: >-
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjo1LCJpYXQiOjE2NDc1MDA2MDR9.EZLAtw8ZHH-zfch9QI5jkkIWCB0c3KkimvofCIoxjHw
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /getTransactionHistory:
    post:
      tags:
        - General
      summary: update wallet address
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                page:
                  type: integer
                  example: '7'
                limit:
                  type: integer
                  example: '3'
      parameters:
        - name: access_token
          in: header
          schema:
            type: string
          example: >-
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjo1LCJpYXQiOjE2NDc1MDA2MDR9.EZLAtw8ZHH-zfch9QI5jkkIWCB0c3KkimvofCIoxjHw
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /V1/createTransaction:
    post:
      tags:
        - General
      summary: create transaction
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                game_token:
                  type: integer
                  example: '100'
                transaction_type:
                  type: integer
                  example: '2'
                transaction_time_stamp:
                  type: integer
                  example: '1666528926'
                data:
                  type: string
                  example: >-
                    5VtUcvw9Cc2VHagMeKDSq7dMUbhq3J8p0eWUft+i+idPe1H6mE4XFJW0Xi3cVh5koCF2VgEPSi6qeJWHjrl4NSvwFktMtym2EMZiuxrlTFo=
      parameters:
        - name: access_token
          in: header
          schema:
            type: string
          example: >-
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjo0MTA4NCwiaWF0IjoxNjY0ODE5Mzg2fQ.OWc64MwLMEg9RwTaG9LlajKs9oQAy8aak625gep7bsM
        - name: enc_state
          in: header
          schema:
            type: integer
          example: '1'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /register:
    post:
      tags:
        - General
      summary: register Copy
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                email_id:
                  type: string
                  example: dattha.p@juegostudioz.com
                password:
                  type: integer
                  example: '123456789'
                data:
                  type: string
                  example: >-
                    MUxLgdBOEfF7tZSFhrUUeU8vmgRdkAbkJyLt8+AI41ubCRK4MFBBt2evzk0AQVriKY3HaRRcOOGkr7WUIk7OrSuI2MWb5F4qNLRMG+fDLJGpk5J8aQzxjUbt+r74bku8QTXYP0a3jO0Ti7E4WKTisQ0CpX+e9g0+kBDYLO4FPIW+ADWcySZzUkR36q4Ej+wq
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /login:
    post:
      tags:
        - General
      summary: login Copy
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                email_id:
                  type: string
                  example: dattha.p@juegostudioz.com
                password:
                  type: integer
                  example: '123456789'
                device_id:
                  type: integer
                  example: '1'
                force_login:
                  type: integer
                  example: '1'
                data:
                  type: string
                  example: >-
                    MUxLgdBOEfF7tZSFhrUUeU8vmgRdkAbkJyLt8+AI41ubCRK4MFBBt2evzk0AQVriLZF+vIsFtL+aPpR8E7dWq6d6Wp3Ts/qKDhdYMRq2wYc7/9PrRk6bl3xHr8+jg+wN93lfkhJc/rp2JA/AzGCmo2jctFzYAytOyL6S5sv241I=
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /forgotPassword:
    post:
      tags:
        - General
      summary: forgotPassword Copy
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                email_id:
                  type: string
                  example: dattha.p@juegostudioz.com
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /verifyOtp:
    post:
      tags:
        - General
      summary: verifyOTP Copy
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                otp:
                  type: integer
                  example: '442004'
                email_id:
                  type: string
                  example: dattha.p@juegostudioz.com
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /resetPassword:
    post:
      tags:
        - General
      summary: resetPassword Copy
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                email_id:
                  type: string
                  example: dattha.p@juegostudioz.com
                reset_token:
                  type: integer
                  example: '957867'
                new_password:
                  type: integer
                  example: '123456789'
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /updateTransaction:
    post:
      tags:
        - General
      summary: update Transaction
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /updateNftCharacters:
    post:
      tags:
        - General
      summary: updateNftCharacters - API
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                nft_list:
                  type: string
                  example: >-
                    [{"nft_id":"n1","master_hero_id":1},{"nft_id":"n11","master_hero_id":1}]
      parameters:
        - name: access_token
          in: header
          schema:
            type: string
          example: >-
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxLCJpYXQiOjE2NjIwMTAzNTJ9.bWi-R2ftvRBXaopMdYVKqlB4gMoQ9Mzp7GmwGpNj_pg
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /:
    get:
      tags:
        - General
      summary: New Request
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /v2/cryptocurrency/quotes/latest:
    get:
      tags:
        - General
      summary: >-
        https://pro-api.coinmarketcap.com/v2/cryptocurrency/quotes/latest?slug=ageofgods&convert=USD
      parameters:
        - name: X-CMC_PRO_API_KEY
          in: header
          schema:
            type: string
          example: 29748a0d-706a-4f2b-885c-b5d0417d91fe
        - name: slug
          in: query
          schema:
            type: string
          example: ageofgods
        - name: convert
          in: query
          schema:
            type: string
          example: USD
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
