Commit 509b9bab authored by Hugo Kreber's avatar Hugo Kreber Committed by Jérémy Lacoche
Browse files

creating a different mode for worldStorage and worldAnalysis

parent f2df08e1
Loading
Loading
Loading
Loading
+7 −1
Original line number Original line Diff line number Diff line
@@ -13,7 +13,13 @@
    #-------------------------------
    #-------------------------------
    schemas:
    schemas:


        Mode:
        Mode_WorldAnalysis:
          description: Mode representing the context of the relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
          type: string
          enum: [TRACKABLES_TO_DEVICE, DEVICE_TO_TRACKABLES]
          example: TRACKABLES_TO_DEVICE
        
        Mode_WorldStorage:
          description: Mode representing the context of the relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
          description: Mode representing the context of the relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
          type: string
          type: string
          enum: [TRACKABLES_TO_REQUEST, REQUEST_TO_TRACKABLES]
          enum: [TRACKABLES_TO_REQUEST, REQUEST_TO_TRACKABLES]
+7 −7
Original line number Original line Diff line number Diff line
@@ -116,7 +116,7 @@ paths:
        description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
        description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
        required: true
        required: true
        schema:
        schema:
          $ref: '../common/commonopenapi.yaml#/components/schemas/Mode'
          $ref: '../common/commonopenapi.yaml#/components/schemas/Mode_WorldAnalysis'
      responses: 
      responses: 
        '200':
        '200':
          description: Successful operation.
          description: Successful operation.
@@ -166,7 +166,7 @@ paths:
        description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
        description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
        required: true
        required: true
        schema:
        schema:
          $ref: '../common/commonopenapi.yaml#/components/schemas/Mode'
          $ref: '../common/commonopenapi.yaml#/components/schemas/Mode_WorldAnalysis'
      responses: 
      responses: 
        '200':
        '200':
          description: Successful operation.
          description: Successful operation.
@@ -312,7 +312,7 @@ paths:
                properties:
                properties:
                  mode:
                  mode:
                    description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
                    description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
                    $ref: '../common/commonopenapi.yaml#/components/schemas/Mode'
                    $ref: '../common/commonopenapi.yaml#/components/schemas/Mode_WorldAnalysis'
                  validity: 
                  validity: 
                    description: Subscription validity delay in millisecond 
                    description: Subscription validity delay in millisecond 
                    type: integer
                    type: integer
@@ -484,7 +484,7 @@ components:
            example : 50.00
            example : 50.00
          mode:
          mode:
            description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
            description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
            $ref: '../common/commonopenapi.yaml#/components/schemas/Mode'
            $ref: '../common/commonopenapi.yaml#/components/schemas/Mode_WorldAnalysis'
          value:
          value:
            description: The pose value
            description: The pose value
            oneOf:
            oneOf:
@@ -583,7 +583,7 @@ components:
            example: [ "fa8bbe40-8052-11ec-a8a3-0242ac120002", "fa8bbe40-8052-11ec-a8a3-0242ac120003"]
            example: [ "fa8bbe40-8052-11ec-a8a3-0242ac120002", "fa8bbe40-8052-11ec-a8a3-0242ac120003"]
          mode:
          mode:
            description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
            description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
            $ref: '../common/commonopenapi.yaml#/components/schemas/Mode'
            $ref: '../common/commonopenapi.yaml#/components/schemas/Mode_WorldAnalysis'
          validity: 
          validity: 
            description: Subscription validity delay in millisecond 
            description: Subscription validity delay in millisecond 
            type: integer
            type: integer
@@ -609,7 +609,7 @@ components:
            example: [ "fa8bbe40-8052-11ec-a8a3-0242ac120002", "fa8bbe40-8052-11ec-a8a3-0242ac120003"]
            example: [ "fa8bbe40-8052-11ec-a8a3-0242ac120002", "fa8bbe40-8052-11ec-a8a3-0242ac120003"]
          mode:
          mode:
            description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
            description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
            $ref: '../common/commonopenapi.yaml#/components/schemas/Mode'
            $ref: '../common/commonopenapi.yaml#/components/schemas/Mode_WorldAnalysis'
          validity: 
          validity: 
            description: Subscription validity delay in millisecond 
            description: Subscription validity delay in millisecond 
            type: integer
            type: integer
@@ -638,7 +638,7 @@ components:
            example: "fa8bbe40-8052-11ec-a8a3-0242ac120002"
            example: "fa8bbe40-8052-11ec-a8a3-0242ac120002"
          mode:
          mode:
            description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
            description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
            $ref: '../common/commonopenapi.yaml#/components/schemas/Mode'
            $ref: '../common/commonopenapi.yaml#/components/schemas/Mode_WorldAnalysis'
          validity:
          validity:
            type: integer
            type: integer
            example: 20000
            example: 20000
+2 −2
Original line number Original line Diff line number Diff line
@@ -107,7 +107,7 @@ paths:
                    format: uuid
                    format: uuid
                    example: "fa8bbe40-8052-11ec-a8a3-0242ac120002"
                    example: "fa8bbe40-8052-11ec-a8a3-0242ac120002"
                  mode:
                  mode:
                    $ref: '../common/commonopenapi.yaml#/components/schemas/Mode'
                    $ref: '../common/commonopenapi.yaml#/components/schemas/Mode_WorldStorage'


        - in: header
        - in: header
          name: capabilities
          name: capabilities
@@ -668,7 +668,7 @@ components:
                    Transform3D:
                    Transform3D:
                      $ref : '../common/commonopenapi.yaml#/components/schemas/Transform3D'
                      $ref : '../common/commonopenapi.yaml#/components/schemas/Transform3D'
                    mode:
                    mode:
                      $ref: '#/components/schemas/Mode'
                      $ref: '#/components/schemas/Mode_WorldStorage'


        Trackable:
        Trackable:
          description: An element representing a Trackable object in the real world.
          description: An element representing a Trackable object in the real world.