GET get_search_metadata

Retrieve the metadata tree structure that can be searched. For each metadata keyword retrieved display the children’s data type and the number of images from the index containing that keyword.

Resource URL

https://multicolorengine.tineye.com/<company>/rest/get_search_metadata/

Parameters

There are only the Common parameters.

Request example

curl https://multicolorengine.tineye.com/<company>/rest/get_search_metadata/

Response example

JSON

{
    "status": "ok",
    "error": [],
    "method": "get_search_metadata",
    "result": [
        {
            "metadata": {
                "keywords": {
                    "count": "4",
                    "type": "string",
                    "": {
                       "dog": {
                            "count": "1",
                            "": null
                        },
                        "cat": {
                            "count": "1",
                            "": null
                        },
                        "horse": {
                            "count": "1",
                            "": null
                        },
                        "lion": {
                            "count": "1",
                            "": null
                        }
                        "jaguar": {
                            "count": "1",
                            "": null
                        },
                        "cheetah": {
                            "count": "1",
                            "": null
                        },
                        "whale": {
                            "count": "2",
                            "": null
                        },
                        "shark": {
                            "count": "2",
                            "": null
                        },
                        "octopus": {
                            "count": "1",
                            "": null
                        },
                        "dolphin": {
                            "count": "1",
                            "": null
                        }
                    }
                }
            }
        }
    ]
}

XML

<?xml version="1.0" encoding="utf-8"?>
<data>
    <error/>
    <method>get_search_metadata</method>
    <result>
        <item>
            <metadata>
                <keywords count="4" type="string">
                    <dog count="1"/>
                    <cat count="1"/>
                    <horse count="1"/>
                    <lion count="1"/>
                    <jaguar count="1"/>
                    <cheetah count="1"/>
                    <whale count="2"/>
                    <shark count="2"/>
                    <octopus count="1"/>
                    <dolphin count="1"/>
                </keywords>
            </metadata>
        </item>
    </result>
    <status>ok</status>
</data>