openapi: 3.0.3
info:
  title: TenantPilot Legacy Routes (Spec 092)
  version: 1.0.0
  description: |
    This contract documents deterministic HTTP semantics for removed legacy endpoints.
    All listed endpoints MUST return 404 Not Found and MUST NOT redirect.

servers:
  - url: /

paths:
  /admin/t/{tenantExternalId}/operations:
    get:
      summary: Legacy tenant-scoped Operations list (removed)
      parameters:
        - name: tenantExternalId
          in: path
          required: true
          schema:
            type: string
      responses:
        '404':
          description: Not Found

  /admin/t/{tenantExternalId}/inventory-sync-runs:
    get:
      summary: Legacy inventory sync runs list (removed)
      parameters:
        - name: tenantExternalId
          in: path
          required: true
          schema:
            type: string
      responses:
        '404':
          description: Not Found

  /admin/t/{tenantExternalId}/inventory-sync-runs/{id}:
    get:
      summary: Legacy inventory sync run detail (removed)
      parameters:
        - name: tenantExternalId
          in: path
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: integer
      responses:
        '404':
          description: Not Found

  /admin/t/{tenantExternalId}/entra-group-sync-runs:
    get:
      summary: Legacy Entra group sync runs list (removed)
      parameters:
        - name: tenantExternalId
          in: path
          required: true
          schema:
            type: string
      responses:
        '404':
          description: Not Found

  /admin/t/{tenantExternalId}/entra-group-sync-runs/{id}:
    get:
      summary: Legacy Entra group sync run detail (removed)
      parameters:
        - name: tenantExternalId
          in: path
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: integer
      responses:
        '404':
          description: Not Found

  /admin/t/{tenantExternalId}/backup-schedules/{scheduleId}/runs/{runId}:
    get:
      summary: Legacy backup schedule run detail (removed)
      parameters:
        - name: tenantExternalId
          in: path
          required: true
          schema:
            type: string
        - name: scheduleId
          in: path
          required: true
          schema:
            type: integer
        - name: runId
          in: path
          required: true
          schema:
            type: integer
      responses:
        '404':
          description: Not Found
