Start a new topic

Problem with Create Object Targets

Hello,

I tried to use yours endpoint in swagger API:

 

https://www.wikitude.com/external/doc/documentation/studio-api/#/ObjectTarget/post_objectTargetCollection__tcId__targets 


and send request to

 

https://api-eu.wikitude.com/cloudrecognition/objectTargetCollection/5e8d9e2e8263237594d27271/targets

 

to create a target in the object collection with the following JSON:

 

 

[
  {
    "name": "Test room",
    "resource": {
      "uri": "http://44bd43b7.eu.ngrok.io/augment/5e8d9e2d8337e317885806f3/5e8d9e798337e317885806f4/4b1c4547-f884-42fb-82da-86815b68c18c.jpg",
      "fov": 64
    },
    "metadata": {
      "fileName": "4b1c4547-f884-42fb-82da-86815b68c18c.jpg"
    }
  },
  {
    "name": "Test room",
    "resource": {
      "uri": "http://44bd43b7.eu.ngrok.io/augment/5e8d9e2d8337e317885806f3/5e8d9e798337e317885806f4/da7f4395-ae14-4622-b57d-41e625dd7c21.jpg",
      "fov": 64
    },
    "metadata": {
      "fileName": "da7f4395-ae14-4622-b57d-41e625dd7c21.jpg"
    }
  }
]

  

 

 

and I received the following response:

 

 

 

{

  "inputParams": {

    "objectTargets": [

      {

        "metadata": {

          "fileName": "4b1c4547-f884-42fb-82da-86815b68c18c.jpg"

        },

        "resource": {

          "fov": 64,

          "uri": "http://44bd43b7.eu.ngrok.io/augment/5e8d9e2d8337e317885806f3/5e8d9e798337e317885806f4/4b1c4547-f884-42fb-82da-86815b68c18c.jpg"

        },

        "name": "Test room"

      },

      {

        "metadata": {

          "fileName": "da7f4395-ae14-4622-b57d-41e625dd7c21.jpg"

        },

        "resource": {

          "fov": 64,

          "uri": "http://44bd43b7.eu.ngrok.io/augment/5e8d9e2d8337e317885806f3/5e8d9e798337e317885806f4/da7f4395-ae14-4622-b57d-41e625dd7c21.jpg"

        },

        "name": "Test room"

      }

    ]

  },

  "estimatedStart": 1586416242090,

  "estimatedEnd": 1586416247090,

  "estimatedLatency": 5000,

  "status": "SCHEDULED",

  "generationId": "H1WO_cH3DL",

  "created": 1586416240090

}


 


but there is no target object created in the collection.

 

Could you please check if this endpoint works correctly or I'm doing something wrong?

 

Thank you

Gyuner Zeki


Hi Gyner,


As we already have a support ticket open for you and this request, I'd like to ask you to stick to support ticket. I've answered the your question there already.


If you haven't received my feedback, please let me know (pls also check the spam if it landed there).


Thx and greetings

Nicola

Hi Nicola,


I didn't find any mail, including in spam folder, for this ticket and I thought you didn't get my report and wrote here. Can you send me please some link to this ticket, here or by email? This is big blocker for me. Sorry for bother you.


Reegards,
Gyuner Zeki

Login or Signup to post a comment