Talk:Wikidata/Development/wbsearchentity

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Current JSON[edit]

Current form as exported by the half-done module. — Jeblad 13:47, 16 October 2012 (UTC)Reply[reply]

{
	"searchinfo": {
		"totalhits": 2
	},
	"search": [
		{
			"score": 0.9,
			"id": 1,
			"labels": {
				"en": {
					"language": "en",
					"value": "Foo"
				}
			},
			"descriptions": {
				"en": {
					"language": "en",
					"value": "Some description about Foo"
				}
			}
		},
		{
			"score": 0.8,
			"id": 2,
			"labels": {
				"en": {
					"language": "en",
					"value": "Bar"
				}
			},
			"descriptions": {
				"en": {
					"language": "en",
					"value": "Some description about Bar"
				}
			}
		}
	],
	"success": 1,
}