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

update WorldStorageAPI : relocalizationInformation request switched to GET and...

update WorldStorageAPI : relocalizationInformation request switched to GET and change type and name of deviceToWorldAnchor (need to update values of ENUM)
parent 0925684a
Loading
Loading
Loading
Loading
+32 −30
Original line number Diff line number Diff line
@@ -92,14 +92,11 @@ paths:
          name: token
          schema:
            $ref: '#/components/schemas/Token'
      requestBody:
        - in: path
          name: uuids
          description: List of pairs consisting of UUIDs of requested World Anchors  or Trackables and a mode representing the context of the requested information
          required: true
          content:
            application/json:
          schema:
                properties:
                  uuids:
                    description: List of pairs consisting of UUIDs of requested World Anchors  or Trackables and a boolean representing the context of the requested information
              type: array
              uniqueItems: true
              items:
@@ -109,13 +106,15 @@ paths:
                    type: string
                    format: uuid
                    example: "fa8bbe40-8052-11ec-a8a3-0242ac120002"
                        deviceToWorldAnchor:
                          description: a boolean representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
                          type: boolean
                          example: false
                  mode:
                    description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
                    $ref: '#/components/schemas/Mode'

                  capabilities:
        - in: path
          name: capabilities
          description: the list of all trackables and his encoding structure associated representing the supported data of the User
          required: true
          schema:
            type: array
            items:
              $ref: '#/components/schemas/Capability'
@@ -672,12 +671,15 @@ components:
                $ref : '#/components/schemas/Trackable'
              Transform3D:
                $ref : '#/components/schemas/Transform3D'
        deviceToWorldAnchor:
          description: a boolean representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
          type: boolean
          example: false
        
              mode:
                description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
                $ref: '#/components/schemas/Mode'
        
    Mode:
      description: Mode representing the context of the relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
      type: string
      enum: [DEVICE_TO_TRACKABLE_OR_ANCHOR, TRACKABLE_OR_ANCHOR_TO_DEVICE]
      example: DEVICE_TO_TRACKABLE_OR_ANCHOR    
      
    Trackable:
      description: An element representing a Trackable object in the real world.