Details
-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
Description
Sometimes it happens that api does not provide rest call for item detail, and returns array of objects in the rest response. In such case, it's not possible to use detail sub app because item provider we use is not aware of arrays of objects.
Example response that cannot be viewed in the detail sub app:
[
{
"health" : "yellow",
"status" : "open",
"index" : "stories",
"uuid" : "J3W547IFT26j2_K9L3NUAQ",
"pri" : "1",
"rep" : "1",
"docs.count" : "1",
"docs.deleted" : "0",
"store.size" : "76.1kb",
"pri.store.size" : "76.1kb"
},
{
"health" : "yellow",
"status" : "open",
"index" : "comments",
"uuid" : "VOvMBq-ZSKeg_eLyiJxjCA",
"pri" : "5",
"rep" : "1",
"docs.count" : "7",
"docs.deleted" : "0",
"store.size" : "30kb",
"pri.store.size" : "30kb"
},
{
"health" : "green",
"status" : "open",
"index" : ".kibana_1",
"uuid" : "K8tZCA61R_WYZlYm71NaAA",
"pri" : "1",
"rep" : "0",
"docs.count" : "2",
"docs.deleted" : "0",
"store.size" : "14.5kb",
"pri.store.size" : "14.5kb"
},
{
"health" : "yellow",
"status" : "open",
"index" : "products",
"uuid" : "Z6cYofKHRNK0_Z0DpfMViA",
"pri" : "1",
"rep" : "1",
"docs.count" : "67",
"docs.deleted" : "0",
"store.size" : "150.6kb",
"pri.store.size" : "150.6kb"
},
{
"health" : "yellow",
"status" : "open",
"index" : "pages",
"uuid" : "SLRkGQZHSNC2GD3Z4jxMcg",
"pri" : "1",
"rep" : "1",
"docs.count" : "2414",
"docs.deleted" : "0",
"store.size" : "1.5mb",
"pri.store.size" : "1.5mb"
},
{
"health" : "yellow",
"status" : "open",
"index" : "pages-edouardo",
"uuid" : "-P-r4zDcTPS5XCoCWYKokw",
"pri" : "1",
"rep" : "1",
"docs.count" : "21",
"docs.deleted" : "0",
"store.size" : "44.5kb",
"pri.store.size" : "44.5kb"
},
{
"health" : "yellow",
"status" : "open",
"index" : "movies-search",
"uuid" : "8OVKIjWsQH6kNMAxMgkQRA",
"pri" : "5",
"rep" : "1",
"docs.count" : "920",
"docs.deleted" : "0",
"store.size" : "1.2mb",
"pri.store.size" : "1.2mb"
},
{
"health" : "yellow",
"status" : "open",
"index" : "contacts",
"uuid" : "Mem_5mJuRJ-VWduJ7xDiFA",
"pri" : "1",
"rep" : "1",
"docs.count" : "10",
"docs.deleted" : "0",
"store.size" : "37.8kb",
"pri.store.size" : "37.8kb"
},
{
"health" : "yellow",
"status" : "open",
"index" : "logstash-2019.03.06",
"uuid" : "_ZzL7gHbRYOE7nBYDRYpXg",
"pri" : "5",
"rep" : "1",
"docs.count" : "0",
"docs.deleted" : "0",
"store.size" : "1.2kb",
"pri.store.size" : "1.2kb"
}
]
Checklists
Acceptance criteria