Commit 1dde5264 authored by jinghh's avatar jinghh
Browse files

Edit TS29369_Nadm_DM.yaml

parent d3a2c02a
Loading
Loading
Loading
Loading
Loading
+135 −24
Original line number Diff line number Diff line
@@ -151,6 +151,88 @@ paths:
          $ref: 'TS29571_CommonData.yaml#/components/responses/503'
        default:
          description: Unexpected error
      callbacks:
        AiotfDeregistrationNotification:
          '{$request.body#/lastKnownAiotfInfo/deregCallbackUri}':
            post:
              requestBody:
                required: true
                content:
                  application/json:
                    schema:
                      $ref: '#/components/schemas/AiotfDeregistrationData'
              responses:
                '204':
                  description: Successful Notification response
                '307':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/307'
                '308':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/308'
                '400':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/400'
                '401':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/401'
                '403':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/403'
                '404':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/404'
                '411':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/411'
                '413':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/413'
                '415':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/415'
                '429':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/429'
                '500':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/500'
                '502':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/502'
                '503':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/503'
                default:
                  description: Unexpected error
      callbacks:
        TargetAfInfoNotification:
          '{$request.body#/lastKnownAiotfInfo/afInfoNotifyUri}':
            post:
              requestBody:
                required: true
                content:
                  application/json:
                    schema:
                      $ref: '#/components/schemas/UpdatedTargetAfInfo'
              responses:
                '204':
                  description: Successful Notification response
                '307':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/307'
                '308':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/308'
                '400':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/400'
                '401':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/401'
                '403':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/403'
                '404':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/404'
                '411':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/411'
                '413':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/413'
                '415':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/415'
                '429':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/429'
                '500':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/500'
                '502':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/502'
                '503':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/503'
                default:
                  description: Unexpected error

  /aiot-device-profile-data:
    get:
@@ -561,10 +643,15 @@ components:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/AiotDevPermId'
        lastKnownAiotfInfo:
          $ref: '#/components/schemas/LastKnownAiotfInfo'
        tidCurrent:
          $ref: '#/components/schemas/Tid'
        tidHandlingInformation:
          $ref: '#/components/schemas/TidHandlingInformation'
        doaCapableDevice:
          type: boolean
          default: false
        subscribedAfInfo:
          $ref: '#/components/schemas/TargetAfInfo'
        deregCallbackUri:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
        afInfoNotifyUri:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'

    LastKnownAiotfInfo:
      description: Contains the Last Known AIoTF Info.
@@ -662,6 +749,45 @@ components:
        notifyCorrelationId:
          type: string

    TargetAfInfo:
      description: >
        The information of a target AF which has subscribed to receive the data
        from DO-A capable AIoT device.
      type: object
      required:
        - afId
        - dataRecvUri
      properties:
        afId:
          $ref: '#/components/schemas/AfId'
        dataRecvUri:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
        afAddr:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/IpAddr'

    AiotfDeregistrationData:
      description: >
        This datatype is supported by the POST HTTP method, and it includes the
        AIOTF deregistration data.
      type: object
      required:
        - aiotDevPermId
      properties:
        aiotDevPermId:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/AiotDevPermId'
        cause:
          $ref: '#/components/schemas/Cause'

    UpdatedTargetAfInfo:
      description: Indicate the AF address or AF ID.
     required:
        - aiotDevPermId
      properties:
        aiotDevPermId:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/AiotDevPermId'
        targetAfInfo:
            $ref: '#/components/schemas/TargetAfInfo'

#
# SIMPLE TYPES
#
@@ -670,22 +796,6 @@ components:
      description: Indicates the identifier used to identify the AF.
      type: string

    Tid:
      description: Temporary Identifier of the AIoT device.
      type: string
      pattern: '^[A-Fa-f0-9]{32}$'


    TidHandlingInformation:
      description: Contains the T-ID handling information
      type: object
      required:
        - tidType
      properties:
        tidType:
          $ref: '#/components/schemas/TidType'
        tidHandlingInformation:
          type: boolean

    AiotDevProfileDataList:
      description: AIoT Device Profile Data of a list of AIoT devices.
@@ -715,11 +825,12 @@ components:
            - PERMANENT_DISABLE
        - type: string

    TidType:
      description: Indicates the type of T-ID.
    Cause:
      description: Indicates the cause.
      anyOf:
        - type: string
          enum:
            - STORED
            - CONCEALED
            - OPERATIONAL
            - CHANGE_OF_AIOTF
        - type: string