Details
-
Type:
Task
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Summer 2, Summer 3, Summer 5, Summer 6
Description
When using the search field in Bioviz Connect, the user gets logged out after showing the ouroboros loading symbol for a few seconds. Cyverse Search APIs returns a 200 OK on Postman.
The response JSON from the search API request has been changed by Cyverse. After the user searches for something, we need to list all the files and folders with name similar to the search key. We also need to group it as folders and files and for that we use the document type value in the response JSON. Before, this value had the key, '_type', now, 'doc_type'. Secondly, the position of this key-value pair has changed.
# Before: response_json['hits'][0]['_type'] ## where the response_json, as the name suggests, is the response we get. 'hits' is the key for the list in that json with all the folders and files listed. # Now its changed to response_json['hits'][0]['_source']['doc_type']See commit