> ## Documentation Index
> Fetch the complete documentation index at: https://transcension.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Vertex

> Fetches detailed information about a specific vertex (intersection point) on the game cube, including any ships or objects present.



## OpenAPI

````yaml api-reference/cubic-api.json post /api/v1/cubic/vertex
openapi: 3.0.0
info:
  title: Cubic Game API
  description: >-
    API documentation for the Cubic game, providing endpoints for game
    management, ship actions, and retrieving game state information.
  version: '1.0'
  contact:
    name: Cubic Game Support
servers:
  - url: http://50.187.81.221:4000
    description: Rendezvous Cubic Server.
  - url: https://cubic.ngrok.app
    description: Ender's Cubic Server.
security: []
tags:
  - name: Cubic
    description: Operations related to the Cubic game mechanics.
paths:
  /api/v1/cubic/vertex:
    post:
      tags:
        - Cubic
      summary: Get Vertex
      description: >-
        Fetches detailed information about a specific vertex (intersection
        point) on the game cube, including any ships or objects present.
      operationId: CubicController_getVertex
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetVertexDataDTO'
            examples:
              getVertexExample:
                summary: Example of getting vertex data
                value:
                  gameID: uniqueGame123
                  teamName: RedTeam
                  vertex:
                    x: 0
                    'y': 0
                    z: 0
        description: >-
          Request to retrieve data associated with a specific vertex on the game
          cube for a given game and team.
      responses:
        '201':
          description: Vertex data retrieved successfully.
components:
  schemas:
    GetVertexDataDTO:
      type: object
      properties:
        gameID:
          type: string
          description: The unique identifier of the game.
        teamName:
          type: string
          description: The name of the team requesting the vertex data.
        vertex:
          $ref: '#/components/schemas/VertexDTO'
          description: The specific vertex for which to retrieve data.
      required:
        - gameID
        - teamName
        - vertex
      description: >-
        Data transfer object for requesting data associated with a specific
        vertex.
    VertexDTO:
      type: object
      properties:
        x:
          type: number
          description: The x-coordinate of the vertex.
        'y':
          type: number
          description: The y-coordinate of the vertex.
        z:
          type: number
          description: The z-coordinate of the vertex.
      required:
        - x
        - 'y'
        - z
      description: >-
        Data transfer object representing a 3D coordinate (vertex) on the game
        cube.

````