Unity · Capability

Unity Multiplay Game Server Hosting API — Fleets

Unity Multiplay Game Server Hosting API — Fleets. 5 operations. Lead operation: List Fleets. Self-contained Naftiko capability covering one Unity business surface.

Run with Naftiko UnityFleets

What You Can Do

GET
Listfleets — List Fleets
/v1/v1/projects/{projectid}/regions/{regionid}/fleets
POST
Createfleet — Create Fleet
/v1/v1/projects/{projectid}/regions/{regionid}/fleets
GET
Getfleet — Get Fleet
/v1/v1/projects/{projectid}/regions/{regionid}/fleets/{fleetid}
PATCH
Updatefleet — Update Fleet
/v1/v1/projects/{projectid}/regions/{regionid}/fleets/{fleetid}
DELETE
Deletefleet — Delete Fleet
/v1/v1/projects/{projectid}/regions/{regionid}/fleets/{fleetid}

MCP Tools

list-fleets

List Fleets

read-only idempotent
create-fleet

Create Fleet

get-fleet

Get Fleet

read-only idempotent
update-fleet

Update Fleet

idempotent
delete-fleet

Delete Fleet

idempotent

Capability Spec

multiplay-fleets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Unity Multiplay Game Server Hosting API — Fleets
  description: 'Unity Multiplay Game Server Hosting API — Fleets. 5 operations. Lead operation: List Fleets. Self-contained
    Naftiko capability covering one Unity business surface.'
  tags:
  - Unity
  - Fleets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    UNITY_API_KEY: UNITY_API_KEY
capability:
  consumes:
  - type: http
    namespace: multiplay-fleets
    baseUri: https://multiplay.services.api.unity.com
    description: Unity Multiplay Game Server Hosting API — Fleets business capability. Self-contained, no shared references.
    resources:
    - name: v1-projects-projectId-regions-regionId-fleets
      path: /v1/projects/{projectId}/regions/{regionId}/fleets
      operations:
      - name: listfleets
        method: GET
        description: List Fleets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: regionId
          in: path
          type: string
          required: true
      - name: createfleet
        method: POST
        description: Create Fleet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: regionId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-projects-projectId-regions-regionId-fleets-fleetId
      path: /v1/projects/{projectId}/regions/{regionId}/fleets/{fleetId}
      operations:
      - name: getfleet
        method: GET
        description: Get Fleet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: regionId
          in: path
          type: string
          required: true
        - name: fleetId
          in: path
          type: string
          required: true
      - name: updatefleet
        method: PATCH
        description: Update Fleet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: regionId
          in: path
          type: string
          required: true
        - name: fleetId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletefleet
        method: DELETE
        description: Delete Fleet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: regionId
          in: path
          type: string
          required: true
        - name: fleetId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.UNITY_API_KEY}}'
  exposes:
  - type: rest
    namespace: multiplay-fleets-rest
    port: 8080
    description: REST adapter for Unity Multiplay Game Server Hosting API — Fleets. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/projects/{projectid}/regions/{regionid}/fleets
      name: v1-projects-projectid-regions-regionid-fleets
      description: REST surface for v1-projects-projectId-regions-regionId-fleets.
      operations:
      - method: GET
        name: listfleets
        description: List Fleets
        call: multiplay-fleets.listfleets
        with:
          projectId: rest.projectId
          regionId: rest.regionId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createfleet
        description: Create Fleet
        call: multiplay-fleets.createfleet
        with:
          projectId: rest.projectId
          regionId: rest.regionId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/projects/{projectid}/regions/{regionid}/fleets/{fleetid}
      name: v1-projects-projectid-regions-regionid-fleets-fleetid
      description: REST surface for v1-projects-projectId-regions-regionId-fleets-fleetId.
      operations:
      - method: GET
        name: getfleet
        description: Get Fleet
        call: multiplay-fleets.getfleet
        with:
          projectId: rest.projectId
          regionId: rest.regionId
          fleetId: rest.fleetId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatefleet
        description: Update Fleet
        call: multiplay-fleets.updatefleet
        with:
          projectId: rest.projectId
          regionId: rest.regionId
          fleetId: rest.fleetId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletefleet
        description: Delete Fleet
        call: multiplay-fleets.deletefleet
        with:
          projectId: rest.projectId
          regionId: rest.regionId
          fleetId: rest.fleetId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: multiplay-fleets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Unity Multiplay Game Server Hosting API — Fleets. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-fleets
      description: List Fleets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: multiplay-fleets.listfleets
      with:
        projectId: tools.projectId
        regionId: tools.regionId
      outputParameters:
      - type: object
        mapping: $.
    - name: create-fleet
      description: Create Fleet
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: multiplay-fleets.createfleet
      with:
        projectId: tools.projectId
        regionId: tools.regionId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-fleet
      description: Get Fleet
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: multiplay-fleets.getfleet
      with:
        projectId: tools.projectId
        regionId: tools.regionId
        fleetId: tools.fleetId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-fleet
      description: Update Fleet
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: multiplay-fleets.updatefleet
      with:
        projectId: tools.projectId
        regionId: tools.regionId
        fleetId: tools.fleetId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-fleet
      description: Delete Fleet
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: multiplay-fleets.deletefleet
      with:
        projectId: tools.projectId
        regionId: tools.regionId
        fleetId: tools.fleetId
      outputParameters:
      - type: object
        mapping: $.