Skip to content
MecAppSupportApi.yaml 47.4 KiB
Newer Older
Walter Featherstone's avatar
Walter Featherstone committed
  - url: 'http://127.0.0.1:8081/mec_app_support/v1'
  - url: 'https://127.0.0.1:8081/mec_app_support/v1'
Walter Featherstone's avatar
Walter Featherstone committed
  title: MEC Application Support API
  version: 2.1.1
  description: The ETSI MEC ISG MEC011 MEC Application Support API described using OpenAPI
  license:
    name: BSD-3-Clause
    url: 'https://forge.etsi.org/legal-matters'
  contact:
    email: cti_support@etsi.org
externalDocs:
Walter Featherstone's avatar
Walter Featherstone committed
  description: 'ETSI GS MEC011 Application Enablement API, V2.1.1'
Walter Featherstone's avatar
Walter Featherstone committed
    https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf
Walter Featherstone's avatar
Walter Featherstone committed
  - name: appTrafficRules
  - name: appDnsRules
  - name: appSubscriptions
  - name: appConfirmTermination
  - name: appConfirmReady
  - name: timing
  - name: callbacks
Walter Featherstone's avatar
Walter Featherstone committed
  '/applications/{appInstanceId}/traffic_rules':
    parameters:
      - $ref: '#/components/parameters/Path.AppInstanceId'
    get:
      description: >-
        This method retrieves information about all the traffic rules associated
        with a MEC application instance.
      operationId: ApplicationsTrafficRules_GET
      tags:
        - appTrafficRules
      responses:
        '200':
          $ref: '#/components/responses/ApplicationsTrafficRules.200'
        '400':
          $ref: '#/components/responses/Error.400'
        '403':
          $ref: '#/components/responses/Error.403'
        '404':
          $ref: '#/components/responses/Error.404'
  '/applications/{appInstanceId}/traffic_rules/{trafficRuleId}':
    parameters:
      - $ref: '#/components/parameters/Path.AppInstanceId'
      - $ref: '#/components/parameters/Path.TrafficRuleId'
    get:
      description: >-
        This method retrieves information about all the traffic rules associated
        with a MEC application instance.
      operationId: ApplicationsTrafficRule_GET
      tags:
        - appTrafficRules
      responses:
        '200':
          $ref: '#/components/responses/ApplicationsTrafficRule.200'
        '400':
          $ref: '#/components/responses/Error.400'
        '403':
          $ref: '#/components/responses/Error.403'
        '404':
          $ref: '#/components/responses/Error.404'
    put:
      description: >-
        This method retrieves information about all the traffic rules associated
        with a MEC application instance.
      operationId: ApplicationsTrafficRule_PUT
      tags:
        - appTrafficRules
      responses:
        '200':
          $ref: '#/components/responses/ApplicationsTrafficRule.200'
        '400':
          $ref: '#/components/responses/Error.400'
        '403':
          $ref: '#/components/responses/Error.403'
        '404':
          $ref: '#/components/responses/Error.404'
        '412':
          $ref: '#/components/responses/Error.412'
      requestBody:
        $ref: '#/components/requestBodies/ApplicationsTrafficRule'
  '/applications/{appInstanceId}/dns_rules':
      - $ref: '#/components/parameters/Path.AppInstanceId'
      description: >-
        This method retrieves information about all the DNS rules associated
Walter Featherstone's avatar
Walter Featherstone committed
        with a MEC application instance.
      operationId: ApplicationsDnsRules_GET
Walter Featherstone's avatar
Walter Featherstone committed
        - appDnsRules
      responses:
        '200':
          $ref: '#/components/responses/ApplicationsDnsRules.200'
  '/applications/{appInstanceId}/dns_rules/{dnsRuleId}':
      - $ref: '#/components/parameters/Path.AppInstanceId'
      - $ref: '#/components/parameters/Path.DnsRuleId'
      description: >-
        This method retrieves information about a DNS rule associated with a
Walter Featherstone's avatar
Walter Featherstone committed
        MEC application instance.
      operationId: ApplicationsDnsRule_GET
Walter Featherstone's avatar
Walter Featherstone committed
        - appDnsRules
      responses:
        '200':
          $ref: '#/components/responses/ApplicationsDnsRule.200'
    put:
      description: 'This method activates, de-activates or updates a traffic rule.'
      operationId: ApplicationsDnsRule_PUT
Walter Featherstone's avatar
Walter Featherstone committed
        - appDnsRules
      responses:
        '200':
          $ref: '#/components/responses/ApplicationsDnsRule.200'
          $ref: '#/components/responses/Error.412'
      requestBody:
          $ref: '#/components/requestBodies/ApplicationsDnsRule'
  '/applications/{appInstanceId}/subscriptions':
      - $ref: '#/components/parameters/Path.AppInstanceId'
      description: >-
        The GET method may be used to request information about all
        subscriptions for this requestor. Upon success, the response contains
        entity body with all the subscriptions for the requestor.
      operationId: ApplicationsSubscriptions_GET
Walter Featherstone's avatar
Walter Featherstone committed
        - appSubscriptions
      responses:
        '200':
          $ref: '#/components/responses/ApplicationsSubscriptions.200'
      description: >-
        The POST method may be used to create a new subscription. One example
Walter Featherstone's avatar
Walter Featherstone committed
        use case is to create a new subscription to the MEC service
        availability notifications. Upon success, the response contains entity
        body describing the created subscription.
      operationId: ApplicationsSubscriptions_POST
Walter Featherstone's avatar
Walter Featherstone committed
        - appSubscriptions
      responses:
          $ref: '#/components/responses/ApplicationsSubscriptions.201'
          $ref: '#/components/responses/Error.404'
      requestBody:
        $ref: '#/components/requestBodies/ApplicationsSubscriptions'
      callbacks:
        appTerminationNotification:
          $ref: '#/components/callbacks/AppTerminationNotification'
Walter Featherstone's avatar
Walter Featherstone committed
  '/applications/{appInstanceId}/subscriptions/{subscriptionId}':
      - $ref: '#/components/parameters/Path.AppInstanceId'
      - $ref: '#/components/parameters/Path.SubscriptionId'
      description: >-
        The GET method requests information about a subscription for this
        requestor. Upon success, the response contains entity body with the
        subscription for the requestor.
      operationId: ApplicationsSubscription_GET
Walter Featherstone's avatar
Walter Featherstone committed
        - appSubscriptions
      responses:
        '200':
          $ref: '#/components/responses/ApplicationsSubscription.200'
Loading full blame...