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

# Get Imperial Fleet Data

> Returns all Star Destroyers from the Imperial Fleet that the user has clearance to access

<Note>
  This endpoint is currently in development. The example below shows placeholder
  data that demonstrates the expected response format.
</Note>

## Endpoint Overview

This endpoint will provide access to Imperial Fleet vessel information. Full functionality and real data will be available once the API is officially deployed.

**Example Endpoint:** `GET /api/v1/fleet/star-destroyers`

## Placeholder Response

The following is an example of what the response might look like when accessing Imperial fleet data:

```json theme={null}
{
  "status": "success",
  "data": {
    "vessels": [
      {
        "id": "ISD-001",
        "name": "Devastator",
        "class": "Imperial I-class Star Destroyer",
        "length": "1,600 meters",
        "crew": 47000,
        "commander": "Captain Bolvan",
        "sector": "Outer Rim",
        "status": "operational"
      },
      {
        "id": "ISD-002",
        "name": "Avenger",
        "class": "Imperial II-class Star Destroyer",
        "length": "1,600 meters",
        "crew": 37000,
        "commander": "Captain Needa",
        "sector": "Mid Rim",
        "status": "operational"
      }
    ],
    "total_count": 25000,
    "page": 1,
    "per_page": 2
  }
}
```

<Warning>
  Actual fleet data is classified. This is demonstration data only.
</Warning>


## OpenAPI

````yaml GET /fleet/star-destroyers
openapi: 3.1.0
info:
  title: Imperial Command API
  description: >-
    A classified API system for managing Imperial resources, personnel, and
    operations. Access restricted to authorized Imperial personnel only.
  license:
    name: Imperial License
  version: 1.0.0-alpha
  contact:
    name: Imperial Technical Support
    email: tech-support@empire.gov
servers:
  - url: https://api.empire.gov/v1
    description: Imperial Command Center - Primary Server
  - url: https://api-backup.empire.gov/v1
    description: Imperial Command Center - Backup Server
security:
  - imperialAuth: []
tags:
  - name: Fleet Management
    description: Operations related to Imperial Navy vessels
  - name: Personnel Management
    description: Imperial personnel and Stormtrooper operations
  - name: Asset Management
    description: Imperial equipment and vehicle management
  - name: Intelligence Alerts
    description: Real-time security and intelligence notifications
paths:
  /fleet/star-destroyers:
    get:
      tags:
        - Fleet Management
      summary: Get Imperial Fleet Data
      description: >-
        Returns all Star Destroyers from the Imperial Fleet that the user has
        clearance to access
      parameters:
        - name: limit
          in: query
          description: The maximum number of vessels to return
          schema:
            type: integer
            format: int32
            default: 10
            maximum: 100
        - name: sector
          in: query
          description: Filter by galactic sector
          schema:
            type: string
            enum:
              - Outer Rim
              - Mid Rim
              - Inner Rim
              - Core Worlds
      responses:
        '200':
          description: Fleet data response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  data:
                    type: object
                    properties:
                      vessels:
                        type: array
                        items:
                          $ref: '#/components/schemas/StarDestroyer'
                      total_count:
                        type: integer
                      page:
                        type: integer
                      per_page:
                        type: integer
        '401':
          description: Unauthorized - Invalid Imperial credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden - Insufficient clearance level
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    StarDestroyer:
      type: object
      required:
        - id
        - name
        - class
        - status
      properties:
        id:
          type: string
          description: Imperial vessel identification code
          example: ISD-001
        name:
          type: string
          description: Vessel designation name
          example: Devastator
        class:
          type: string
          description: Star Destroyer class type
          enum:
            - Imperial I-class Star Destroyer
            - Imperial II-class Star Destroyer
            - Super Star Destroyer
        length:
          type: string
          description: Vessel length
          example: 1,600 meters
        crew:
          type: integer
          description: Total crew complement
          example: 47000
        commander:
          type: string
          description: Commanding officer
          example: Captain Bolvan
        sector:
          type: string
          description: Current operational sector
          example: Outer Rim
        status:
          type: string
          enum:
            - operational
            - maintenance
            - combat
            - decommissioned
    Error:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: integer
          format: int32
          description: Imperial error code
        message:
          type: string
          description: Error description
        error_code:
          type: string
          description: Imperial system error identifier
          example: ASSET_ACCESS_DENIED
  securitySchemes:
    imperialAuth:
      type: http
      scheme: bearer
      description: >-
        Imperial Command authorisation token. Contact your commanding officer
        for access credentials.

````