Table Of Contents

Previous topic

Similar target | POST /similar/

Next topic

Search The Target | POST Client-end-URL/search/

Modify target | PUT /target/<target_id>

Modify target.


PUT /target/<target_id>



Request parameters

Field Type Required Description
image String(base64 encoded) No base64(image),jpg and png are supported
active String No “1” is active,”0” is inactive。 Default is “1”
name String No Target Name. ASCII character, numbers and punctuation can be supported, and characters length is limited between 1 and 64
size String(Float) No Width of target image ( cm )。The hight( or length) of the image will be computed by system. Help mapping the virtual object to target image
meta String No Custemized info, base64 encoded. </br> Important Note: the value can be empty but required. Default is 20
allowSimilar String No Force to add image if similar targets exist

Response fields

Same as POST /targets/



PUT /target/e61db301-e80f-4025-b822-9a00eb48d8d2 HTTP/1.1
Date: Mon, 1 Jan 2018 00:00:00 GMT
Content-Type: application/json
    "timestamp": 1514736000000,
    "appKey": "test_app_key",
    "signature": "89985e2420899196db5bdf16b3c2ed0922c0c221"


HTTP/1.1 200 OK
Content-Type: application/json
    "statusCode": 0,
    "result": {
        "name": "easyar",
        "size": "5",
        "meta": "496fbbabc2b38ecs3460a...",
        "type": "ImageTarget",
        "date": "2016-06-15T09:56:30.000Z",
        "trackableRate": 0,
        "detectableRate": 0,
        "detectableFeatureCount", 0,
        "trackableDistinctiveness", 0,
        "trackableFeatureCount", 0,
        "trackableFeatureDistribution", 0,
        "trackablePatchContrast", 0,
        "trackablePatchAmbiguity", 0
    "timestamp": 1514736000000