Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1832

Create endpoints and models to consume Retrieve MetaData API

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      1) Go through the Terrain API Documentation
      2) Implement Retrieve MetaData api under MetaData section.
      3) Create Models for request and response
      4) Create Endpoint to call the api and use the models to return the response

        Attachments

          Issue Links

            Activity

            Hide
            chaitanya Chaitanya Kintali (Inactive) added a comment - - edited

            Sample response:

            [

            {"attr": "New attribute 1", "value": "1", "unit": "integratedGenomeBrowser"}

            ]

            Only the unit with value "integratedGenomeBrowser" are returned in the list of response.

            Pull request link:
            https://bitbucket.org/nfreese/django-cyversedev/pull-requests/22/add-models-endpoints-to-consume-the/diff

            Show
            chaitanya Chaitanya Kintali (Inactive) added a comment - - edited Sample response: [ {"attr": "New attribute 1", "value": "1", "unit": "integratedGenomeBrowser"} ] Only the unit with value "integratedGenomeBrowser" are returned in the list of response. Pull request link: https://bitbucket.org/nfreese/django-cyversedev/pull-requests/22/add-models-endpoints-to-consume-the/diff
            Hide
            pbole Pawan Bole (Inactive) added a comment -

            The response is as expected and the parsing done after filtering as per IGB requirements is as follows:
            '{"irods_avus": [], "avus": [

            {"attr": "genome", "value": "H_sapiens_Dec_2013", "unit": "integratedGenomeBrowser", "id": "26797b76-7e46-11e9-a798-008cfa5ae621", "target_id": "ee009774-7739-11e9-b309-000e1e0af2dc", "modified_by": "nowlanf"}

            ]}'

            Marking this task to done

            Show
            pbole Pawan Bole (Inactive) added a comment - The response is as expected and the parsing done after filtering as per IGB requirements is as follows: '{"irods_avus": [], "avus": [ {"attr": "genome", "value": "H_sapiens_Dec_2013", "unit": "integratedGenomeBrowser", "id": "26797b76-7e46-11e9-a798-008cfa5ae621", "target_id": "ee009774-7739-11e9-b309-000e1e0af2dc", "modified_by": "nowlanf"} ]}' Marking this task to done

              People

              • Assignee:
                chaitanya Chaitanya Kintali (Inactive)
                Reporter:
                chaitanya Chaitanya Kintali (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: