Skip to content
MEC029_FAI.yaml 80 KiB
Newer Older
openapi: 3.1.0
Elian Kraja's avatar
Elian Kraja committed
info:
  title: "ETSI GS MEC 029 Fixed Access Information API"
Elian Kraja's avatar
Elian Kraja committed
  description: "ETSI GS MEC 029 Fixed Access Information API described using OpenAPI."
  license:
    name: BSD-3-Clause
    url: "https://forge.etsi.org/legal-matters"
Elian Kraja's avatar
Elian Kraja committed
  contact:
Elian Kraja's avatar
Elian Kraja committed
    name: ETSI Forge
    email: cti_support@etsi.org
    url: https://forge.etsi.org/rep/mec/gs029-fai-api
Elian Kraja's avatar
Elian Kraja committed
externalDocs:
  description: "ETSI GS MEC 029 Fixed Access Information API, v2.2.1"
  url: "https://www.etsi.org/deliver/etsi_gs/MEC/001_099/029/02.02.01_60/gs_mec029v020201p.pdf"
Elian Kraja's avatar
Elian Kraja committed
servers:
  - url: "https://localhost/fai/v1"
Elian Kraja's avatar
Elian Kraja committed
tags:
  - name: Subscription
  - name: "Cable line info"
  - name: "Optical network info"
Elian Kraja's avatar
Elian Kraja committed
paths:
  /queries/fa_info:
    get:
      tags:
        - "Queries"
      summary: "Retrieve information on the available fixed access networks."
      description: "Retrieve information on the available fixed access networks."
      operationId: fa_infoGET
      parameters:
Elian Kraja's avatar
Elian Kraja committed
        - in: query
          name: customerPremisesInfo
          schema:
            type: array
            items:
              $ref: "#/components/schemas/CpInfo"
Elian Kraja's avatar
Elian Kraja committed
          required: false
          description: "Comma separated list of customer premises information"
Elian Kraja's avatar
Elian Kraja committed
        - in: query
          name: lastMileTech
          schema:
            type: array
            items:
              type: integer
Elian Kraja's avatar
Elian Kraja committed
          required: false
          description: "Comma separated list of last mile technologies."
Elian Kraja's avatar
Elian Kraja committed
        - in: query
          name: interfaceType
          schema:
            type: array
            items:
              type: integer
          description: "Comma separated list of interface types."
Elian Kraja's avatar
Elian Kraja committed
        - in: query
          name: dsbw
          schema:
            type: array
            items:
              type: integer
Elian Kraja's avatar
Elian Kraja committed
          required: false
          description: "Comma separated list of the bandwidth (in Mbps) from the network towards the customer site."
Elian Kraja's avatar
Elian Kraja committed
        - in: query
          name: usbw
          schema:
            type: array
            items:
              type: integer
Elian Kraja's avatar
Elian Kraja committed
          required: false
          description: "Comma separated list of the bandwidth (in Mbps) from the customer site towards the network."
Elian Kraja's avatar
Elian Kraja committed
        - in: query
          name: latency
          schema:
            type: array
            items:
              type: integer
Elian Kraja's avatar
Elian Kraja committed
          required: false
          description: "Comma separated list of the maximum baseline latency (in ms) between customer site and service edge node."
      responses:
        "200":
          description: "A response body containing the FAI is returned. "
Elian Kraja's avatar
Elian Kraja committed
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/FaInfo"
        "400":
          $ref: "#/components/responses/400"
        "401":
          $ref: "#/components/responses/401"
        "403":
          $ref: "#/components/responses/403"

  /queries/device_info:
    get:
      tags:
        - "Queries"
      summary: "retrieve information on the devices that are connected to a fixed access network."
      description: "retrieve information on the devices that are connected to a fixed access network."
      operationId: device_infoGET
      parameters:
Elian Kraja's avatar
Elian Kraja committed
        - in: query
          name: gwId
          schema:
            type: array
            items:
              type: string
Elian Kraja's avatar
Elian Kraja committed
          required: false
          description: "Comma separated list of gateway identifier"
Elian Kraja's avatar
Elian Kraja committed
        - in: query
          name: deviceId
          schema:
            type: array
            items:
              type: string
Elian Kraja's avatar
Elian Kraja committed
          required: false
          description: "Comma separated list of device identifier."
Elian Kraja's avatar
Elian Kraja committed
        - in: query
          name: deviceStatus
          schema:
            type: array
            items:
              type: integer
          description: "Comma separated list of device status."

      responses:
        "200":
          description: "Upon success, a response body containing the information of zero or more devices is returned."
Elian Kraja's avatar
Elian Kraja committed
          content:
            application/json:
              schema:
                type: array
                items:
                 $ref: "#/components/schemas/DeviceInfo"
        "400":
          $ref: "#/components/responses/400"
        "401":
          $ref: "#/components/responses/401"
        "403":
          $ref: "#/components/responses/403"
        "404":
          $ref: "#/components/responses/404"
        "406":
          $ref: "#/components/responses/406"
        "429":
          $ref: "#/components/responses/429"

  /queries/cable_line_info:
    get:
      tags:
        - "Cable line info"
      summary: "It Queries information about the cable line of a fixed access network."
      description: "It Queries information about the cable line of a fixed access network."
      operationId: cable_line_infoGET
      parameters:
        - in: query
          name: customerPremisesInfo
          schema:
            type: array
            items:
              $ref: "#/components/schemas/CpInfo"
          description: "Comma separated list of customer premises information"
        - in: query
          name: cmId
          schema:
            type: array
            items:
              type: string
          description: "Comma separated list of Cable Modem identifiers."

      responses:
        "200":
          description: "Upon success, a response body containing the information of zero or more cable lines is returned."
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CableLineInfo"
        "400":
          $ref: "#/components/responses/400"
        "401":
          $ref: "#/components/responses/401"
        "403":
          $ref: "#/components/responses/403"
        "404":
          $ref: "#/components/responses/404"
        "406":
          $ref: "#/components/responses/406"
        "429":
          $ref: "#/components/responses/429"
  /queries/optical_network_info:
    get:
      tags:
        - "Optical network info"
      summary: "used to query information about the optical network."
      description: "used to query information about the optical network."
      operationId: optical_network_infoGET
      parameters:
Loading
Loading full blame…