/api/recon

Make an API call to the REPLICATE reconstruction server

This API effectively mirrors reconstruction server functionality.
(TEMP: calls are made with Content Server rights)



Get
/api/recon
Returns a list of Reconstruction server commands which can be issued

Example response:
{
    

"cmd"

: [
        

"asset3d"

,

"device"

,

"images"

,

"scene"

,

"reconstruction"

,

"view"

,

"recview"

,

"constraint"

,

"recserver"

,

"users"


    ]
}




Get
/api/recon/cmd=users
Get list of Reconstruction server users




Get
/api/recon/cmd=scene
Get list of scenes

For each scene, a description, id, and user information is provided.

Example response:
{
    

"scene"

: [
        {
            

"archived"

: true,
            

"created"

:

"Mon, 28 Nov 2016 10:01:17 -0000"

,
            

"description"

:

"tev model"

,
            

"id"

: 11,
            

"profileimage"

: {
                

"id"

: 0,
                

"thumb"

: null
            },
            

"user"

: {
                

"id"

: 2,
                

"name"

:

"Fabio Poiesi"


            }
        }
    ]
}



Get
/api/recon/cmd=reconstruction&id={id}
Get reconstructions for a scene. The id of scene must be provided

The list of reconstructions is returned.

The lastest reconstruction is normally the last in the list.

Example response:
{
    

"reconstructions"

: [
        {
            

"created"

:

"Mon, 05 Dec 2016 08:56:11 -0000"

,
            

"id"

: 195,
            

"parentid"

: 0,
            

"scene"

: {
                

"description"

:

"Fountain (215Kb)"

,
                

"id"

: 25
            },
            

"url"

:

"/asset/reconstruction/8ebf255f2e10c498cf97c77641975f8dd3c091fbf1bb54314c9040681ff6f73c"


        }
    ]
}

The asset URL given in the JSON is without extension.
You must add .ply or .nvm to the asset URL.

Thus thus full URL of the above asset is:
(It can be seen to be an empty ASCII PLY file)


https://replicate.vision.ee.ethz.ch/asset/reconstruction/8ebf255f2e10c498cf97c77641975f8dd3c091fbf1bb54314c9040681ff6f73c.ply