description:API ensuring interoperability between Scene Management and a World Analysis service
license:
name:BSD-3-clause
url:https://opensource.org/licenses/BSD-3-Clause
servers:
-url:http://localhost:8080
tags:
-name:default
description:Default operations to test the current server's state
-name :Pose
description :Operations to retrieve poses of AR devices, Trackables and WorldAnchors
paths:
/ping:
get:
summary:Test the server availability.
operationId:getPing
responses:
'200':
description:Ok, returns a string message.
content:
text/plain:
schema:
type:string
example:"pong"
/admin:
get:
summary:Get the state of the server.
operationId:getAdmin
responses:
'200':
description:OK, world storage server ready.
content:
text/plain:
schema:
type:string
example:"Serverupandrunning"
/version:
get:
summary:Get the version of the ARF API.
operationId:getVersion
responses:
'200':
description:Current version.
content:
text/plain:
schema:
type:string
example:"1.0.0"
/pose:
post:
summary:Request the pose of an AR device and/or one or several Trackables and WorldAnchors
operationId:RequestPose
description:Operation to retrieve the pose of an AR device in relation to a WorldAnchor or a Trackable (AR device pose), or conversely a Trackable or WorldAnchor in relation to the AR device (object pose).
tags:
-Pose
parameters:
-in:header
name:token
schema:
$ref:'#/components/schemas/Token'
requestBody:
required:true
content:
application/json:
schema:
properties:
uuids:
description:List of pairs consisting of UUIDs of requested WorldAnchor or Trackables and a boolean representing the context of the requested information
type:array
uniqueItems:true
items:
type:object
properties:
uuid:
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
responses:
'200':
description:Successful operation.
content:
application/json:
schema:
type:object
properties:
RelocInfo:
type:array
items:
$ref:'#/components/schemas/EstimatedPose'
'400':
$ref:'#/components/responses/400_InvalidUUID'
'404':
$ref:'#/components/responses/404_NotFoundUUID'
'default':
$ref:'#/components/responses/4xx_UnexpectedError'
/pose/config:
post:
summary:Specify the a minimum frame rate for pose estimation for Trackable types
operationId:setPoseConfig
description:Operation to set the minimum frame rate for pose estimation required for the different Trackable Types
tags:
-Pose
parameters:
-in:header
name:token
schema:
$ref:'#/components/schemas/Token'
requestBody:
required:true
content:
application/json:
schema:
type:object
properties:
PoseConfig:
type:array
items:
$ref:'#/components/schemas/PoseConfigItem'
responses:
'200':
description:Successful operation.
content:
application/json:
schema:
type:object
properties:
PoseConfig:
type:array
items:
$ref:'#/components/schemas/PoseConfigItem'
# same object type in answer : return PoseConfigItem for a given Trackable Type if supported with the minimum frame rate required the or the maximum frame rate that the World Analysis can reach
'default':
$ref:'#/components/responses/4xx_UnexpectedError'
/capabilities:
get:
summary:Get the capabilities of the World Analysis
operationId:getCapabilities
description:Operation to retrieve information the capabilities of the World Analysis for pose estimation ( (e.g. frame rate, latency, accuracy or Trackable types supported for the pose estimation)